From 37b11ddb227f5f0649f49697ec9b86c8aa468597 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 17 Dec 2024 14:53:19 -0600 Subject: [PATCH] Bump version to 0.5.10 (#9983) --- CHANGELOG.md | 44 +++++++++++++++++++++++++++ Cargo.lock | 4 +-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- docs/getting-started/installation.md | 4 +-- docs/guides/integration/docker.md | 8 ++--- docs/guides/integration/github.md | 2 +- docs/guides/integration/pre-commit.md | 6 ++-- pyproject.toml | 2 +- 9 files changed, 59 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e501b0cd0272..1c10e65c16de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## 0.5.10 + +### Enhancements + +- Improve backtracking behavior when packages conflict repeatedly ([#9843](https://github.com/astral-sh/uv/pull/9843)) +- Patch Python `sysconfig` values such as `AR` at `ar` install time ([#9905](https://github.com/astral-sh/uv/pull/9905)) +- Patch Python `sysconfig` values such as `clang` to `cc` at install time ([#9916](https://github.com/astral-sh/uv/pull/9916)) +- Skip `--native-tls` in `pip compile` header ([#9913](https://github.com/astral-sh/uv/pull/9913)) +- Add resolver error hint for no-binary and no-build failures ([#9948](https://github.com/astral-sh/uv/pull/9948)) +- Improve build error messages ([#9660](https://github.com/astral-sh/uv/pull/9660)) +- Reduce redundant Python version incompatibilities in resolver error message ([#9957](https://github.com/astral-sh/uv/pull/9957)) +- Reduce redundant enumeration of all package versions in some resolver errors ([#9885](https://github.com/astral-sh/uv/pull/9885)) +- Improve display of ranges when pre-releases are not allowed ([#9944](https://github.com/astral-sh/uv/pull/9944)) +- Improve error messages for `uv remove` ([#9959](https://github.com/astral-sh/uv/pull/9959)) +- Improve phrasing for single term incompatibilities ([#9953](https://github.com/astral-sh/uv/pull/9953)) +- Improve styling of `uv remove` dependency hints ([#9960](https://github.com/astral-sh/uv/pull/9960)) +- Omit trailing zeros on Python requirements inferred from versions ([#9952](https://github.com/astral-sh/uv/pull/9952)) +- Show a concise error message for missing `version` field ([#9912](https://github.com/astral-sh/uv/pull/9912)) +- Use the build options value to improve hints for no wheel / source distribution errors ([#9950](https://github.com/astral-sh/uv/pull/9950)) + +### Bug fixes + +- Allow multiple disjoint URLs in overrides ([#9893](https://github.com/astral-sh/uv/pull/9893)) +- Include explicit indexes in publish index choice ([#9932](https://github.com/astral-sh/uv/pull/9932)) +- Fix Python interpreter detection for 32-bit operating systems on 64-bit hosts ([#9970](https://github.com/astral-sh/uv/pull/9970)) + +### Documentation + +- Fix typo "operation system" ([#9971](https://github.com/astral-sh/uv/pull/9971)) +- Clarify uninstallation docs ([#9938](https://github.com/astral-sh/uv/pull/9938)) +- Add a note to say that dependencies between workspace members are editable ([#9363](https://github.com/astral-sh/uv/pull/9363)) +- Correctly document default value of `fork-strategy` setting ([#9931](https://github.com/astral-sh/uv/pull/9931)) +- Use double quotes for Windows support in examples ([#9946](https://github.com/astral-sh/uv/pull/9946)) +- Remove `pypy` from top-level pin example ([#9896](https://github.com/astral-sh/uv/pull/9896)) +- Update references to `python-build-standalone` to reflect the transferred project ([#9977](https://github.com/astral-sh/uv/pull/9977)) +- Use a different Ruff version in documentation ([#9943](https://github.com/astral-sh/uv/pull/9943)) +- Change example so it works as-is on `powershell` and `cmd.exe` ([#9903](https://github.com/astral-sh/uv/pull/9903)) +- Clarify best practice for Python matrix strategy in GitHub Actions ([#9454](https://github.com/astral-sh/uv/pull/9454)) +- Add documentation for `uv-lock` and `uv-export` pre-commit hooks ([#9872](https://github.com/astral-sh/uv/pull/9872)) + +### Preview features + +- Build backend: Fix pre-PEP 639 license files ([#9965](https://github.com/astral-sh/uv/pull/9965)) + ## 0.5.9 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 80da84bbe3cf..762454695eec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4398,7 +4398,7 @@ checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" [[package]] name = "uv" -version = "0.5.9" +version = "0.5.10" dependencies = [ "anstream", "anyhow", @@ -5602,7 +5602,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.5.9" +version = "0.5.10" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index da63b4d2467c..5152797c1f28 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.5.9" +version = "0.5.10" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index b67ad63b8a95..f0a52c58eb0c 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.5.9" +version = "0.5.10" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 83fedc5df6f1..7f1a651bfe95 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -25,7 +25,7 @@ uv provides a standalone installer to download and install uv: Request a specific version by including it in the URL: ```console - $ curl -LsSf https://astral.sh/uv/0.5.9/install.sh | sh + $ curl -LsSf https://astral.sh/uv/0.5.10/install.sh | sh ``` === "Windows" @@ -41,7 +41,7 @@ uv provides a standalone installer to download and install uv: Request a specific version by including it in the URL: ```console - $ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.9/install.ps1 | iex" + $ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.10/install.ps1 | iex" ``` !!! tip diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 5837340240e6..b8c31950a54b 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: - `ghcr.io/astral-sh/uv:latest` -- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.9` +- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.10` - `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.5` (the latest patch version) @@ -62,7 +62,7 @@ In addition, uv publishes the following images: As with the distroless image, each image is published with uv version tags as `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}-{base}` and -`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.9-alpine`. +`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.10-alpine`. For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) page. @@ -100,13 +100,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.5.9 /uv /uvx /bin/ +COPY --from=ghcr.io/astral-sh/uv:0.5.10 /uv /uvx /bin/ ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.5.9/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.5.10/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 1b0be70b4ee0..ea9ead4e7d71 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -40,7 +40,7 @@ jobs: uses: astral-sh/setup-uv@v4 with: # Install a specific version of uv. - version: "0.5.9" + version: "0.5.10" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 8f91365afbb2..ea719ffa7343 100644 --- a/docs/guides/integration/pre-commit.md +++ b/docs/guides/integration/pre-commit.md @@ -29,7 +29,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.5.9 + rev: 0.5.10 hooks: # Compile requirements - id: pip-compile @@ -41,7 +41,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.5.9 + rev: 0.5.10 hooks: # Compile requirements - id: pip-compile @@ -54,7 +54,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.5.9 + rev: 0.5.10 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 344112fa324a..89d8d3843d72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.5.9" +version = "0.5.10" 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"