From 6c52f366551d9a295ff8e7a572c6168911c6599b Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 17 Sep 2024 15:48:37 -0400 Subject: [PATCH] Bump version to v0.4.11 (#7478) --- CHANGELOG.md | 39 +++++++++++++++++++++++++++ Cargo.lock | 4 +-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- docs/guides/integration/docker.md | 8 +++--- docs/guides/integration/github.md | 2 +- docs/guides/integration/pre-commit.md | 6 ++--- pyproject.toml | 2 +- 8 files changed, 52 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3439fe957ebe..1abd436df5d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## 0.4.11 + +### Enhancements + +- Add `--no-editable` support to `uv sync` and `uv export` ([#7371](https://github.com/astral-sh/uv/pull/7371)) +- Add support for `--only-dev` to `uv sync` and `uv export` ([#7367](https://github.com/astral-sh/uv/pull/7367)) +- Add support for remaining pip-supported file extensions ([#7387](https://github.com/astral-sh/uv/pull/7387)) +- Generate shell completion for `uvx` ([#7388](https://github.com/astral-sh/uv/pull/7388)) +- Include `uv export` command in `requirements.txt` output ([#7374](https://github.com/astral-sh/uv/pull/7374)) +- Prune unzipped source distributions in `uv cache prune --ci` ([#7446](https://github.com/astral-sh/uv/pull/7446)) +- Warn when trying to `uv sync` a package without build configuration ([#7420](https://github.com/astral-sh/uv/pull/7420)) +- Support requests for pre-releases in the `--python` option ([#7335](https://github.com/astral-sh/uv/pull/7335)) + +### Bug fixes + +- Avoid erroneous version warning for `.dist-info` directories ([#7444](https://github.com/astral-sh/uv/pull/7444)) +- Avoid removing seed packages for `uv venv --seed` environments ([#7410](https://github.com/astral-sh/uv/pull/7410)) +- Avoid unnecessary progress bar initializations ([#7412](https://github.com/astral-sh/uv/pull/7412)) +- Error when `tool.uv.sources` contains duplicate package names ([#7383](https://github.com/astral-sh/uv/pull/7383)) +- Include `--branch` et al when resolving unnamed URLs in `uv add` ([#7447](https://github.com/astral-sh/uv/pull/7447)) +- Include `dev-dependencies` in `--no-sources` invocations ([#7408](https://github.com/astral-sh/uv/pull/7408)) +- Include the parent interpreter in Python discovery when `--system` is used ([#7440](https://github.com/astral-sh/uv/pull/7440)) +- Respect `--no-sources` in PEP 723 scripts ([#7409](https://github.com/astral-sh/uv/pull/7409)) +- Respect `pyproject.toml` credentials from user-provided requirements ([#7474](https://github.com/astral-sh/uv/pull/7474)) +- Use consistent PyPI cache bucket ([#7443](https://github.com/astral-sh/uv/pull/7443)) +- Use unambiguous relative paths in `uv export` ([#7378](https://github.com/astral-sh/uv/pull/7378)) + +### Documentation + +- Add documentation on platform-specific dependencies ([#7411](https://github.com/astral-sh/uv/pull/7411)) +- Add documentation for passing installer options on Linux ([#6839](https://github.com/astral-sh/uv/pull/6839)) +- Separate project data from configuration settings ([#7053](https://github.com/astral-sh/uv/pull/7053)) + +### Error messages + +- Hint at missing `project.name` ([#6803](https://github.com/astral-sh/uv/pull/6803)) +- Surface dedicated `project.name` error for workspaces ([#7399](https://github.com/astral-sh/uv/pull/7399)) +- Remove duplicate warning for settings discovery errors ([#7384](https://github.com/astral-sh/uv/pull/7384)) + ## 0.4.10 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 37b3ada25853..569ebca0c44a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4459,7 +4459,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.10" +version = "0.4.11" dependencies = [ "anstream", "anyhow", @@ -5250,7 +5250,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.10" +version = "0.4.11" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index ba539a33853f..668d8b244679 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.10" +version = "0.4.11" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 4a8d9fe915af..7bceee8a02ab 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.10" +version = "0.4.11" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 90267b0cc4c8..fab8ab027760 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -21,7 +21,7 @@ $ docker run ghcr.io/astral-sh/uv --help uv provides a distroless Docker image including the `uv` binary. The following tags are published: - `uv:latest` -- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.10` +- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.11` - `uv:{major}.{minor}`, e.g., `uv:0.4` (the latest patch version) In addition, uv publishes the following images: @@ -56,7 +56,7 @@ In addition, uv publishes the following images: - `uv:python3.8-bookworm-slim` As with the distroless image, each image is published with uv version tags as -`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.10-alpine`. +`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.11-alpine`. For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) page. @@ -94,13 +94,13 @@ Note this requires `curl` to be available. In either case, it is best practice to pin to a specific uv version, e.g., with: ```dockerfile -COPY --from=ghcr.io/astral-sh/uv:0.4.10 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.11 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.10/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.11/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 37e177a031bf..aa9ac578ab01 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -40,7 +40,7 @@ jobs: uses: astral-sh/setup-uv@v2 with: # Install a specific version of uv. - version: "0.4.10" + version: "0.4.11" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 716ea7e166cb..2ee90efba301 100644 --- a/docs/guides/integration/pre-commit.md +++ b/docs/guides/integration/pre-commit.md @@ -8,7 +8,7 @@ To compile requirements via pre-commit, add the following to the `.pre-commit-co ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.4.10 + rev: 0.4.11 hooks: # Compile requirements - id: pip-compile @@ -20,7 +20,7 @@ To compile alternative files, modify `args` and `files`: ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.4.10 + rev: 0.4.11 hooks: # Compile requirements - id: pip-compile @@ -33,7 +33,7 @@ To run the hook over multiple files at the same time: ```yaml title=".pre-commit-config.yaml" - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.4.10 + rev: 0.4.11 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index ec07b8a8a248..0d8a62bac46a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.10" +version = "0.4.11" description = "An extremely fast Python package and project manager, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] requires-python = ">=3.8"