From f68b2d1d5efc05acb9fe48c558d631081eff26d9 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 28 Feb 2024 15:36:22 -0500 Subject: [PATCH] Bump version to v0.1.12 (#2051) --- CHANGELOG.md | 19 +++++++++++++++++++ Cargo.lock | 2 +- README.md | 11 +++++++---- crates/uv/Cargo.toml | 2 +- pyproject.toml | 2 +- 5 files changed, 29 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7147be9c..297c6b81c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## 0.1.12 + +### CLI + +- Add a `--python` flag to allow installation into arbitrary Python interpreters ([#2000](https://github.com/astral-sh/uv/pull/2000)) +- Add a `--system` flag for opt-in non-virtualenv installs ([#2046](https://github.com/astral-sh/uv/pull/2046)) + +### Enhancements + +- Add a `--pre` alias for `--prerelease=allow` ([#2049](https://github.com/astral-sh/uv/pull/2049)) +- Enable `freeze` and `list` to introspect non-virtualenv Pythons ([#2033](https://github.com/astral-sh/uv/pull/2033)) +- Support environment variables in index URLs in requirements files ([#2036](https://github.com/astral-sh/uv/pull/2036)) +- Add `--exclude-editable` and `--exclude` args to `uv pip list` ([#1985](https://github.com/astral-sh/uv/pull/1985)) +- Always remove color codes from output file ([#2018](https://github.com/astral-sh/uv/pull/2018)) +- Support recursive extras in direct `pyproject.toml` files ([#1990](https://github.com/astral-sh/uv/pull/1990)) +- Un-cache editable requirements with dynamic metadata ([#2029](https://github.com/astral-sh/uv/pull/2029)) +- Use a non-local lock file for locking system interpreters ([#2045](https://github.com/astral-sh/uv/pull/2045)) +- Surface the `EXTERNALLY-MANAGED` message to users ([#2032](https://github.com/astral-sh/uv/pull/2032)) + ## 0.1.11 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 24ad8d511..3baa252aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4133,7 +4133,7 @@ checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" [[package]] name = "uv" -version = "0.1.11" +version = "0.1.12" dependencies = [ "anstream", "anyhow", diff --git a/README.md b/README.md index ea35fd865..f1cc3d7e4 100644 --- a/README.md +++ b/README.md @@ -174,10 +174,13 @@ its own. For example, setting `VIRTUAL_ENV=/path/to/venv` will cause uv to insta `/path/to/venv`, no matter where uv is installed. Finally, uv can also install into non-virtual environments by providing a `--python` argument to -`pip sync` or `pip install`. For example, `uv pip install --python=/path/to/python` will install -into the environment linked to the `/path/to/python` interpreter. Though we generally recommend the -use of virtual environments for dependency management, this feature can be useful for installing -into system Python installations in continuous integration or containerized environments. +`uv pip sync` or `uv pip install`. For example, `uv pip install --python=/path/to/python` will +install into the environment linked to the `/path/to/python` interpreter. + +For convenience, `uv pip install --system` will install into the system Python environment, as an +approximate shorthand for, e.g., `uv pip install --python=$(which python3)`. Though we generally +recommend the use of virtual environments for dependency management, `--system` is intended to +enable the use of `uv` in continuous integration and containerized environments. ### Git authentication diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 8489ed8fd..f2602f384 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.1.11" +version = "0.1.12" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/pyproject.toml b/pyproject.toml index 9e8c368bb..4175b0cc7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.1.11" +version = "0.1.12" 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"