Bump version to v0.2.18 (#4650)

This commit is contained in:
Charlie Marsh 2024-06-29 14:30:01 -04:00 committed by GitHub
parent 7da3423af9
commit 13b0beb56f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 47 additions and 10 deletions

View file

@ -1,5 +1,27 @@
# Changelog
## 0.2.18
### CLI
- Make `--universal` and `--python-platform` mutually exclusive ([#4598](https://github.com/astral-sh/uv/pull/4598))
- Add `--depth` and `--prune` support to `pip tree` ([#4440](https://github.com/astral-sh/uv/pull/4440))
### Bug fixes
- Handle cycles when propagating markers ([#4595](https://github.com/astral-sh/uv/pull/4595))
- Ignore `py` not found errors during interpreter discovery ([#4620](https://github.com/astral-sh/uv/pull/4620))
- Merge markers when applying constraints ([#4648](https://github.com/astral-sh/uv/pull/4648))
- Retry on spurious failures when caching built wheels ([#4605](https://github.com/astral-sh/uv/pull/4605))
- Sort indexes during graph edge removal ([#4649](https://github.com/astral-sh/uv/pull/4649))
- Treat Python version as a lower bound in `--universal` ([#4597](https://github.com/astral-sh/uv/pull/4597))
- Fix the incorrect handling of markers in `pip tree` ([#4611](https://github.com/astral-sh/uv/pull/4611))
- Improve toolchain and environment missing error messages ([#4596](https://github.com/astral-sh/uv/pull/4596))
### Documentation
- Explicitly mention use of seed packages during `uv venv --seed` ([#4588](https://github.com/astral-sh/uv/pull/4588))
## 0.2.17
### Bug fixes
@ -302,7 +324,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:
@ -320,7 +342,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
View file

@ -4427,7 +4427,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
[[package]]
name = "uv"
version = "0.2.17"
version = "0.2.18"
dependencies = [
"anstream",
"anyhow",
@ -5105,7 +5105,7 @@ dependencies = [
[[package]]
name = "uv-version"
version = "0.2.17"
version = "0.2.18"
[[package]]
name = "uv-virtualenv"

View file

@ -1,10 +1,25 @@
# Changelog
## 0.2.18
### Preview features
- Add `uv tool list` ([#4630](https://github.com/astral-sh/uv/pull/4630))
- Add `uv tool uninstall` ([#4641](https://github.com/astral-sh/uv/pull/4641))
- Add support for specifying `name@version` in `uv tool run` ([#4572](https://github.com/astral-sh/uv/pull/4572))
- Allow `uv add` to specify optional dependency groups ([#4607](https://github.com/astral-sh/uv/pull/4607))
- Allow the package spec to be passed positionally in `uv tool install` ([#4564](https://github.com/astral-sh/uv/pull/4564))
- Avoid infinite loop for cyclic installs ([#4633](https://github.com/astral-sh/uv/pull/4633))
- Indent wheels like dependencies in the lockfile ([#4582](https://github.com/astral-sh/uv/pull/4582))
- Sync all packages in a virtual workspace ([#4636](https://github.com/astral-sh/uv/pull/4636))
- Use inline table for dependencies in lockfile ([#4581](https://github.com/astral-sh/uv/pull/4581))
- Make `source` field in lock file more structured ([#4627](https://github.com/astral-sh/uv/pull/4627))
## 0.2.17
### Preview features
- Add `--extra` to `uv add` and enable fine grained updates ([#4566](https://github.com/astral-sh/uv/pull/4566))
- Add `--extra` to `uv add` and enable fine-grained updates ([#4566](https://github.com/astral-sh/uv/pull/4566))
## 0.2.16

View file

@ -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.17/install.sh | sh
powershell -c "irm https://astral.sh/uv/0.2.17/install.ps1 | iex"
curl -LsSf https://astral.sh/uv/0.2.18/install.sh | sh
powershell -c "irm https://astral.sh/uv/0.2.18/install.ps1 | iex"
# With pip.
pip install uv

View file

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

View file

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

View file

@ -4,7 +4,7 @@ build-backend = "maturin"
[project]
name = "uv"
version = "0.2.17"
version = "0.2.18"
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"