mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-01 14:31:12 +00:00
Bump version to 0.2.2 (#3774)
This commit is contained in:
parent
17ec349437
commit
e52ae0e2bc
5 changed files with 21 additions and 6 deletions
17
CHANGELOG.md
17
CHANGELOG.md
|
@ -1,5 +1,16 @@
|
|||
# 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
|
||||
|
||||
### 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,
|
||||
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:
|
||||
|
||||
|
@ -40,6 +51,10 @@ names.
|
|||
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.
|
||||
|
||||
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
|
||||
|
||||
- Rewrite Python interpreter discovery ([#3266](https://github.com/astral-sh/uv/pull/3266))
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4474,7 +4474,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
@ -5056,7 +5056,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue