From c5bf64abebe8066ddb50f83f5c0b00585441bcd9 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 2 Jul 2024 17:15:58 -0400 Subject: [PATCH] Bump version to 0.2.19 (#4738) --- CHANGELOG.md | 24 ++++++++++++++++++++++-- Cargo.lock | 4 ++-- PREVIEW-CHANGELOG.md | 24 ++++++++++++++++++++++++ README.md | 4 ++-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- pyproject.toml | 2 +- 7 files changed, 53 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e72f5df0e..b50f8dee5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 0.2.19 + +### Enhancements + +- Indicate when we retried requests during network errors ([#4725](https://github.com/astral-sh/uv/pull/4725)) + +### CLI + +- Add `--disable-pip-version-check` to compatibility arguments ([#4672](https://github.com/astral-sh/uv/pull/4672)) +- Allow `uv pip sync` to clear an environment with opt-in ([#4517](https://github.com/astral-sh/uv/pull/4517)) +- Add `--invert` to `uv pip tree` ([#4621](https://github.com/astral-sh/uv/pull/4621)) +- Omit `(*)` in `uv pip tree` for empty packages ([#4673](https://github.com/astral-sh/uv/pull/4673)) +- Add `--package` to `uv pip tree` ([#4655](https://github.com/astral-sh/uv/pull/4655)) + +### Bug fixes + +- Fix bug where git cache did not validate commits correctly ([#4698](https://github.com/astral-sh/uv/pull/4698)) +- Narrow `requires-python` requirement in resolver forks ([#4707](https://github.com/astral-sh/uv/pull/4707)) +- Fix bug when pruning the last package in `uv pip tree` ([#4652](https://github.com/astral-sh/uv/pull/4652)) + ## 0.2.18 ### CLI @@ -324,7 +344,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: @@ -342,7 +362,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 4e7b9e528..a73d11f83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4425,7 +4425,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" [[package]] name = "uv" -version = "0.2.18" +version = "0.2.19" dependencies = [ "anstream", "anyhow", @@ -5121,7 +5121,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.2.18" +version = "0.2.19" [[package]] name = "uv-virtualenv" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index e9bdc25bb..d4ae2535b 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## 0.2.19 + +### Preview features + +- Remove dangling environments in `uv tool uninstall` ([#4740](https://github.com/astral-sh/uv/pull/4740)) +- Respect upgrades in `uv tool install` ([#4736](https://github.com/astral-sh/uv/pull/4736)) +- Add PEP 723 support to `uv run` ([#4656](https://github.com/astral-sh/uv/pull/4656)) +- Add `tool dir` and `toolchain dir` commands ([#4695](https://github.com/astral-sh/uv/pull/4695)) +- Omit `pythonX.Y` segment in stdlib path for managed toolchains on Windows ([#4727](https://github.com/astral-sh/uv/pull/4727)) +- Add `uv toolchain uninstall` ([#4646](https://github.com/astral-sh/uv/pull/4646)) +- Add `uvx` alias for `uv tool run` ([#4632](https://github.com/astral-sh/uv/pull/4632)) +- Allow configuring the toolchain fetch strategy ([#4601](https://github.com/astral-sh/uv/pull/4601)) +- Drop `prefer` prefix from `toolchain-preference` values ([#4602](https://github.com/astral-sh/uv/pull/4602)) +- Enable projects to opt-out of workspace management ([#4565](https://github.com/astral-sh/uv/pull/4565)) +- Fetch managed toolchains if necessary in `uv tool install` and `uv tool run` ([#4717](https://github.com/astral-sh/uv/pull/4717)) +- Fix tool dist-info directory normalization ([#4686](https://github.com/astral-sh/uv/pull/4686)) +- Lock the toolchains directory during toolchain operations ([#4733](https://github.com/astral-sh/uv/pull/4733)) +- Log when we start solving a fork ([#4684](https://github.com/astral-sh/uv/pull/4684)) +- Reinstall entrypoints with `--force` ([#4697](https://github.com/astral-sh/uv/pull/4697)) +- Respect data scripts in `uv tool install` ([#4693](https://github.com/astral-sh/uv/pull/4693)) +- Set fork solution as preference when resolving ([#4662](https://github.com/astral-sh/uv/pull/4662)) +- Show dedicated message for tools with no entrypoints ([#4694](https://github.com/astral-sh/uv/pull/4694)) +- Support unnamed requirements in `uv tool install` ([#4716](https://github.com/astral-sh/uv/pull/4716)) + ## 0.2.18 ### Preview features diff --git a/README.md b/README.md index ec45107e2..91bb9e247 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.18/install.sh | sh -powershell -c "irm https://astral.sh/uv/0.2.18/install.ps1 | iex" +curl -LsSf https://astral.sh/uv/0.2.19/install.sh | sh +powershell -c "irm https://astral.sh/uv/0.2.19/install.ps1 | iex" # With pip. pip install uv diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 2e8572c35..51f2de7ee 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.2.18" +version = "0.2.19" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index a5d7791cc..6be58c453 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.2.18" +version = "0.2.19" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/pyproject.toml b/pyproject.toml index a218f6d61..d86f34a92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.2.18" +version = "0.2.19" 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"