From 15dfb660ab7f1ccca7e57c985968a18a85bb1d86 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 15 Aug 2024 22:13:03 -0400 Subject: [PATCH] Bump version to v0.2.37 (#6134) --- CHANGELOG.md | 17 +++++++++++++++++ Cargo.lock | 4 ++-- PREVIEW-CHANGELOG.md | 25 +++++++++++++++++++++++++ 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, 52 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71e982d0db30..502bf84e6614 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.2.37 + +### Performance + +- Avoid cloning requirement for unchanged markers ([#6116](https://github.com/astral-sh/uv/pull/6116)) + +### Bug fixes + +- Fix loading of cached metadata for Git distributions with subdirectories ([#6094](https://github.com/astral-sh/uv/pull/6094)) + +### Error messages + +- Add env var to `--link-mode=copy` warning ([#6103](https://github.com/astral-sh/uv/pull/6103)) +- Avoid displaying "failed to download" on build failures for local source distributions ([#6075](https://github.com/astral-sh/uv/pull/6075)) +- Improve display of available package ranges ([#6118](https://github.com/astral-sh/uv/pull/6118)) +- Use "your requirements" consistently in resolver error messages ([#6113](https://github.com/astral-sh/uv/pull/6113)) + ## 0.2.36 ### Bug fixes diff --git a/Cargo.lock b/Cargo.lock index 543bec5ad69b..ca443cb85ca1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4464,7 +4464,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.2.36" +version = "0.2.37" dependencies = [ "anstream", "anyhow", @@ -5211,7 +5211,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.36" +version = "0.2.37" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index a1b1cb1905e6..a05c8f9af828 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## 0.2.37 + +### Preview features + +- Add `python-version-file` to GitHub integration documentation ([#6086](https://github.com/astral-sh/uv/pull/6086)) +- Always narrow markers by Python version ([#6076](https://github.com/astral-sh/uv/pull/6076)) +- Avoid warning for redundant `--no-project` ([#6111](https://github.com/astral-sh/uv/pull/6111)) +- Change the definition of `--locked` to require satisfaction check ([#6102](https://github.com/astral-sh/uv/pull/6102)) +- Improve debug log for interpreter requests during project commands ([#6120](https://github.com/astral-sh/uv/pull/6120)) +- Improve display of resolution errors for workspace member conflicts with optional dependencies ([#6123](https://github.com/astral-sh/uv/pull/6123)) +- Improve resolver error messages for single-project workspaces ([#6095](https://github.com/astral-sh/uv/pull/6095)) +- Improve resolver error messages referencing workspace members ([#6092](https://github.com/astral-sh/uv/pull/6092)) +- Invalidate `uv.lock` if registry sources are removed ([#6026](https://github.com/astral-sh/uv/pull/6026)) +- Propagate fork markers to extras ([#6065](https://github.com/astral-sh/uv/pull/6065)) +- Redact Git credentials from `pyproject.toml` ([#6074](https://github.com/astral-sh/uv/pull/6074)) +- Redact Git credentials in lockfile ([#6070](https://github.com/astral-sh/uv/pull/6070)) +- Remove 'tool' reference on `uv run` CLI ([#6110](https://github.com/astral-sh/uv/pull/6110)) +- Remove `same-graph` merging in resolver ([#6077](https://github.com/astral-sh/uv/pull/6077)) +- Strip SHA when constructing package source ([#6097](https://github.com/astral-sh/uv/pull/6097)) +- Treat Git sources as immutable in lockfile ([#6109](https://github.com/astral-sh/uv/pull/6109)) +- Use the proper singular form for workspace member dependencies in resolver errors ([#6128](https://github.com/astral-sh/uv/pull/6128)) +- Use sets rather than vectors for lockfile requirements ([#6107](https://github.com/astral-sh/uv/pull/6107)) +- Normalize `python_version` markers to `python_full_version` ([#6126](https://github.com/astral-sh/uv/pull/6126)) +- Update Pythons to include Python 3.12.5 ([#6087](https://github.com/astral-sh/uv/pull/6087)) + ## 0.2.36 ### Preview features diff --git a/README.md b/README.md index 359cbd9620d4..331c3396e36d 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,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.36/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.36/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.37/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.37/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index b99f8b21c3a8..becfbe18539c 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.36" +version = "0.2.37" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index cd003e4dfb51..13e2b1f1b55b 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.36" +version = "0.2.37" 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 652e8f442e3e..a4acdb11c382 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.2.36 + rev: 0.2.37 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.2.36 + rev: 0.2.37 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.2.36 + rev: 0.2.37 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 692a577542d0..3b0d476ff076 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.36" +version = "0.2.37" 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"