Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: astral-sh/uv
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.4.2
Choose a base ref
...
head repository: astral-sh/uv
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.4.3
Choose a head ref
  • 11 commits
  • 58 files changed
  • 4 contributors

Commits on Sep 1, 2024

  1. fix: replace std::fs::canonicalize with Simplified::simple_canonicali…

    …z… (#6776)
    
    ## Summary
    This PR addresses an issue on Windows where `std::fs::canonicalize` can
    fail or panic when resolving paths on mapped network drives. By
    replacing it with `Simplified::simple_canonicalize`, we aim to improve
    the robustness and cross-platform compatibility of path resolution.
    
    ### Changes
    * Updated `CANONICAL_CWD` in `path.rs` to use
    `Simplified::simple_canonicalize` instead of `std::fs::canonicalize`.
    
    ### Why
    * `std::fs::canonicalize` has known issues with resolving paths on
    mapped network drives on Windows, which can lead to panics or incorrect
    path resolution.
    * `Simplified::simple_canonicalize` internally uses
    `dunce::canonicalize`, which handles these cases more gracefully,
    ensuring better stability and reliability.
    
    ## Test Plan
    Since `simple_canonicalize` has already been tested in a prior PR, this
    change is expected to work without introducing any new issues. No
    additional tests are necessary beyond ensuring existing tests pass,
    which will confirm the correctness of the change.
    cning112 authored Sep 1, 2024
    Configuration menu
    Copy the full SHA
    ae3f35c View commit details
    Browse the repository at this point in the history
  2. Remove canonicalize calls (#6919)

    ## Summary
    
    A few of these should use `absolute` instead of `canonicalize`; and
    apparently we no longer need to strip the `CANONICAL_CWD` to get tests
    passing.
    charliermarsh authored Sep 1, 2024
    Configuration menu
    Copy the full SHA
    7e6df8f View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Avoid panic with missing temporary directory (#6929)

    Forward an error for missing temp directories:
    
    ```
    $ env TMPDIR=.tmp uv-debug pip install httpx
      error: No such file or directory (os error 2) at path "/home/konsti/projects/uv/.tmp/.tmpgIBhhh"
    ```
    
    Fixes #6878
    konstin authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    9edf2d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9319319 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea0a0db View commit details
    Browse the repository at this point in the history
  4. Add source distribution support to uv-build crate (#6896)

    ## Summary
    
    Just exposes the correct PEP 517 hooks.
    charliermarsh authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    42a4d80 View commit details
    Browse the repository at this point in the history
  5. Avoid updating incorrect dependencies for sorted uv add (#6939)

    ## Summary
    
    The indexes stored in the edits is wrong now that we add dependencies
    out-of-order.
    
    Closes #6933.
    charliermarsh authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    cbe2827 View commit details
    Browse the repository at this point in the history
  6. Use lower-bound semantics for all Python compatibility comparisons (#…

    …6882)
    
    ## Summary
    
    Right now, we have slightly different `requires-python` semantics for
    `-p 3.11` vs. `-p 3.11 --universal`, and slightly different (wrong)
    semantics for how we compare against the _installed_ Python version
    (which doesn't ignore upper bounds, but should).
    
    This PR rips it all out and replaces it with consistent semantics across
    `uv lock`, `uv pip compile -p 3.11`, and `uv pip compile -p 3.11
    --universal`. We now always ignore upper bounds.
    
    Closes #6859.
    
    Closes #5045.
    charliermarsh authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    8eef1a2 View commit details
    Browse the repository at this point in the history
  7. Stream build backend output to debug! (#6903)

    ## Summary
    
    We need to decide whether we want this in `debug!` or `tracing!`. We
    also _probably_ (?) want to show this by default in `uv build`.
    
    Closes #1567.
    
    Closes #5893.
    charliermarsh authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    6897001 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f9c0458 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    47f4ca2 View commit details
    Browse the repository at this point in the history
Loading