From 48162de974d2a87a1470b617f0ca3b8de197838c Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 29 Jul 2024 14:06:20 -0400 Subject: [PATCH] Bump version to v0.2.31 (#5568) --- CHANGELOG.md | 19 +++++++++++++++++++ Cargo.lock | 4 ++-- PREVIEW-CHANGELOG.md | 12 ++++++++++++ README.md | 4 ++-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- docs/guides/integration/pre-commit.md | 6 +++--- pyproject.toml | 2 +- 8 files changed, 41 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e62b23ee234..cc98984bad6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## 0.2.31 + +### Enhancements + +- Add `--relocatable` flag to `uv venv` ([#5515](https://github.com/astral-sh/uv/pull/5515)) +- Support `xz`-compressed packages ([#5513](https://github.com/astral-sh/uv/pull/5513)) +- Warn, but don't error, when encountering tilde `.dist-info` directories ([#5520](https://github.com/astral-sh/uv/pull/5520)) + +### Bug fixes + +- Make `pip list --editable` conflict with `--exclude-editable` ([#5506](https://github.com/astral-sh/uv/pull/5506)) +- Add some missing reinstall-refresh calls ([#5497](https://github.com/astral-sh/uv/pull/5497)) +- Avoid warning users for missing self-extra lower bounds ([#5518](https://github.com/astral-sh/uv/pull/5518)) +- Generate hashes for `--find-links` entries ([#5544](https://github.com/astral-sh/uv/pull/5544)) +- Retain editable designation for cached wheel installs ([#5545](https://github.com/astral-sh/uv/pull/5545)) +- Use 666 rather than 644 for default permissions ([#5498](https://github.com/astral-sh/uv/pull/5498)) +- Retry on incomplete body ([#5555](https://github.com/astral-sh/uv/pull/5555)) +- Ban `--no-cache` with `--link-mode=symlink` ([#5519](https://github.com/astral-sh/uv/pull/5519)) + ## 0.2.30 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 7128660eb263..3c2366c7085f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4432,7 +4432,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.2.30" +version = "0.2.31" dependencies = [ "anstream", "anyhow", @@ -5156,7 +5156,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.30" +version = "0.2.31" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index 2cda02652183..a13aa1ac90d9 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 0.2.31 + +### Preview features + +- Allow `uv pip install` for unmanaged projects ([#5504](https://github.com/astral-sh/uv/pull/5504)) +- Compare simplified paths in Windows exclusion tests ([#5525](https://github.com/astral-sh/uv/pull/5525)) +- Respect reinstalls in cached environments ([#5499](https://github.com/astral-sh/uv/pull/5499)) +- Use `hatchling` rather than implicit `setuptools` default ([#5527](https://github.com/astral-sh/uv/pull/5527)) +- Use relocatable installs to support concurrency-safe cached environments ([#5509](https://github.com/astral-sh/uv/pull/5509)) +- Support `--editable` installs for `uv tool` ([#5454](https://github.com/astral-sh/uv/pull/5454)) +- Fix basic case of overlapping markers ([#5488](https://github.com/astral-sh/uv/pull/5488)) + ## 0.2.30 ### Preview features diff --git a/README.md b/README.md index a762e3327765..1214c139f3a6 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,8 @@ curl -LsSf https://astral.sh/uv/install.sh | sh powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # For a specific version. -curl -LsSf https://astral.sh/uv/0.2.30/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.30/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.31/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.31/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index c41d6dd19133..4cefb699e523 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.30" +version = "0.2.31" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index ef9deb4508a3..b11ffd70bbaf 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.30" +version = "0.2.31" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 6a74ace98757..b02712c2767a 100644 --- a/docs/guides/integration/pre-commit.md +++ b/docs/guides/integration/pre-commit.md @@ -7,7 +7,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.2.30 + rev: 0.2.31 hooks: # Compile requirements - id: pip-compile @@ -19,7 +19,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.2.30 + rev: 0.2.31 hooks: # Compile requirements - id: pip-compile @@ -32,7 +32,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.2.30 + rev: 0.2.31 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index e2186927fcef..727ba72eeacf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.30" +version = "0.2.31" description = "An extremely fast Python package installer and resolver, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] requires-python = ">=3.8"