From 736ccb950a4e2fd520559e351361e206fb6e22ee Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 1 Sep 2024 13:37:27 -0400 Subject: [PATCH] Bump version to v0.4.2 (#6916) --- CHANGELOG.md | 14 ++++++++++++++ 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 | 6 +++--- docs/guides/integration/github.md | 6 +++--- docs/guides/integration/pre-commit.md | 6 +++--- pyproject.toml | 2 +- 9 files changed, 30 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a50243e7695..7d5ed9c8667d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.4.2 + +### Enhancements + +- Adding support for `.pyc` files in `uv run` ([#6886](https://github.com/astral-sh/uv/pull/6886)) +- Treat missing `top_level.txt` as non-fatal ([#6881](https://github.com/astral-sh/uv/pull/6881)) + +### Bug fixes + +- Fix `is_disjoint` check for supported environments ([#6902](https://github.com/astral-sh/uv/pull/6902)) +- Remove dangling archives in `uv cache clean ${package}` ([#6915](https://github.com/astral-sh/uv/pull/6915)) +- Error when discovered Python is incompatible with `--isolated` workspace ([#6885](https://github.com/astral-sh/uv/pull/6885)) +- Warn when discovered Python is incompatible with PEP 723 script ([#6884](https://github.com/astral-sh/uv/pull/6884)) + ## 0.4.1 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 7caf4ac0a8d7..11f640bbd7af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4452,7 +4452,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anstream", "anyhow", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.1" +version = "0.4.2" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 168f970c58c6..e602edf1bca6 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.1" +version = "0.4.2" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 5e5a520d3718..f4f2f7df9644 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.1" +version = "0.4.2" 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 a11a16d77179..fd4d0f1b5abb 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.1/install.sh | sh + $ curl -LsSf https://astral.sh/uv/0.4.2/install.sh | sh ``` === "Windows" ```console - $ powershell -c "irm https://astral.sh/uv/0.4.1/install.ps1 | iex" + $ powershell -c "irm https://astral.sh/uv/0.4.2/install.ps1 | iex" ``` ### PyPI diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 4797532ca58a..38d7d79382dc 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 builds and publishes the following Docker tags: - `uv:latest` -- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.1` +- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.2` - `uv:{major}.{minor}`, e.g., `uv:0.4` (the latest patch version) For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) @@ -59,13 +59,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.1 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.2 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.1/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.2/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 697cfef9b4fd..182fc7071b56 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -76,7 +76,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: curl -LsSf https://astral.sh/uv/0.4.1/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.4.2/install.sh | sh ``` === "macOS" @@ -94,7 +94,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: curl -LsSf https://astral.sh/uv/0.4.1/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.4.2/install.sh | sh ``` === "Windows" @@ -112,7 +112,7 @@ It is considered best practice to pin to a specific uv version, e.g., with: - name: Set up uv # Install a specific uv version using the installer - run: irm https://astral.sh/uv/0.4.1/install.ps1 | iex + run: irm https://astral.sh/uv/0.4.2/install.ps1 | iex shell: powershell ``` diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index d4fcd44a72c6..11ce8fb07d3e 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.1 + rev: 0.4.2 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.1 + rev: 0.4.2 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.1 + rev: 0.4.2 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index aad5637eb5f8..511121a07a05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.1" +version = "0.4.2" 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"