From 0e1b25a536b727276cd4012ce2e2751f9dac141d Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 8 Oct 2024 14:55:21 -0500 Subject: [PATCH] Bump version to 0.4.20 (#8016) --- CHANGELOG.md | 20 +++++++++++++++++--- Cargo.lock | 4 ++-- crates/uv-build-backend/src/lib.rs | 2 +- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- 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, 31 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05d77bc2c..1b739f6e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.4.20 + +### Enhancements + +- Add managed downloads for CPython 3.13.0 (final) ([#8010](https://github.com/astral-sh/uv/pull/8010)) +- Python 3.13 is the default version for `uv python install` ([#8010](https://github.com/astral-sh/uv/pull/8010)) +- Hint at wrong endpoint in `uv publish` failures ([#7872](https://github.com/astral-sh/uv/pull/7872)) +- List available scripts when a command is not specified for `uv run` ([#7687](https://github.com/astral-sh/uv/pull/7687)) +- Fill in `authors` filed during `uv init` ([#7756](https://github.com/astral-sh/uv/pull/7756)) + +### Documentation + +- Add snapshot testing to contribution guide ([#7882](https://github.com/astral-sh/uv/pull/7882)) +- Fix and improve GitLab integration docs ([#8000](https://github.com/astral-sh/uv/pull/8000)) + ## 0.4.19 ### Enhancements @@ -35,9 +50,8 @@ - Clarify project environment creation a little ([#7941](https://github.com/astral-sh/uv/pull/7941)) - Fix code block title in Gitlab integration docs ([#7861](https://github.com/astral-sh/uv/pull/7861)) - Fix documentation (projects guide) regarding adding a git dependency ([#7916](https://github.com/astral-sh/uv/pull/7916)) -- fix uninstallation command for windows on documentation ([#7944](https://github.com/astral-sh/uv/pull/7944)) - -- Clearly specify the minimum supported Windows Server version in the document ([#7946](https://github.com/astral-sh/uv/pull/7946)) +- Fix uninstallation command for windows on documentation ([#7944](https://github.com/astral-sh/uv/pull/7944)) +- Clearly specify the minimum supported Windows Server version ([#7946](https://github.com/astral-sh/uv/pull/7946)) ### Rust API diff --git a/Cargo.lock b/Cargo.lock index c78618ef5..590eb84c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4134,7 +4134,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.19" +version = "0.4.20" dependencies = [ "anstream", "anyhow", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.19" +version = "0.4.20" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-build-backend/src/lib.rs b/crates/uv-build-backend/src/lib.rs index 7d585d6c8..b6c292bf5 100644 --- a/crates/uv-build-backend/src/lib.rs +++ b/crates/uv-build-backend/src/lib.rs @@ -618,7 +618,7 @@ mod tests { .path() .join("uv_backend-0.1.0.dist-info/RECORD"); assert_snapshot!(fs_err::read_to_string(record_file).unwrap(), @r###" - uv_backend-0.1.0.dist-info/WHEEL,sha256=3ab9e610d443a2f26ac5392439f8a7a71c00f181a8df237b7104768ac54c5214,79 + uv_backend-0.1.0.dist-info/WHEEL,sha256=70ce44709b6a53e0d0c5a6755b0290179697020f1f867e794f26154fe4825738,79 uv_backend-0.1.0.dist-info/METADATA,sha256=e4a0d390317d7182f65ea978254c71ed283e0a4242150cf1c99a694b113ff68d,224 uv_backend-0.1.0.dist-info/RECORD,, "###); diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 3db079c63..54c5c539c 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.19" +version = "0.4.20" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 68abe69e1..788eff776 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.19" +version = "0.4.20" 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 e183a87be..915fad2fc 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.4.19` +- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.4.20` - `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.4` (the latest patch version) @@ -59,7 +59,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.4.19-alpine`. +`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.4.20-alpine`. For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) page. @@ -97,13 +97,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.19 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.19/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.20/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 8dbb2aeea..2c6d4e566 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.4.19" + version: "0.4.20" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 20d906f29..30809bb59 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.19 + rev: 0.4.20 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.19 + rev: 0.4.20 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.19 + rev: 0.4.20 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index ed0554c10..3b42c22ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.19" +version = "0.4.20" 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"