From 95b4aacc256cfc37703693fb283737399e931a0a Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 26 Jun 2024 17:00:09 -0400 Subject: [PATCH] Bump version to v0.2.16 (#4561) --- CHANGELOG.md | 28 ++++++++++++++++++++++++++-- Cargo.lock | 4 ++-- PREVIEW-CHANGELOG.md | 15 +++++++++++++++ README.md | 4 ++-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- pyproject.toml | 2 +- 7 files changed, 48 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 410207d38..646320498 100644 --- a/CHANGELOG.md +++ b/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 ` +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 46f2c3716..13bf17cb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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" diff --git a/PREVIEW-CHANGELOG.md b/PREVIEW-CHANGELOG.md index 2b018bb92..f32ceb35c 100644 --- a/PREVIEW-CHANGELOG.md +++ b/PREVIEW-CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 4f2c65e78..7f20cccdc 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.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 diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 9becbad90..26d1f5df6 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -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 } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 108d0d8c5..e1a905696 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -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 } diff --git a/pyproject.toml b/pyproject.toml index 9d18482c2..026b27c8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"