From 956cadd1a6c132c4c7bfd316f5b1f87097f2bf75 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 9 Sep 2024 17:19:40 -0400 Subject: [PATCH] Bump version to v0.4.8 (#7233) --- CHANGELOG.md | 29 +++++++++++++++++++++++++++ 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, 42 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a1d7dd22367..fea4a2cae90b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## 0.4.8 + +### Enhancements + +- Add support for dynamic cache keys ([#7136](https://github.com/astral-sh/uv/pull/7136)) +- Allow `.dist-info` names with dashes for post releases ([#7208](https://github.com/astral-sh/uv/pull/7208)) +- Use type hints in code from `uv init` ([#7225](https://github.com/astral-sh/uv/pull/7225)) +- Treat `.tgz` the same as `.tar.gz` ([#7201](https://github.com/astral-sh/uv/pull/7201)) +- Direct users towards `uv venv` to create a virtual environment ([#7188](https://github.com/astral-sh/uv/pull/7188)) +- Improve error message for uv init already init-ed ([#7198](https://github.com/astral-sh/uv/pull/7198)) + +### Performance + +- Avoid batch prefetching for un-optimized registries ([#7226](https://github.com/astral-sh/uv/pull/7226)) +- Avoid iteration for singleton selections ([#7195](https://github.com/astral-sh/uv/pull/7195)) + +### Bug fixes + +- Avoid extra newlines in debug logging for source builds ([#7174](https://github.com/astral-sh/uv/pull/7174)) +- Prune unreachable packages from `--universal` output ([#7209](https://github.com/astral-sh/uv/pull/7209)) +- Respect exclusion when collecting workspace members ([#7175](https://github.com/astral-sh/uv/pull/7175)) +- Use path file instead of `sitecustomize.py` ([#7161](https://github.com/astral-sh/uv/pull/7161)) +- Replace incorrect `--source` and `--binary` flags with correct `--sdist` and `--wheel` flags in `uv build` ([#7156](https://github.com/astral-sh/uv/pull/7156)) + +### Documentation + +- Document support for `UV_INSTALL_DIR` ([#7107](https://github.com/astral-sh/uv/pull/7107)) +- List all supported sdist formats ([#7168](https://github.com/astral-sh/uv/pull/7168)) + ## 0.4.7 ### Enhancements diff --git a/Cargo.lock b/Cargo.lock index 993f668d18c7..28a850fcf312 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4444,7 +4444,7 @@ checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" [[package]] name = "uv" -version = "0.4.7" +version = "0.4.8" dependencies = [ "anstream", "anyhow", @@ -5217,7 +5217,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.4.7" +version = "0.4.8" [[package]] name = "uv-virtualenv" diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml index 629bc39c703f..8fe34d68c9e2 100644 --- a/crates/uv-version/Cargo.toml +++ b/crates/uv-version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv-version" -version = "0.4.7" +version = "0.4.8" edition = { workspace = true } rust-version = { workspace = true } homepage = { workspace = true } diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml index 738a24a290ef..8a52bc41dccf 100644 --- a/crates/uv/Cargo.toml +++ b/crates/uv/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uv" -version = "0.4.7" +version = "0.4.8" 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 b78f21507a54..5b86a4c89ead 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.7` +- `uv:{major}.{minor}.{patch}`, e.g., `uv:0.4.8` - `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.7-alpine`. +`uv:{major}.{minor}.{patch}-{base}` and `uv:{major}.{minor}-{base}`, e.g., `uv:0.4.8-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.7 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.8 /uv /bin/uv ``` Or, with the installer: ```dockerfile -ADD https://astral.sh/uv/0.4.7/install.sh /uv-installer.sh +ADD https://astral.sh/uv/0.4.8/install.sh /uv-installer.sh ``` ### Installing a project diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md index 3e378a250f91..da42f1e6397a 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.7" + version: "0.4.8" ``` ## Setting up Python diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md index 3dd7dccb5da4..694b35017456 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.7 + rev: 0.4.8 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.7 + rev: 0.4.8 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.7 + rev: 0.4.8 hooks: # Compile requirements - id: pip-compile diff --git a/pyproject.toml b/pyproject.toml index c3691a71d63f..c543e347756b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "uv" -version = "0.4.7" +version = "0.4.8" 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"