diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 7f0787cbc76e..eab2348049ee 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -601,7 +601,7 @@ jobs: manylinux: musllinux_1_1 args: ${{ matrix.platform.arch == 'ppc64le' && '--profile release-no-lto' || '--release'}} --locked --out dist --features self-update ${{ matrix.platform.arch == 'aarch64' && '--compatibility 2_17' || ''}} docker-options: ${{ matrix.platform.maturin_docker_options }} - rust-toolchain: ${{ matrix.platform.toolchain || 'stable' }} + rust-toolchain: ${{ matrix.platform.toolchain || null }} - uses: uraimo/run-on-arch-action@v2 name: Test wheel with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 96a8989737e3..094c36f31cc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Changelog +## 0.4.13 + +### Enhancements + +- Add `socks` support ([#7503](https://github.com/astral-sh/uv/pull/7503)) +- Avoid warning about bad Python interpreter links for empty project environment directories ([#7527](https://github.com/astral-sh/uv/pull/7527)) +- Improve invalid environment warning messages ([#7544](https://github.com/astral-sh/uv/pull/7544)) +- Use more verbose spelling of "virtualenv" during creation ([#7523](https://github.com/astral-sh/uv/pull/7523)) +- Do not use a user-facing warning for "Waiting to acquire lock..." message ([#7502](https://github.com/astral-sh/uv/pull/7502)) + +### Performance + +- Use a single buffer for hints on resolver errors ([#7497](https://github.com/astral-sh/uv/pull/7497)) + +### Bug fixes + +- Allow Python pre-releases to be used if they are first on the `PATH` ([#7470](https://github.com/astral-sh/uv/pull/7470)) +- Avoid deleting the project environment directory if it is not a virtual environment ([#7522](https://github.com/astral-sh/uv/pull/7522)) +- Do not error if the `CACHEDIR.TAG` file exists but cannot be written to ([#7550](https://github.com/astral-sh/uv/pull/7550)) +- Treat invalid platform as more compatible than invalid Python ([#7556](https://github.com/astral-sh/uv/pull/7556)) +- Use portable paths when serializing sources ([#7504](https://github.com/astral-sh/uv/pull/7504)) +- Compute resolver hints using the final reduced derivation tree ([#7546](https://github.com/astral-sh/uv/pull/7546)) +- Bump the wheel and sdist cache versions ([#7560](https://github.com/astral-sh/uv/pull/7560)) +- Heal cache entries with missing source distributions ([#7559](https://github.com/astral-sh/uv/pull/7559)) + +### Rust libraries + +- Bump minimum supported Rust version from 1.80 -> 1.81 + +### Documentation + +- Add `UV_LINK_MODE` to Docker caching example ([#7510](https://github.com/astral-sh/uv/pull/7510)) +- Clarify behavior of of overrides in CLI reference ([#7537](https://github.com/astral-sh/uv/pull/7537)) + ## 0.4.12 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 5fd21321deb4..3164f0b72b29 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4442,7 +4442,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.12" +version = "0.4.13" dependencies = [ "anstream", "anyhow", @@ -5235,7 +5235,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.12" +version = "0.4.13" [[package]] name = "uv-virtualenv" diff --git a/Cargo.toml b/Cargo.toml index 09163af86cf9..08aa3ee38891 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ resolver = "2" [workspace.package] edition = "2021" -rust-version = "1.80" +rust-version = "1.81" homepage = "https://pypi.org/project/uv/" documentation = "https://pypi.org/project/uv/" repository = "https://github.com/astral-sh/uv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 07811aeafd85..76f4af3d6c87 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.12" +version = "0.4.13" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index b0d49bc402dd..32af21d9bf01 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.12" +version = "0.4.13" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 345bb773b3b9..1fe76afb80c4 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -21,7 +21,7 @@ $ docker run ghcr.io/astral-sh/uv --help uv provides a distroless Docker image including the `uv` binary. The following tags are published: - `uv:latest` -- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.12` +- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.13` - `uv:{major}.{minor}`, e.g., `uv:0.4` (the latest patch version) In addition, uv publishes the following images: @@ -56,7 +56,7 @@ In addition, uv publishes the following images: - `uv:python3.8-bookworm-slim` As with the distroless image, each image is published with uv version tags as -`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.12-alpine`. +`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.13-alpine`. For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) page. @@ -94,13 +94,13 @@ Note this requires `curl` to be available. In either case, it is best practice to pin to a specific uv version, e.g., with: ```dockerfile -COPY --from=ghcr.io/astral-sh/uv:0.4.12 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.13 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.12/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.13/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index f2a5e07512ce..52d6df18d15f 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -40,7 +40,7 @@ jobs: uses: astral-sh/setup-uv@v2 with: # Install a specific version of uv. - version: "0.4.12" + version: "0.4.13" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 74dfe8dd7a2c..180f493337ac 100644 --- a/docs/guides/integration/pre-commit.md +++ b/docs/guides/integration/pre-commit.md @@ -8,7 +8,7 @@ To compile requirements via pre-commit, add the following to the `.pre-commit-co ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.4.12 + rev: 0.4.13 hooks: # Compile requirements - id: pip-compile @@ -20,7 +20,7 @@ To compile alternative files, modify `args` and `files`: ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.4.12 + rev: 0.4.13 hooks: # Compile requirements - id: pip-compile @@ -33,7 +33,7 @@ To run the hook over multiple files at the same time: ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.4.12 + rev: 0.4.13 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 02158fc94af7..41d0a49f0528 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.12" +version = "0.4.13" description = "An extremely fast Python package and project manager, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] requires-python = ">=3.8"