From 84f25e8cf868a0cca5882b3037809697a16c8a51 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 5 Sep 2024 17:39:53 -0500 Subject: [PATCH] Bump version to 0.4.6 (#7103) --- CHANGELOG.md | 29 +++++++++++++++++++++++++++ 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, 44 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c53112f3e259..7062497ef8d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## 0.4.6 + +### Enhancements + +- Accept `--build-constraints` in `uv build` ([#7085](https://github.com/astral-sh/uv/pull/7085)) +- Add `--require-hashes` and `--verify-hashes` to `uv build` ([#7094](https://github.com/astral-sh/uv/pull/7094)) +- Add `--show-version-specifiers` to `uv tool list` ([#7050](https://github.com/astral-sh/uv/pull/7050)) +- Respect hashes in constraints files ([#7093](https://github.com/astral-sh/uv/pull/7093)) +- Upgrade installer scripts ([#7092](https://github.com/astral-sh/uv/pull/7092)) +- Allow specifying multiple packages in `uv tool upgrade` and `uninstall` ([#7037](https://github.com/astral-sh/uv/pull/7037)) +- Sort by implementation in `uv python list` ([#6918](https://github.com/astral-sh/uv/pull/6918)) + +### Bug fixes + +- Invalidate lockfile when member versions change ([#7102](https://github.com/astral-sh/uv/pull/7102)) +- Strip fragments from direct source URLs in lockfile ([#7061](https://github.com/astral-sh/uv/pull/7061)) +- Support `--no-build` and `--no-binary` in `uv sync` et al ([#7100](https://github.com/astral-sh/uv/pull/7100)) +- Use distribution hash over registry hash ([#7060](https://github.com/astral-sh/uv/pull/7060)) +- Fix inverted log message ([#7063](https://github.com/astral-sh/uv/pull/7063)) +- Adjust Docker `ENTRYPOINT` and `CMD` for inherited images ([#7054](https://github.com/astral-sh/uv/pull/7054)) + +### Documentation + +- Add winget to installers ([#7088](https://github.com/astral-sh/uv/pull/7088)) +- Document how to disable path modifications during install ([#7090](https://github.com/astral-sh/uv/pull/7090)) +- Document how to manually update locked package version ([#7083](https://github.com/astral-sh/uv/pull/7083)) +- Document official `setup-uv` action ([#7056](https://github.com/astral-sh/uv/pull/7056)) +- Update docs on `.python-version` file ([#7051](https://github.com/astral-sh/uv/pull/7051)) + ## 0.4.5 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 7889d9b95493..852f234bd09a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4452,7 +4452,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.5" +version = "0.4.6" dependencies = [ "anstream", "anyhow", @@ -5205,7 +5205,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.5" +version = "0.4.6" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index e32c6591026f..5c1301f5f49b 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.5" +version = "0.4.6" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 19cfc991775b..07bd1d7a16da 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.5" +version = "0.4.6" 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 37751ef83c7e..5e62ccd3f0b1 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -45,13 +45,13 @@ Request a specific version by including it in the URL: === "macOS and Linux" ```console - $ curl -LsSf https://astral.sh/uv/0.4.5/install.sh | sh + $ curl -LsSf https://astral.sh/uv/0.4.6/install.sh | sh ``` === "Windows" ```console - $ powershell -c "irm https://astral.sh/uv/0.4.5/install.ps1 | iex" + $ powershell -c "irm https://astral.sh/uv/0.4.6/install.ps1 | iex" ``` !!! tip diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 3c4b51d187d5..9a259914f4a7 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.5` +- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.6` - `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.5-alpine`. +`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.6-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.5 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.6 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.5/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.6/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index ad60b18b67d5..893b23c52111 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.5" + version: "0.4.6" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 39c4ec19b161..d3526764ce5f 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.5 + rev: 0.4.6 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.5 + rev: 0.4.6 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.5 + rev: 0.4.6 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 6529d80c9f94..30b6a2fcd04e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.5" +version = "0.4.6" 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"