Bump version to v0.2.11 (#4258)

This commit is contained in:
Charlie Marsh 2024-06-11 17:47:25 -07:00 committed by GitHub
parent 1f2ad8faa2
commit 44041bccd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 51 additions and 9 deletions

View file

@ -1,5 +1,19 @@
# Changelog
## 0.2.11
### Preview features
- Add changelog for preview changes ([#4251](https://github.com/astral-sh/uv/pull/4251))
- Allow direct URLs for dev dependencies ([#4233](https://github.com/astral-sh/uv/pull/4233))
- Create temporary environments in dedicated cache bucket ([#4223](https://github.com/astral-sh/uv/pull/4223))
- Improve output when an older toolchain version is already installed ([#4248](https://github.com/astral-sh/uv/pull/4248))
- Initial implementation of `uv add` and `uv remove` ([#4193](https://github.com/astral-sh/uv/pull/4193))
- Refactor project interpreter request for `requires-python` specifiers ([#4216](https://github.com/astral-sh/uv/pull/4216))
- Replace `toolchain fetch` with `toolchain install` ([#4228](https://github.com/astral-sh/uv/pull/4228))
- Support locking relative paths ([#4205](https://github.com/astral-sh/uv/pull/4205))
- Warn when 'requires-python' does not include a lower bound ([#4234](https://github.com/astral-sh/uv/pull/4234))
## 0.2.10
### Preview features
@ -76,6 +90,7 @@
<!-- No changes -->
## 0.2.3
### Preview features
@ -86,6 +101,7 @@
<!-- No changes -->
## 0.2.1
### Preview features
@ -122,6 +138,7 @@
<!-- No changes -->
## 0.1.43
### Preview features
@ -143,6 +160,7 @@
<!-- No changes -->
## 0.1.40
### Preview features

View file

@ -1,5 +1,29 @@
# Changelog
## 0.2.11
### Enhancements
- Add support for local directories with `--index-url` ([#4226](https://github.com/astral-sh/uv/pull/4226))
- Add mTLS support ([#4171](https://github.com/astral-sh/uv/pull/4171))
- Allow version specifiers to be used in Python version requests ([#4214](https://github.com/astral-sh/uv/pull/4214))
### Bug fixes
- Always install as editable when duplicate dependencies are requested ([#4208](https://github.com/astral-sh/uv/pull/4208))
- Avoid crash with `XDG_CONFIG_HOME=/dev/null` ([#4200](https://github.com/astral-sh/uv/pull/4200))
- Improve handling of missing interpreters during discovery ([#4218](https://github.com/astral-sh/uv/pull/4218))
- Make missing `METADATA` file a recoverable error ([#4247](https://github.com/astral-sh/uv/pull/4247))
- Represent build tag as `u64` ([#4253](https://github.com/astral-sh/uv/pull/4253))
### Documentation
- Document Windows 10 requirement ([#4210](https://github.com/astral-sh/uv/pull/4210))
### Release
- Re-add `aarch64-unknown-linux-gnu` binary to release assets ([#4254](https://github.com/astral-sh/uv/pull/4254))
## 0.2.10
### Enhancements
@ -168,7 +192,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:
@ -186,7 +210,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
View file

@ -4368,7 +4368,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
[[package]]
name = "uv"
version = "0.2.10"
version = "0.2.11"
dependencies = [
"anstream",
"anyhow",
@ -4961,7 +4961,7 @@ dependencies = [
[[package]]
name = "uv-version"
version = "0.2.10"
version = "0.2.11"
[[package]]
name = "uv-virtualenv"

View file

@ -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.10/install.sh | sh
powershell -c "irm https://astral.sh/uv/0.2.10/install.ps1 | iex"
curl -LsSf https://astral.sh/uv/0.2.11/install.sh | sh
powershell -c "irm https://astral.sh/uv/0.2.11/install.ps1 | iex"
# With pip.
pip install uv

View file

@ -1,6 +1,6 @@
[package]
name = "uv-version"
version = "0.2.10"
version = "0.2.11"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }

View file

@ -1,6 +1,6 @@
[package]
name = "uv"
version = "0.2.10"
version = "0.2.11"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }

View file

@ -4,7 +4,7 @@ build-backend = "maturin"
[project]
name = "uv"
version = "0.2.10"
version = "0.2.11"
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"