From 44041bccd2e3d72c81390a231021fbd03c66dbc1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 11 Jun 2024 17:47:25 -0700 Subject: [PATCH] Bump version to v0.2.11 (#4258) --- CHANGELOG-PREVIEW.md | 18 ++++++++++++++++++ CHANGELOG.md | 28 ++++++++++++++++++++++++++-- Cargo.lock | 4 ++-- README.md | 4 ++-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- pyproject.toml | 2 +- 7 files changed, 51 insertions(+), 9 deletions(-) diff --git a/CHANGELOG-PREVIEW.md b/CHANGELOG-PREVIEW.md index a5913319ca1b..258d67eae9c1 100644 --- a/CHANGELOG-PREVIEW.md +++ b/CHANGELOG-PREVIEW.md @@ -1,5 +1,19 @@ # Changelog +## 0.2.11 + +### Preview features + +- Add changelog for preview changes ([#4251](https://github.com/astral-sh/uv/pull/4251)) +- Allow direct URLs for dev dependencies ([#4233](https://github.com/astral-sh/uv/pull/4233)) +- Create temporary environments in dedicated cache bucket ([#4223](https://github.com/astral-sh/uv/pull/4223)) +- Improve output when an older toolchain version is already installed ([#4248](https://github.com/astral-sh/uv/pull/4248)) +- Initial implementation of `uv add` and `uv remove` ([#4193](https://github.com/astral-sh/uv/pull/4193)) +- Refactor project interpreter request for `requires-python` specifiers ([#4216](https://github.com/astral-sh/uv/pull/4216)) +- Replace `toolchain fetch` with `toolchain install` ([#4228](https://github.com/astral-sh/uv/pull/4228)) +- Support locking relative paths ([#4205](https://github.com/astral-sh/uv/pull/4205)) +- Warn when 'requires-python' does not include a lower bound ([#4234](https://github.com/astral-sh/uv/pull/4234)) + ## 0.2.10 ### Preview features @@ -76,6 +90,7 @@ + ## 0.2.3 ### Preview features @@ -86,6 +101,7 @@ + ## 0.2.1 ### Preview features @@ -122,6 +138,7 @@ + ## 0.1.43 ### Preview features @@ -143,6 +160,7 @@ + ## 0.1.40 ### Preview features diff --git a/CHANGELOG.md b/CHANGELOG.md index ab0ac31a5c40..3fdb22bf584b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## 0.2.11 + +### Enhancements + +- Add support for local directories with `--index-url` ([#4226](https://github.com/astral-sh/uv/pull/4226)) +- Add mTLS support ([#4171](https://github.com/astral-sh/uv/pull/4171)) +- Allow version specifiers to be used in Python version requests ([#4214](https://github.com/astral-sh/uv/pull/4214)) + +### Bug fixes + +- Always install as editable when duplicate dependencies are requested ([#4208](https://github.com/astral-sh/uv/pull/4208)) +- Avoid crash with `XDG_CONFIG_HOME=/dev/null` ([#4200](https://github.com/astral-sh/uv/pull/4200)) +- Improve handling of missing interpreters during discovery ([#4218](https://github.com/astral-sh/uv/pull/4218)) +- Make missing `METADATA` file a recoverable error ([#4247](https://github.com/astral-sh/uv/pull/4247)) +- Represent build tag as `u64` ([#4253](https://github.com/astral-sh/uv/pull/4253)) + +### Documentation + +- Document Windows 10 requirement ([#4210](https://github.com/astral-sh/uv/pull/4210)) + +### Release + +- Re-add `aarch64-unknown-linux-gnu` binary to release assets ([#4254](https://github.com/astral-sh/uv/pull/4254)) + ## 0.2.10 ### Enhancements @@ -168,7 +192,7 @@ requested version, skipping interpreters that are broken or do not satisfy the r Additionally, uv now allows requests for interpreter implementations such as `pypy` and `cpython`. For example, the request `--python cpython` will ignore a `python` executable that's implemented by `pypy`. These requests may -also include a version, e.g., `--python pypy@3.10`. By default, uv will accept _any_ interpreter implementation. +also include a version, e.g., `--python pypy@3.10`. By default, uv will accept *any* interpreter implementation. In summary, the following Python interpreter requests are now allowed: @@ -186,7 +210,7 @@ To align the user expectations, uv now respects the interpreter that starts it. now prefer the `python` interpreter that was used to start uv instead of searching for a virtual environment. We now check if discovered interpreters are virtual environments. This means that setting `VIRTUAL_ENV` to a Python -installation directory that is _not_ a virtual environment will no longer work. Instead, use `--system` or `--python ` +installation directory that is *not* a virtual environment will no longer work. Instead, use `--system` or `--python ` to request the interpreter. ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 5076e0fcb319..6ef076f1e812 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4368,7 +4368,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" [[package]] name = "uv" -version = "0.2.10" +version = "0.2.11" dependencies = [ "anstream", "anyhow", @@ -4961,7 +4961,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.10" +version = "0.2.11" [[package]] name = "uv-virtualenv" diff --git a/README.md b/README.md index 726cd157fb54..99fcd7e13d32 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.10/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.10/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.11/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.11/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 24a72b20c8b2..142e932855a7 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.10" +version = "0.2.11" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 37f1fb9614d9..3cc27d39520c 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.10" +version = "0.2.11" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/pyproject.toml b/pyproject.toml index 145e90b33311..299612937813 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.10" +version = "0.2.11" 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"