From c62c83c37ada63eae4efb77551e2ec7a0f0113d8 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 20 Nov 2024 16:01:24 -0500 Subject: [PATCH] Bump version to v0.5.4 (#9290) --- CHANGELOG.md | 38 +++++++++++++++++++++++++++ Cargo.lock | 4 +-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- docs/getting-started/installation.md | 6 ++--- 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, 54 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6452b572d3c..e5acd89dce2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## 0.5.4 + +### Enhancements + +- Accept either singular or plural values for CLI requirements ([#9196](https://github.com/astral-sh/uv/pull/9196)) +- Add `--all-groups` to `uv sync`, `uv run`, `uv export`, and `uv tree` ([#8892](https://github.com/astral-sh/uv/pull/8892)) +- Add a progress bar to `uv tree --outdated` and `uv pip list --outdated` ([#9284](https://github.com/astral-sh/uv/pull/9284)) +- Add retries for Python downloads ([#9274](https://github.com/astral-sh/uv/pull/9274)) +- Use exponential backoff for publish retries ([#9276](https://github.com/astral-sh/uv/pull/9276)) +- Add manylinux target triples up to glibc 2.40 ([#9234](https://github.com/astral-sh/uv/pull/9234)) + +### Performance + +- Parallelize network requests in `uv tree --outdated` ([#9280](https://github.com/astral-sh/uv/pull/9280)) +- Use `zlib-rs` on all platforms ([#9264](https://github.com/astral-sh/uv/pull/9264)) + +### Bug fixes + +- Avoid validating extra and group sources in `build-system.requires` ([#9273](https://github.com/astral-sh/uv/pull/9273)) +- Catch retries with wrapped `reqwest` errors ([#9253](https://github.com/astral-sh/uv/pull/9253)) +- Sort hashes in `uv export` output ([#9237](https://github.com/astral-sh/uv/pull/9237)) +- Strip `--index` and `--default-index` from command header ([#9288](https://github.com/astral-sh/uv/pull/9288)) + +### Documentation + +- Add breadcrumbs to the documentation ([#9242](https://github.com/astral-sh/uv/pull/9242)) +- Add minimum version to PyTorch guide ([#9247](https://github.com/astral-sh/uv/pull/9247)) +- Add support for anchor redirects with client-side js ([#9212](https://github.com/astral-sh/uv/pull/9212)) +- Improve content on project configuration ([#9235](https://github.com/astral-sh/uv/pull/9235)) +- Improve the project creation documentation ([#9236](https://github.com/astral-sh/uv/pull/9236)) +- Move the integration guides into the "Guides" section as a collapsed group ([#9245](https://github.com/astral-sh/uv/pull/9245)) +- Reorganize the project concept documentation ([#9121](https://github.com/astral-sh/uv/pull/9121)) +- Use the full screen height for the main content to stabilize the nav ([#9153](https://github.com/astral-sh/uv/pull/9153)) + +### Error messages + +- Add dedicated warning for empty stdin ([#9256](https://github.com/astral-sh/uv/pull/9256)) + ## 0.5.3 This release includes support for conflicting optional dependencies and dependency groups in the uv resolver, including the ability to specify dependency sources (like index assignment) on a per-extra or per-group basis. diff --git a/Cargo.lock b/Cargo.lock index 60ef3945991f..776b6ca36282 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4400,7 +4400,7 @@ checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" [[package]] name = "uv" -version = "0.5.3" +version = "0.5.4" dependencies = [ "anstream", "anyhow", @@ -5592,7 +5592,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.5.3" +version = "0.5.4" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 7142f7ac0b96..aafca8a3e6ab 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.5.3" +version = "0.5.4" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index cfb64c421b1a..68fe1c9042a7 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.5.3" +version = "0.5.4" 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 f4df25caf800..1f4b120400a5 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.3/install.sh | sh + $ curl -LsSf https://astral.sh/uv/0.5.4/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.3/install.ps1 | iex" + $ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.4/install.ps1 | iex" ``` !!! tip @@ -217,7 +217,7 @@ If you need to remove uv from your system, just remove the `uv` and `uvx` binari !!! note - Prior to 0.5.3, uv was installed into `~/.cargo/bin`. The binaries can be removed from there to + Prior to 0.5.4, uv was installed into `~/.cargo/bin`. The binaries can be removed from there to uninstall. Upgrading from an older version will not automatically remove the binaries from `~/.cargo/bin`. diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 709362ec00c8..d33288c0066a 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.3` +- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.4` - `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.3-alpine`. +`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.4-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.3 /uv /uvx /bin/ +COPY --from=ghcr.io/astral-sh/uv:0.5.4 /uv /uvx /bin/ ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.5.3/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.5.4/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 9913bd893b7a..04c5a0bc2f52 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -40,7 +40,7 @@ jobs: uses: astral-sh/setup-uv@v3 with: # Install a specific version of uv. - version: "0.5.3" + version: "0.5.4" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 04f0b274cd71..d8e535e0fcc2 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.5.3 + rev: 0.5.4 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.5.3 + rev: 0.5.4 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.5.3 + rev: 0.5.4 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 6b1a611a500e..ae8865864cb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.5.3" +version = "0.5.4" 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"