diff --git a/CHANGELOG.md b/CHANGELOG.md index fea4a2cae90b..c8027f3db20f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.4.9 + +### Enhancements + +- Add support for managed Python 3.13 ([#7263](https://github.com/astral-sh/uv/pull/7263)) +- Upgrade managed CPython versions to lastest patch releases ([#7263](https://github.com/astral-sh/uv/pull/7263)) +- Allow setting a target version for `uv self update` ([#7252](https://github.com/astral-sh/uv/pull/7252)) +- Create `py.typed` files during `uv init --lib` ([#7232](https://github.com/astral-sh/uv/pull/7232)) +- Add a dedicated error for packages that fail due to `distutils` deprecation ([#7239](https://github.com/astral-sh/uv/pull/7239)) +- Improve error message when requested Python version is unsupported ([#7269](https://github.com/astral-sh/uv/pull/7269)) + +### Bug fixes + +- Avoid updating `pyproject.toml` offsets on non-add edits ([#7262](https://github.com/astral-sh/uv/pull/7262)) +- Invalidate cache when `--config-settings` change ([#7139](https://github.com/astral-sh/uv/pull/7139)) +- Remove workspace root for single-member workspace with `uv export` ([#7254](https://github.com/astral-sh/uv/pull/7254)) + ## 0.4.8 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index fe1b7a9a61b2..efa22bfc52d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4457,7 +4457,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.8" +version = "0.4.9" dependencies = [ "anstream", "anyhow", @@ -5249,7 +5249,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.8" +version = "0.4.9" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 8fe34d68c9e2..75d52592676e 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.8" +version = "0.4.9" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 8a52bc41dccf..2b65aed76dbd 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.8" +version = "0.4.9" 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 5b86a4c89ead..10b7c566e62f 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.8` +- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.9` - `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.8-alpine`. +`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.9-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.8 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.9 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.8/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.9/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index da42f1e6397a..9e2eefdb9deb 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.8" + version: "0.4.9" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 694b35017456..d94a4fa2fb8e 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.8 + rev: 0.4.9 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.8 + rev: 0.4.9 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.8 + rev: 0.4.9 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index c543e347756b..1018d91dc239 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.8" +version = "0.4.9" 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"