mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Bump version to v0.2.22 (#4862)
This commit is contained in:
parent
d787e69f7c
commit
f5e84bbbab
7 changed files with 52 additions and 10 deletions
23
CHANGELOG.md
23
CHANGELOG.md
|
@ -1,5 +1,24 @@
|
|||
# Changelog
|
||||
|
||||
## 0.2.22
|
||||
|
||||
### CLI
|
||||
|
||||
- Add `--exclude-newer` to installer arguments ([#4785](https://github.com/astral-sh/uv/pull/4785))
|
||||
- Bold durations in CLI messages ([#4818](https://github.com/astral-sh/uv/pull/4818))
|
||||
- Drop crate description from the `uv` help menu ([#4773](https://github.com/astral-sh/uv/pull/4773))
|
||||
- Update "about" in help menu ([#4782](https://github.com/astral-sh/uv/pull/4782))
|
||||
|
||||
### Configuration
|
||||
|
||||
- Add `UV_OVERRIDE` environment variable for `--override` ([#4836](https://github.com/astral-sh/uv/pull/4836))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Always use release-only comparisons for `requires-python` ([#4794](https://github.com/astral-sh/uv/pull/4794))
|
||||
- Avoid hangs before exiting CLI ([#4793](https://github.com/astral-sh/uv/pull/4793))
|
||||
- Preserve verbatim URLs for `--find-links` ([#4838](https://github.com/astral-sh/uv/pull/4838))
|
||||
|
||||
## 0.2.21
|
||||
|
||||
- Fix issue where standalone installer failed to due missing `uvx.exe` binary on Windows ([#4756](https://github.com/astral-sh/uv/pull/4756))
|
||||
|
@ -356,7 +375,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:
|
||||
|
||||
|
@ -374,7 +393,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 <path>`
|
||||
installation directory that is *not* a virtual environment will no longer work. Instead, use `--system` or `--python <path>`
|
||||
to request the interpreter.
|
||||
|
||||
### Enhancements
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4425,7 +4425,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.2.21"
|
||||
version = "0.2.22"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
@ -5123,7 +5123,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.2.21"
|
||||
version = "0.2.22"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
@ -1,5 +1,29 @@
|
|||
# Changelog
|
||||
|
||||
## 0.2.22
|
||||
|
||||
### Preview features
|
||||
|
||||
- Always use base interpreter for cached environments ([#4805](https://github.com/astral-sh/uv/pull/4805))
|
||||
- Cache tool environments in `uv tool run` ([#4784](https://github.com/astral-sh/uv/pull/4784))
|
||||
- Check hash of downloaded python toolchain ([#4806](https://github.com/astral-sh/uv/pull/4806))
|
||||
- Remove incompatible wheels from `uv.lock` ([#4799](https://github.com/astral-sh/uv/pull/4799))
|
||||
- `uv cache prune` removes all cached environments ([#4845](https://github.com/astral-sh/uv/pull/4845))
|
||||
- Add dedicated help menu for `uvx` ([#4770](https://github.com/astral-sh/uv/pull/4770))
|
||||
- Change "toolchain" to "python" ([#4735](https://github.com/astral-sh/uv/pull/4735))
|
||||
- Create empty environment for `uv run --isolated` ([#4849](https://github.com/astral-sh/uv/pull/4849))
|
||||
- Deduplicate when install or uninstall python ([#4841](https://github.com/astral-sh/uv/pull/4841))
|
||||
- Require at least one target for toolchain uninstalls ([#4820](https://github.com/astral-sh/uv/pull/4820))
|
||||
- Resolve requirements prior to nuking tool environments ([#4788](https://github.com/astral-sh/uv/pull/4788))
|
||||
- Tweak installation language in toolchain install ([#4811](https://github.com/astral-sh/uv/pull/4811))
|
||||
- Use already-installed tools in `uv tool run` ([#4750](https://github.com/astral-sh/uv/pull/4750))
|
||||
- Use cached environments in PEP 723 execution ([#4789](https://github.com/astral-sh/uv/pull/4789))
|
||||
- Use optimized versions of managed Python on Linux ([#4775](https://github.com/astral-sh/uv/pull/4775))
|
||||
- Fill Python requests with platform information during automatic fetches ([#4810](https://github.com/astral-sh/uv/pull/4810))
|
||||
- Remove installed python for force installation ([#4807](https://github.com/astral-sh/uv/pull/4807))
|
||||
- Add tool version to list command ([#4674](https://github.com/astral-sh/uv/pull/4674))
|
||||
- Add entrypoints to tool list ([#4661](https://github.com/astral-sh/uv/pull/4661))
|
||||
|
||||
## 0.2.21
|
||||
|
||||
### Preview features
|
||||
|
@ -10,7 +34,6 @@
|
|||
|
||||
<!-- No changes -->
|
||||
|
||||
|
||||
## 0.2.19
|
||||
|
||||
### Preview features
|
||||
|
|
|
@ -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.21/install.sh | sh
|
||||
powershell -c "irm https://astral.sh/uv/0.2.21/install.ps1 | iex"
|
||||
curl -LsSf https://astral.sh/uv/0.2.22/install.sh | sh
|
||||
powershell -c "irm https://astral.sh/uv/0.2.22/install.ps1 | iex"
|
||||
|
||||
# With pip.
|
||||
pip install uv
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.2.21"
|
||||
version = "0.2.22"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.2.21"
|
||||
version = "0.2.22"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.2.21"
|
||||
version = "0.2.22"
|
||||
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