diff --git a/CHANGELOG.md b/CHANGELOG.md index a73634a0b..e72f5df0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 ` +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 cfb3310b6..ac81f107c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index 86231e8cc..e9bdc25bb 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 7d8efe7b9..ec45107e2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index c64d1923a..2e8572c35 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -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 } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 058a5a385..fe64751ae 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -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 } diff --git a/pyproject.toml b/pyproject.toml index 8e99f921b..a218f6d61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"