From 6c62d9fbf1f591da0a7599f3bd8afba1110229a0 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 27 Aug 2024 12:30:12 -0400 Subject: [PATCH] Bump version to v0.3.5 (#6696) --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ 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 | 4 ++-- docs/guides/integration/github.md | 6 +++--- docs/guides/integration/pre-commit.md | 6 +++--- pyproject.toml | 2 +- 9 files changed, 42 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c85021aecca4..aff8fc175eaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 0.3.5 + +### Enhancements + +- Add support for `--allow-insecure-host` (aliased to `--trusted-host`) ([#6591](https://github.com/astral-sh/uv/pull/6591)) +- Read requirements from `requires.txt` when available ([#6655](https://github.com/astral-sh/uv/pull/6655)) +- Respect `tool.uv.environments` in `pip compile --universal` ([#6663](https://github.com/astral-sh/uv/pull/6663)) +- Use relative paths by default in `uv add` ([#6686](https://github.com/astral-sh/uv/pull/6686)) +- Improve messages for empty solves and installs ([#6588](https://github.com/astral-sh/uv/pull/6588)) + +### Bug fixes + +- Avoid reusing state across tool upgrades ([#6660](https://github.com/astral-sh/uv/pull/6660)) +- Detect musl and error for musl Python builds ([#6643](https://github.com/astral-sh/uv/pull/6643)) +- Ignore `send` errors in installer ([#6667](https://github.com/astral-sh/uv/pull/6667)) + +### Documentation + +- Add development section to Docker guide and reference new example project ([#6666](https://github.com/astral-sh/uv/pull/6666)) +- Add docs for `constraint-dependencies` and `override-dependencies` ([#6596](https://github.com/astral-sh/uv/pull/6596)) +- Clarify package priority order in pip compatibility guide ([#6619](https://github.com/astral-sh/uv/pull/6619)) +- Fix docs for disabling build isolation with `uv sync` ([#6674](https://github.com/astral-sh/uv/pull/6674)) +- Improve consistency of directory lookup instructions in Docker ([#6665](https://github.com/astral-sh/uv/pull/6665)) +- Improve lockfile concept documentation, add coverage for upgrades ([#6698](https://github.com/astral-sh/uv/pull/6698)) +- Shift the order of some of the Docker guide content ([#6664](https://github.com/astral-sh/uv/pull/6664)) +- Use `python` to highlight requirements and use more content tabs ([#6549](https://github.com/astral-sh/uv/pull/6549)) + ## 0.3.4 ### CLI diff --git a/Cargo.lock b/Cargo.lock index 31bd8ab4ea42..12b4b0f77e29 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4529,7 +4529,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.3.4" +version = "0.3.5" dependencies = [ "anstream", "anyhow", @@ -5284,7 +5284,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.3.4" +version = "0.3.5" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 1c566f6f8222..9f6eceaa4ea0 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.3.4" +version = "0.3.5" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 84f54597adb7..70869cff110b 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.3.4" +version = "0.3.5" 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 035987157663..18764b49b0ae 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.3.4/install.sh | sh + $ curl -LsSf https://astral.sh/uv/0.3.5/install.sh | sh ``` === "Windows" ```console - $ powershell -c "irm https://astral.sh/uv/0.3.4/install.ps1 | iex" + $ powershell -c "irm https://astral.sh/uv/0.3.5/install.ps1 | iex" ``` ### PyPI diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 3edbd317072f..edc02f7a7a17 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -48,13 +48,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.3.4 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.3.5 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.3.4/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.3.5/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 3bda10478403..0fa90178b7dd 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.3.4/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.3.5/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.3.4/install.sh | sh + run: curl -LsSf https://astral.sh/uv/0.3.5/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.3.4/install.ps1 | iex + run: irm https://astral.sh/uv/0.3.5/install.ps1 | iex shell: powershell ``` diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index d6cf18b873dc..573367876f79 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.3.4 + rev: 0.3.5 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.3.4 + rev: 0.3.5 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.3.4 + rev: 0.3.5 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index bdd6a57f5d8e..736ff11d440b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.3.4" +version = "0.3.5" 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"