diff --git a/CHANGELOG.md b/CHANGELOG.md index 13d378b8d..ee9b9979b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.2.8 + +### Bug fixes + +- Fix `uv venv` handling when `VIRTUAL_ENV` refers to an non-existant environment ([#4073](https://github.com/astral-sh/uv/pull/4073)) + ## 0.2.7 ### CLI @@ -121,7 +127,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: @@ -139,7 +145,7 @@ To align the user expecations, uv now respects the interpreter that starts it. F now prefer the `python` interpreter that was used to start uv instead of searching for a virtual environment. We now check if discovered intepreters 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 bf1e853ab..a3b3a9dd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4367,7 +4367,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" [[package]] name = "uv" -version = "0.2.7" +version = "0.2.8" dependencies = [ "anstream", "anyhow", @@ -4963,7 +4963,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.7" +version = "0.2.8" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 4c4f457b7..db98ce789 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.7" +version = "0.2.8" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 3e8b73556..2326c91f0 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.7" +version = "0.2.8" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/pyproject.toml b/pyproject.toml index 17d4ca644..f148da820 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.7" +version = "0.2.8" 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"