From 3d844287a880eedef5b58ec7913cf8a3718e66f3 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 15 Apr 2024 14:46:21 -0500 Subject: [PATCH 1/2] Bump version to 0.1.32 --- CHANGELOG.md | 37 ++++++++++++++++++++++++++++++++++++ Cargo.lock | 4 ++-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- pyproject.toml | 2 +- 5 files changed, 42 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eba387b78390..55eacb71166e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## 0.1.32 + +### Enhancements + +- Add a `--require-hashes` command-line setting ([#2824](https://github.com/astral-sh/uv/pull/2824)) +- Add hash-checking support to `install` and `sync` ([#2945](https://github.com/astral-sh/uv/pull/2945)) +- Add support for URL requirements in `--generate-hashes` ([#2952](https://github.com/astral-sh/uv/pull/2952)) +- Allow unnamed requirements for overrides ([#2999](https://github.com/astral-sh/uv/pull/2999)) +- Enforce and backtrack on invalid versions in source metadata ([#2954](https://github.com/astral-sh/uv/pull/2954)) +- Fall back to distributions without hashes in resolver ([#2949](https://github.com/astral-sh/uv/pull/2949)) +- Implement `--emit-index-annotation` to annotate source index for each package ([#2926](https://github.com/astral-sh/uv/pull/2926)) +- Log hard-link failures ([#3015](https://github.com/astral-sh/uv/pull/3015)) +- Support free-threaded python ([#2805](https://github.com/astral-sh/uv/pull/2805)) +- Support unnamed requirements in `--require-hashes` ([#2993](https://github.com/astral-sh/uv/pull/2993)) +- Respect link mode for builds, in `uv pip compile` and for `uv venv` seed packages ([#3016](https://github.com/astral-sh/uv/pull/3016)) +- Force color for build error messages ([#3032](https://github.com/astral-sh/uv/pull/3032)) +- Surface invalid metadata as hints in error reports ([#2850](https://github.com/astral-sh/uv/pull/2850)) + +### Configuration + +- Add `UV_BREAK_SYSTEM_PACKAGES` environment variable ([#2995](https://github.com/astral-sh/uv/pull/2995)) + +### CLI + +- Remove some restrictions in argument groups ([#3001](https://github.com/astral-sh/uv/pull/3001)) + +### Bug fixes + +- Add `--find-links` source distributions to the registry cache ([#2986](https://github.com/astral-sh/uv/pull/2986)) +- Allow comments after all `requirements.txt` entries ([#3018](https://github.com/astral-sh/uv/pull/3018)) +- Avoid cache invalidation on credentials renewal ([#3010](https://github.com/astral-sh/uv/pull/3010)) +- Avoid calling `normalize_path` with relative paths that extend beyond the current directory ([#3013](https://github.com/astral-sh/uv/pull/3013)) +- Deduplicate symbolic links between `purelib` and `platlib` ([#3002](https://github.com/astral-sh/uv/pull/3002)) +- Remove unused `--output-file` from `pip install` ([#2975](https://github.com/astral-sh/uv/pull/2975)) +- Strip query string when parsing filename from HTML index ([#2961](https://github.com/astral-sh/uv/pull/2961)) +- Update hashes without `--upgrade` if not present ([#2966](https://github.com/astral-sh/uv/pull/2966)) + ## 0.1.31 ### Bug fixes diff --git a/Cargo.lock b/Cargo.lock index 2e5b05edf173..949f287e5254 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4294,7 +4294,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" [[package]] name = "uv" -version = "0.1.31" +version = "0.1.32" dependencies = [ "anstream", "anyhow", @@ -4872,7 +4872,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.1.31" +version = "0.1.32" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 47b3a0440d30..3b69d92752e1 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.1.31" +version = "0.1.32" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index b34b9757b1ed..e92718742642 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.1.31" +version = "0.1.32" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/pyproject.toml b/pyproject.toml index b4126bac96f7..ceefd08ba307 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.1.31" +version = "0.1.32" 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" From 71d0eb71167ed0a99a10ce83b85dafee4b2d6655 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 15 Apr 2024 15:04:20 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md Co-authored-by: Alex Waygood --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55eacb71166e..0f4d8491fdd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ - Fall back to distributions without hashes in resolver ([#2949](https://github.com/astral-sh/uv/pull/2949)) - Implement `--emit-index-annotation` to annotate source index for each package ([#2926](https://github.com/astral-sh/uv/pull/2926)) - Log hard-link failures ([#3015](https://github.com/astral-sh/uv/pull/3015)) -- Support free-threaded python ([#2805](https://github.com/astral-sh/uv/pull/2805)) +- Support free-threaded Python ([#2805](https://github.com/astral-sh/uv/pull/2805)) - Support unnamed requirements in `--require-hashes` ([#2993](https://github.com/astral-sh/uv/pull/2993)) - Respect link mode for builds, in `uv pip compile` and for `uv venv` seed packages ([#3016](https://github.com/astral-sh/uv/pull/3016)) - Force color for build error messages ([#3032](https://github.com/astral-sh/uv/pull/3032))