mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Bump version to v0.2.16 (#4561)
This commit is contained in:
parent
fc681ec738
commit
95b4aacc25
7 changed files with 48 additions and 9 deletions
28
CHANGELOG.md
28
CHANGELOG.md
|
@ -1,5 +1,29 @@
|
|||
# Changelog
|
||||
|
||||
## 0.2.16
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Add a universal resolution mode to `uv pip compile` with `--universal` ([#4505](https://github.com/astral-sh/uv/pull/4505))
|
||||
- Add support for `--no-strip-markers` in `uv pip compile` output ([#4503](https://github.com/astral-sh/uv/pull/4503))
|
||||
- Add `--no-dedupe` support to `uv pip tree` ([#4449](https://github.com/astral-sh/uv/pull/4449))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- Enable more precise environment locking with `--prefix` ([#4506](https://github.com/astral-sh/uv/pull/4506))
|
||||
- Allow local index references in `requirements.txt` files ([#4525](https://github.com/astral-sh/uv/pull/4525))
|
||||
- Allow non-`file://` paths to serve as `--index-url` values ([#4524](https://github.com/astral-sh/uv/pull/4524))
|
||||
- Make `.egg-info` filename parsing spec compliant ([#4533](https://github.com/astral-sh/uv/pull/4533))
|
||||
- Gracefully handle non-existent packages in local indexes ([#4545](https://github.com/astral-sh/uv/pull/4545))
|
||||
- Read content length from response rather than request ([#4488](https://github.com/astral-sh/uv/pull/4488))
|
||||
- Read persistent configuration from non-workspace `pyproject.toml` ([#4526](https://github.com/astral-sh/uv/pull/4526))
|
||||
- Avoid panic for invalid, non-base index URLs ([#4527](https://github.com/astral-sh/uv/pull/4527))
|
||||
|
||||
### Performance
|
||||
|
||||
- Skip submodule update for fresh clones ([#4482](https://github.com/astral-sh/uv/pull/4482))
|
||||
- Use shared client in Git fetch implementation ([#4487](https://github.com/astral-sh/uv/pull/4487))
|
||||
|
||||
## 0.2.15
|
||||
|
||||
### Enhancements
|
||||
|
@ -272,7 +296,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:
|
||||
|
||||
|
@ -290,7 +314,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
|
@ -4427,7 +4427,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
|
|||
|
||||
[[package]]
|
||||
name = "uv"
|
||||
version = "0.2.15"
|
||||
version = "0.2.16"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anyhow",
|
||||
|
@ -5101,7 +5101,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "uv-version"
|
||||
version = "0.2.15"
|
||||
version = "0.2.16"
|
||||
|
||||
[[package]]
|
||||
name = "uv-virtualenv"
|
||||
|
|
|
@ -1,5 +1,20 @@
|
|||
# Changelog
|
||||
|
||||
## 0.2.16
|
||||
|
||||
### Preview features
|
||||
|
||||
- Add `--package` argument to `uv add` and `uv remove` ([#4556](https://github.com/astral-sh/uv/pull/4556))
|
||||
- Add `uv tool install` ([#4492](https://github.com/astral-sh/uv/pull/4492))
|
||||
- Fallback to interpreter discovery in `uv run` ([#4549](https://github.com/astral-sh/uv/pull/4549))
|
||||
- Make `uv.sources` without `--preview` non-fatal ([#4558](https://github.com/astral-sh/uv/pull/4558))
|
||||
- Remove non-existent extras from lockfile ([#4479](https://github.com/astral-sh/uv/pull/4479))
|
||||
- Support conflicting URL in separate forks ([#4435](https://github.com/astral-sh/uv/pull/4435))
|
||||
- Automatically detect workspace packages in `uv add` ([#4557](https://github.com/astral-sh/uv/pull/4557))
|
||||
- Omit `distribution.sdist` from lockfile when it is redundant ([#4528](https://github.com/astral-sh/uv/pull/4528))
|
||||
- Remove `source` and `version` from lock file when unambiguous ([#4513](https://github.com/astral-sh/uv/pull/4513))
|
||||
- Allow `uv lock` to read overrides from `tool.uv` (#4108) ([#4369](https://github.com/astral-sh/uv/pull/4369))
|
||||
|
||||
## 0.2.15
|
||||
|
||||
<!-- No changes -->
|
||||
|
|
|
@ -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.15/install.sh | sh
|
||||
powershell -c "irm https://astral.sh/uv/0.2.15/install.ps1 | iex"
|
||||
curl -LsSf https://astral.sh/uv/0.2.16/install.sh | sh
|
||||
powershell -c "irm https://astral.sh/uv/0.2.16/install.ps1 | iex"
|
||||
|
||||
# With pip.
|
||||
pip install uv
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv-version"
|
||||
version = "0.2.15"
|
||||
version = "0.2.16"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "uv"
|
||||
version = "0.2.15"
|
||||
version = "0.2.16"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
homepage = { workspace = true }
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||
|
||||
[project]
|
||||
name = "uv"
|
||||
version = "0.2.15"
|
||||
version = "0.2.16"
|
||||
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