mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Bump version to 0.2.19 (#4738)
This commit is contained in:
parent
676d550410
commit
c5bf64abeb
7 changed files with 53 additions and 9 deletions
24
CHANGELOG.md
24
CHANGELOG.md
|
@ -1,5 +1,25 @@
|
||||||
# Changelog
|
# 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
|
## 0.2.18
|
||||||
|
|
||||||
### CLI
|
### 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,
|
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
|
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:
|
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.
|
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
|
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.
|
to request the interpreter.
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4425,7 +4425,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv"
|
name = "uv"
|
||||||
version = "0.2.18"
|
version = "0.2.19"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anstream",
|
"anstream",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -5121,7 +5121,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv-version"
|
name = "uv-version"
|
||||||
version = "0.2.18"
|
version = "0.2.19"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "uv-virtualenv"
|
name = "uv-virtualenv"
|
||||||
|
|
|
@ -1,5 +1,29 @@
|
||||||
# Changelog
|
# 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
|
## 0.2.18
|
||||||
|
|
||||||
### Preview features
|
### 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"
|
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
|
||||||
|
|
||||||
# For a specific version.
|
# For a specific version.
|
||||||
curl -LsSf https://astral.sh/uv/0.2.18/install.sh | sh
|
curl -LsSf https://astral.sh/uv/0.2.19/install.sh | sh
|
||||||
powershell -c "irm https://astral.sh/uv/0.2.18/install.ps1 | iex"
|
powershell -c "irm https://astral.sh/uv/0.2.19/install.ps1 | iex"
|
||||||
|
|
||||||
# With pip.
|
# With pip.
|
||||||
pip install uv
|
pip install uv
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "uv-version"
|
name = "uv-version"
|
||||||
version = "0.2.18"
|
version = "0.2.19"
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
rust-version = { workspace = true }
|
rust-version = { workspace = true }
|
||||||
homepage = { workspace = true }
|
homepage = { workspace = true }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "uv"
|
name = "uv"
|
||||||
version = "0.2.18"
|
version = "0.2.19"
|
||||||
edition = { workspace = true }
|
edition = { workspace = true }
|
||||||
rust-version = { workspace = true }
|
rust-version = { workspace = true }
|
||||||
homepage = { workspace = true }
|
homepage = { workspace = true }
|
||||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "uv"
|
name = "uv"
|
||||||
version = "0.2.18"
|
version = "0.2.19"
|
||||||
description = "An extremely fast Python package installer and resolver, written in Rust."
|
description = "An extremely fast Python package installer and resolver, written in Rust."
|
||||||
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
|
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue