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.7.4
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.7.5
Choose a head ref
  • 8 commits
  • 105 files changed
  • 3 contributors

Commits on May 15, 2025

  1. Mask gen as r#gen for the 2024 edition (#13477)

    `gen` is a reserved keyword in Rust 2024. This is a requirement to run
    `cargo fmt` on the Rust 2024 edition.
    konstin authored May 15, 2025
    Configuration menu
    Copy the full SHA
    4aa7208 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2025

  1. cli: adjust grammar in “script not supported” error (#13483)

    Love this tooling! Small adjustment to help on error messaging 🙏 
    
    <!--
    Thank you for contributing to uv! To help us out with reviewing, please
    consider the following:
    
    - Does this pull request include a summary of the change? (See below.)
    - Does this pull request include a descriptive title?
    - Does this pull request include references to any relevant issues?
    -->
    
    ## Summary
    
    <!-- What's the purpose of the change? What does it do, and why? -->
    
    The previous message was missing the word **“like,”** which made it read
    a tad awkwardly.
    This PR inserts the missing word so the error reads naturally:
    **After:**
    ```
    $ uvx ch1.py 
    error: It looks like you tried to run a Python script at `ch1.py`, which is not supported by `uvx`
    
    hint: Use `uv run ch1.py` instead
    ```
    
    **Before:**
    ```
    $ uvx ch1.py 
    error: It looks you tried to run a Python script at `ch1.py`, which is not supported by `uvx`
    
    hint: Use `uv run ch1.py` instead
    ```
    
    ## Test Plan
    
    <!-- How was it tested? -->
    - `cargo run -- uvx examples/ch1.py` shows the updated message (see
    “After” above).
    - `cargo test` passes.
    andrewpollack authored May 16, 2025
    Configuration menu
    Copy the full SHA
    0baa376 View commit details
    Browse the repository at this point in the history
  2. Apply some Edition 2024 fixes (#13479)

    Some `ref`-removal and `use<>` fixes for the Rust Edition 2024
    migration, which are also compatible with Rust Edition 2021.
    konstin authored May 16, 2025
    Configuration menu
    Copy the full SHA
    23261b7 View commit details
    Browse the repository at this point in the history
  3. Build backend: Case sensitive module discovery (#13468)

    We may run on case-sensitive file systems (Linux, generally) or on
    case-insensitive file systems (Windows, generally), while modules in
    Python may be lower or upper case. For robustness over filesystem
    casing, we require an explicit module name for modules with upper cases.
    
    Fixes #13419
    konstin authored May 16, 2025
    Configuration menu
    Copy the full SHA
    77268ee View commit details
    Browse the repository at this point in the history

Commits on May 17, 2025

  1. Don't error when the script is too short for the buffer (#13488)

    I hit this error case with a broken wheel.
    konstin authored May 17, 2025
    Configuration menu
    Copy the full SHA
    3164393 View commit details
    Browse the repository at this point in the history
  2. Bump simple cache bucket to v16 (#13498)

    We broke the rkyv deserialization in
    e70cf25#diff-348b24d7a84672ab2873833988156191995ff467619a77f548adbd9808549999L30-R41
    by placing `.tar.bz2` in the position of `.tar.gz`. We need to
    invalidate the cache bucket.
    
    Fixes #13492
    konstin authored May 17, 2025
    Configuration menu
    Copy the full SHA
    b31d08c View commit details
    Browse the repository at this point in the history
  3. Apply first set of Rustfmt edition 2024 changes (#13478)

    Rustfmt introduces a lot of formatting changes in the 2024 edition. To
    not break everything all at once, we split out the set of formatting
    changes compatible with both the 2021 and 2024 edition by first
    formatting with the 2024 style, and then again with the currently used
    2021 style.
    
    Notable changes are the formatting of derive macro attributes and lines
    with overly long strings and adding trailing semicolons after statements
    consistently.
    konstin authored May 17, 2025
    Configuration menu
    Copy the full SHA
    5d37c7e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d1a14e View commit details
    Browse the repository at this point in the history
Loading