Bump version to 0.2.2 (#3774)

This commit is contained in:
Zanie Blue 2024-05-22 17:45:00 -04:00 committed by GitHub
parent 17ec349437
commit e52ae0e2bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21 additions and 6 deletions

View file

@ -1,5 +1,16 @@
# Changelog # Changelog
## 0.2.2
### Enhancements
- Report yanks for cached and resolved packages ([#3772](https://github.com/astral-sh/uv/pull/3772))
- Improve error message when default Python is not found ([#3770](https://github.com/astral-sh/uv/pull/3770))
### Bug fixes
- Do not treat interpereters discovered via `CONDA_PREFIX` as system interpreters ([#3771](https://github.com/astral-sh/uv/pull/3771))
## 0.2.1 ## 0.2.1
### Bug fixes ### Bug fixes
@ -23,7 +34,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, 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 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: In summary, the following Python interpreter requests are now allowed:
@ -40,6 +51,10 @@ names.
To align the user expecations, uv now respects the interpreter that starts it. For example, `python -m uv ...` will To align the user expecations, uv now respects the interpreter that starts it. For example, `python -m uv ...` will
now prefer the `python` interpreter that was used to start uv instead of searching for a virtual environment. 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 <path>`
to request the interpreter.
### Enhancements ### Enhancements
- Rewrite Python interpreter discovery ([#3266](https://github.com/astral-sh/uv/pull/3266)) - Rewrite Python interpreter discovery ([#3266](https://github.com/astral-sh/uv/pull/3266))

4
Cargo.lock generated
View file

@ -4474,7 +4474,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
[[package]] [[package]]
name = "uv" name = "uv"
version = "0.2.1" version = "0.2.2"
dependencies = [ dependencies = [
"anstream", "anstream",
"anyhow", "anyhow",
@ -5056,7 +5056,7 @@ dependencies = [
[[package]] [[package]]
name = "uv-version" name = "uv-version"
version = "0.2.1" version = "0.2.2"
[[package]] [[package]]
name = "uv-virtualenv" name = "uv-virtualenv"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "uv-version" name = "uv-version"
version = "0.2.1" version = "0.2.2"
edition = { workspace = true } edition = { workspace = true }
rust-version = { workspace = true } rust-version = { workspace = true }
homepage = { workspace = true } homepage = { workspace = true }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "uv" name = "uv"
version = "0.2.1" version = "0.2.2"
edition = { workspace = true } edition = { workspace = true }
rust-version = { workspace = true } rust-version = { workspace = true }
homepage = { workspace = true } homepage = { workspace = true }

View file

@ -4,7 +4,7 @@ build-backend = "maturin"
[project] [project]
name = "uv" name = "uv"
version = "0.2.1" version = "0.2.2"
description = "An extremely fast Python package installer and resolver, written in Rust." description = "An extremely fast Python package installer and resolver, written in Rust."
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
requires-python = ">=3.8" requires-python = ">=3.8"