From 9f1ba2b967ef36d649218ea03cbb23e708bc7d03 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 2 Jan 2025 14:31:04 -0500 Subject: [PATCH] Bump version to v0.5.14 (#10279) --- CHANGELOG.md | 30 +++++++++++++++++++++++++++ Cargo.lock | 4 ++-- crates/uv-version/Cargo.toml | 2 +- crates/uv/Cargo.toml | 2 +- docs/getting-started/installation.md | 4 ++-- docs/guides/integration/docker.md | 8 +++---- docs/guides/integration/github.md | 2 +- docs/guides/integration/pre-commit.md | 6 +++--- pyproject.toml | 2 +- 9 files changed, 45 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23b3cfbac2ba..81289b3a7f5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## 0.5.14 + +### Enhancements + +- Add `--exact` flag to `uv run` ([#10198](https://github.com/astral-sh/uv/pull/10198)) +- Add `--outdated` support to `uv pip tree` ([#10199](https://github.com/astral-sh/uv/pull/10199)) +- Add a required version setting to uv ([#10248](https://github.com/astral-sh/uv/pull/10248)) +- Add loongarch64 to supported Python platform tags ([#10223](https://github.com/astral-sh/uv/pull/10223)) +- Add manylinux2014 aliases for `--python-platform` ([#10217](https://github.com/astral-sh/uv/pull/10217)) +- Add support for Python interpreters on ARMv5TE platforms ([#10234](https://github.com/astral-sh/uv/pull/10234)) +- Add support for optional `--description` in `uv init` ([#10209](https://github.com/astral-sh/uv/pull/10209)) +- Ignore empty or missing hrefs in Simple HTML ([#10276](https://github.com/astral-sh/uv/pull/10276)) +- Patch pkgconfig files after Python install ([#10189](https://github.com/astral-sh/uv/pull/10189)) + +### Performance + +- Actually use jemalloc as alternative allocator ([#10269](https://github.com/astral-sh/uv/pull/10269)) +- Parse URLs lazily in resolver ([#10259](https://github.com/astral-sh/uv/pull/10259)) +- Use `BTreeMap::range` to avoid iterating over unnecessary versions ([#10266](https://github.com/astral-sh/uv/pull/10266)) + +### Bug fixes + +- Accept directories with space names in `uv init` ([#10246](https://github.com/astral-sh/uv/pull/10246)) +- Avoid forking on version in non-universal resolutions ([#10274](https://github.com/astral-sh/uv/pull/10274)) +- Avoid stripping query parameters from URLs ([#10253](https://github.com/astral-sh/uv/pull/10253)) +- Consider workspace dependencies to be 'direct' ([#10197](https://github.com/astral-sh/uv/pull/10197)) +- Detect cyclic dependencies during builds ([#10258](https://github.com/astral-sh/uv/pull/10258)) +- Guard against self-deletion in `uv venv` and `uv tool` ([#10206](https://github.com/astral-sh/uv/pull/10206)) +- Respect static metadata for already-installed distributions ([#10242](https://github.com/astral-sh/uv/pull/10242)) + ## 0.5.13 ### Bug fixes diff --git a/Cargo.lock b/Cargo.lock index 8e45d60e9e9a..a0fc17c8a64a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4410,7 +4410,7 @@ checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" [[package]] name = "uv" -version = "0.5.13" +version = "0.5.14" dependencies = [ "anstream", "anyhow", @@ -5617,7 +5617,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.5.13" +version = "0.5.14" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 401e0a20c5eb..e12b273d3561 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.5.13" +version = "0.5.14" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 32adeb45bb3e..2ba13f820f4e 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.5.13" +version = "0.5.14" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 3e44291555a6..47a7e0fd3170 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -25,7 +25,7 @@ uv provides a standalone installer to download and install uv: Request a specific version by including it in the URL: ```console - $ curl -LsSf https://astral.sh/uv/0.5.13/install.sh | sh + $ curl -LsSf https://astral.sh/uv/0.5.14/install.sh | sh ``` === "Windows" @@ -41,7 +41,7 @@ uv provides a standalone installer to download and install uv: Request a specific version by including it in the URL: ```console - $ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.13/install.ps1 | iex" + $ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.14/install.ps1 | iex" ``` !!! tip diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 55abe014c272..1b6e92be361e 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: - `ghcr.io/astral-sh/uv:latest` -- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.13` +- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.14` - `ghcr.io/astral-sh/uv:{major}.{minor}`, e.g., `ghcr.io/astral-sh/uv:0.5` (the latest patch version) @@ -62,7 +62,7 @@ In addition, uv publishes the following images: As with the distroless image, each image is published with uv version tags as `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}-{base}` and -`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.13-alpine`. +`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.14-alpine`. For more details, see the [GitHub Container](https://github.com/astral-sh/uv/pkgs/container/uv) page. @@ -100,13 +100,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.5.13 /uv /uvx /bin/ +COPY --from=ghcr.io/astral-sh/uv:0.5.14 /uv /uvx /bin/ ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.5.13/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.5.14/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 7ed7b11d9526..022b71315941 100644 --- a/docs/guides/integration/github.md +++ b/docs/guides/integration/github.md @@ -40,7 +40,7 @@ jobs: uses: astral-sh/setup-uv@v5 with: # Install a specific version of uv. - version: "0.5.13" + version: "0.5.14" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index c41be00df52c..3eb5257e95c6 100644 --- a/docs/guides/integration/pre-commit.md +++ b/docs/guides/integration/pre-commit.md @@ -29,7 +29,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.5.13 + rev: 0.5.14 hooks: # Compile requirements - id: pip-compile @@ -41,7 +41,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.5.13 + rev: 0.5.14 hooks: # Compile requirements - id: pip-compile @@ -54,7 +54,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.5.13 + rev: 0.5.14 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index 8dadfc5b90af..3b34adc0d525 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.5.13" +version = "0.5.14" 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"