From 3ca155ddd6e9f5f59f848acaab0cdc7d4cfaf58e Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 6 Dec 2024 17:50:21 -0600 Subject: [PATCH] Bump version to 0.5.7 (#9698) --- CHANGELOG.md | 35 +++++++++++++++++++++++++++ Cargo.lock | 4 +-- README.md | 6 ++--- 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 +- 10 files changed, 53 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c2237ab651a..da3e8a89914b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # Changelog +## 0.5.7 + +### Enhancements + +- Ignore dynamic version in source dist ([#9549](https://github.com/astral-sh/uv/pull/9549)) +- Improve build frontend error handling ([#9611](https://github.com/astral-sh/uv/pull/9611)) +- Un-hide `uv build --no-build-logs` option ([#9642](https://github.com/astral-sh/uv/pull/9642)) +- Flag version mismatch between sdist and wheel during `uv build` ([#9633](https://github.com/astral-sh/uv/pull/9633)) +- Improve message when updater receipt is for a different uv executable ([#9487](https://github.com/astral-sh/uv/pull/9487)) +- Add environment variable to disable writing installer metadata files ([#8877](https://github.com/astral-sh/uv/pull/8877)) +- Add managed downloads for the latest CPython releases: `3.9.21`, `3.10.16`, `3.11.11`, `3.12.8`, and `3.13.1` ([#9696](https://github.com/astral-sh/uv/pull/9696)) + +### Preview features + +- Build backend: Add hint on import with preview disabled ([#9691](https://github.com/astral-sh/uv/pull/9691)) +- Build backend: Add direct builds to the resolver and installer ([#9621](https://github.com/astral-sh/uv/pull/9621)) +- Build backend: Add integration test for scripts ([#9635](https://github.com/astral-sh/uv/pull/9635)) +- Build backend: Add template to `uv init` ([#9661](https://github.com/astral-sh/uv/pull/9661)) +- Build backend: Add `--list` option ([#9610](https://github.com/astral-sh/uv/pull/9610)) + +### Bug fixes + +- Create missing parent directories for output file of `uv export` / `uv pip compile` ([#9648](https://github.com/astral-sh/uv/pull/9648)) +- Fix missing display of non-freethreaded Python 3.13 in `python list` ([#9669](https://github.com/astral-sh/uv/pull/9669)) +- Implement `Ord` and `PartialOrd` without origin for `Requirement` ([#9624](https://github.com/astral-sh/uv/pull/9624)) +- Include more sources to avoid lowest bound warning ([#9644](https://github.com/astral-sh/uv/pull/9644)) +- Respect build tag priority in `uv.lock` ([#9677](https://github.com/astral-sh/uv/pull/9677)) + +### Documentation + +- Add `build-essentials` note to build failures doc ([#9641](https://github.com/astral-sh/uv/pull/9641)) +- Add entry-point for distroless image in GitLab documentation ([#9093](https://github.com/astral-sh/uv/pull/9093)) +- Add documentation for `uv python pin` without a `REQUEST` argument ([#9631](https://github.com/astral-sh/uv/pull/9631)) +- Add a link to `uv python pin` reference docs ([#9630](https://github.com/astral-sh/uv/pull/9630)) + ## 0.5.6 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 0d20151ffca5..04b9fe62f397 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4410,7 +4410,7 @@ checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" [[package]] name = "uv" -version = "0.5.6" +version = "0.5.7" dependencies = [ "anstream", "anyhow", @@ -5608,7 +5608,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.5.6" +version = "0.5.7" [[package]] name = "uv-virtualenv" diff --git a/README.md b/README.md index 55f90e4ba0e1..1f08d37a7320 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ Resolved 2 packages in 170ms Prepared 2 packages in 627ms Installed 2 packages in 1ms + example==0.1.0 (from file:///home/user/example) - + ruff==0.5.6 + + ruff==0.5.7 $ uv run ruff check All checks passed! @@ -145,11 +145,11 @@ Install a tool with `uv tool install`: $ uv tool install ruff Resolved 1 package in 6ms Installed 1 package in 2ms - + ruff==0.5.6 + + ruff==0.5.7 Installed 1 executable: ruff $ ruff --version -ruff 0.5.6 +ruff 0.5.7 ``` See the [tools documentation](https://docs.astral.sh/uv/guides/tools/) to get started. diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 06ec50a30b70..4f11999109bc 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.5.6" +version = "0.5.7" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 76db6463ca5f..bd8ba98bb7db 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.5.6" +version = "0.5.7" 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 a838366a4e42..259648a54a62 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.6/install.sh | sh + $ curl -LsSf https://astral.sh/uv/0.5.7/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.6/install.ps1 | iex" + $ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.7/install.ps1 | iex" ``` !!! tip diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index df24181ea65b..6237b0331398 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.6` +- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.7` - `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.6-alpine`. +`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.7-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.6 /uv /uvx /bin/ +COPY --from=ghcr.io/astral-sh/uv:0.5.7 /uv /uvx /bin/ ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.5.6/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.5.7/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index c198a8db836e..953ee533eda1 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.6" + version: "0.5.7" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 589753be9239..df3dbeef80aa 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.6 + rev: 0.5.7 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.6 + rev: 0.5.7 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.6 + rev: 0.5.7 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 3e813ab312f9..0d5d571a8c7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.5.6" +version = "0.5.7" 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"