From 80d41671bccba1c85d2ab159b361fd6ebfa75b80 Mon Sep 17 00:00:00 2001
From: Zanie Blue <contact@zanie.dev>
Date: Wed, 11 Dec 2024 09:18:51 -0600
Subject: [PATCH] Bump version to 0.5.8 (#9791)

---
 CHANGELOG.md                          | 59 +++++++++++++++++++++++++++
 Cargo.lock                            |  4 +-
 README.md                             |  6 +--
 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 +-
 10 files changed, 77 insertions(+), 18 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index da3e8a89914b..7794a1f38b19 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,64 @@
 # Changelog
 
+## 0.5.8
+
+**This release does not include the `powerpc64le-unknown-linux-musl` target due to a build issue. See [#9793](https://github.com/astral-sh/uv/issues/9793) for details. If this change affects you, please file an issue with your use-case.**
+
+### Enhancements
+
+- Omit empty resolution markers in lockfile  ([#9738](https://github.com/astral-sh/uv/pull/9738))
+- Add `--install-dir` to to `uv python install` and `uninstall` commands ([#7920](https://github.com/astral-sh/uv/pull/7920))
+- Add `--show-urls` and `--only-downloads` to `uv python list` ([#8062](https://github.com/astral-sh/uv/pull/8062))
+- Add `uv python list --all-arches` ([#9782](https://github.com/astral-sh/uv/pull/9782))
+- Add `uv run --gui-script` flag for running Python scripts with `pythonw.exe` ([#9152](https://github.com/astral-sh/uv/pull/9152))
+- Allow `--gui-script` on Unix ([#9787](https://github.com/astral-sh/uv/pull/9787))
+- Allow download of Python distribution variants optimized for newer x86_64 microarchitectures ([#9781](https://github.com/astral-sh/uv/pull/9781))
+- Allow execution of `pyw` files on Unix ([#9759](https://github.com/astral-sh/uv/pull/9759))
+- Allow users to specify URLs in `project.dependencies` and `tool.uv.sources` ([#9718](https://github.com/astral-sh/uv/pull/9718))
+- Encode mutually-incompatible pairs of markers ([#9444](https://github.com/astral-sh/uv/pull/9444))
+- Improve the error message when a Python install request is not valid ([#9783](https://github.com/astral-sh/uv/pull/9783))
+- Preserve directory-level standalone build symlinks ([#9723](https://github.com/astral-sh/uv/pull/9723))
+- Add support for `uv publish --index <name>` ([#9694](https://github.com/astral-sh/uv/pull/9694))
+- Reframe `--locked` and `--frozen` as `--check` operations for `uv lock` ([#9662](https://github.com/astral-sh/uv/pull/9662))
+- Rename Python install scratch directory from `.cache` -> `.temp` ([#9756](https://github.com/astral-sh/uv/pull/9756))
+- Enable `uv tool uninstall uv` on Windows ([#8963](https://github.com/astral-sh/uv/pull/8963))
+- Improve self-dependency hint to make shadowing clear ([#9716](https://github.com/astral-sh/uv/pull/9716))
+- Refactor unavailable metadata to shrink the resolver ([#9769](https://github.com/astral-sh/uv/pull/9769))
+- Show 'depends on itself' for proxy packages ([#9717](https://github.com/astral-sh/uv/pull/9717))
+- Show a dedicated error for missing subdirectories ([#9761](https://github.com/astral-sh/uv/pull/9761))
+- Show a dedicated hint for missing `git+` prefixes ([#9789](https://github.com/astral-sh/uv/pull/9789))
+
+### Performance
+
+- Eagerly error when parsing `pyproject.toml` requirements ([#9704](https://github.com/astral-sh/uv/pull/9704))
+- Use copy-on-write when normalizing paths ([#9710](https://github.com/astral-sh/uv/pull/9710))
+
+### Bug fixes
+
+- Avoid enforcing non-conflicts in `uv export` ([#9751](https://github.com/astral-sh/uv/pull/9751))
+- Don't drop comments between items in TOML tables ([#9784](https://github.com/astral-sh/uv/pull/9784))
+- Don't fail with `--no-build` when static metadata is available ([#9785](https://github.com/astral-sh/uv/pull/9785))
+- Don't filter non-patch registry version ([#9736](https://github.com/astral-sh/uv/pull/9736))
+- Don't read metadata from stale `.egg-info` files ([#9760](https://github.com/astral-sh/uv/pull/9760))
+- Enforce correctness of self-dependencies ([#9705](https://github.com/astral-sh/uv/pull/9705))
+- Fix projects's typo in resolver error messages ([#9708](https://github.com/astral-sh/uv/pull/9708))
+- Ignore `.` prefixed directories during managed Python installation discovery ([#9786](https://github.com/astral-sh/uv/pull/9786))
+- Improve handling of invalid virtual environments during interpreter discovery ([#8086](https://github.com/astral-sh/uv/pull/8086))
+- Normalize relative paths when `--project` is specified ([#9709](https://github.com/astral-sh/uv/pull/9709))
+- Respect self-constraints on recursive extras ([#9714](https://github.com/astral-sh/uv/pull/9714))
+- Respect user settings for tracing coloring ([#9733](https://github.com/astral-sh/uv/pull/9733))
+- Retry on tar extraction errors ([#9753](https://github.com/astral-sh/uv/pull/9753))
+- Add conflict markers to the lock file ([#9370](https://github.com/astral-sh/uv/pull/9370))
+- De-duplicate resolution markers ([#9780](https://github.com/astral-sh/uv/pull/9780))
+- Avoid 403 error hint for PyTorch URLs ([#9750](https://github.com/astral-sh/uv/pull/9750))
+- Avoid treating non-existent `--find-links` as relative URLs ([#9720](https://github.com/astral-sh/uv/pull/9720))
+- Omit Windows Store `python3.13.exe` et al ([#9679](https://github.com/astral-sh/uv/pull/9679))
+- Replace executables with broken symlinks during `uv python install` ([#9706](https://github.com/astral-sh/uv/pull/9706))
+
+### Documentation
+
+- Fix build failure links ([#9740](https://github.com/astral-sh/uv/pull/9740))
+
 ## 0.5.7
 
 ### Enhancements
diff --git a/Cargo.lock b/Cargo.lock
index afff4f5625ae..d61c8712fd70 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4398,7 +4398,7 @@ checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
 
 [[package]]
 name = "uv"
-version = "0.5.7"
+version = "0.5.8"
 dependencies = [
  "anstream",
  "anyhow",
@@ -5597,7 +5597,7 @@ dependencies = [
 
 [[package]]
 name = "uv-version"
-version = "0.5.7"
+version = "0.5.8"
 
 [[package]]
 name = "uv-virtualenv"
diff --git a/README.md b/README.md
index 1f08d37a7320..0f5b1e99b842 100644
--- a/README.md
+++ b/README.md
@@ -105,7 +105,7 @@ Resolved 2 packages in 170ms
 Prepared 2 packages in 627ms
 Installed 2 packages in 1ms
  + example==0.1.0 (from file:///home/user/example)
- + ruff==0.5.7
+ + ruff==0.5.8
 
 $ uv run ruff check
 All checks passed!
@@ -145,11 +145,11 @@ Install a tool with `uv tool install`:
 $ uv tool install ruff
 Resolved 1 package in 6ms
 Installed 1 package in 2ms
- + ruff==0.5.7
+ + ruff==0.5.8
 Installed 1 executable: ruff
 
 $ ruff --version
-ruff 0.5.7
+ruff 0.5.8
 ```
 
 See the [tools documentation](https://docs.astral.sh/uv/guides/tools/) to get started.
diff --git a/crates/uv-version/Cargo.toml b/crates/uv-version/Cargo.toml
index 4f11999109bc..3eaaa3f2e54d 100644
--- a/crates/uv-version/Cargo.toml
+++ b/crates/uv-version/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "uv-version"
-version = "0.5.7"
+version = "0.5.8"
 edition = { workspace = true }
 rust-version = { workspace = true }
 homepage = { workspace = true }
diff --git a/crates/uv/Cargo.toml b/crates/uv/Cargo.toml
index 705a29554f45..7b7e8ad6db81 100644
--- a/crates/uv/Cargo.toml
+++ b/crates/uv/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "uv"
-version = "0.5.7"
+version = "0.5.8"
 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 259648a54a62..444d720ea613 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.7/install.sh | sh
+    $ curl -LsSf https://astral.sh/uv/0.5.8/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.7/install.ps1 | iex"
+    $ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.5.8/install.ps1 | iex"
     ```
 
 !!! tip
diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md
index 6237b0331398..965006bee8e7 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.7`
+- `ghcr.io/astral-sh/uv:{major}.{minor}.{patch}`, e.g., `ghcr.io/astral-sh/uv:0.5.8`
 - `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.7-alpine`.
+`ghcr.io/astral-sh/uv:{major}.{minor}-{base}`, e.g., `ghcr.io/astral-sh/uv:0.5.8-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.7 /uv /uvx /bin/
+COPY --from=ghcr.io/astral-sh/uv:0.5.8 /uv /uvx /bin/
 ```
 
 Or, with the installer:
 
 ```dockerfile
-ADD https://astral.sh/uv/0.5.7/install.sh /uv-installer.sh
+ADD https://astral.sh/uv/0.5.8/install.sh /uv-installer.sh
 ```
 
 ### Installing a project
diff --git a/docs/guides/integration/github.md b/docs/guides/integration/github.md
index 953ee533eda1..1e2b0e9c0c69 100644
--- a/docs/guides/integration/github.md
+++ b/docs/guides/integration/github.md
@@ -40,7 +40,7 @@ jobs:
         uses: astral-sh/setup-uv@v4
         with:
           # Install a specific version of uv.
-          version: "0.5.7"
+          version: "0.5.8"
 ```
 
 ## Setting up Python
diff --git a/docs/guides/integration/pre-commit.md b/docs/guides/integration/pre-commit.md
index df3dbeef80aa..09a2a13f8b52 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.5.7
+  rev: 0.5.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.5.7
+  rev: 0.5.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.5.7
+  rev: 0.5.8
   hooks:
     # Compile requirements
     - id: pip-compile
diff --git a/pyproject.toml b/pyproject.toml
index 0d5d571a8c7d..95e413095277 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "maturin"
 
 [project]
 name = "uv"
-version = "0.5.7"
+version = "0.5.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"