Skip to content

Commit 7c52973

Browse files
renovate[bot]j178
andauthored
Update dependency uv to v0.10.2 (#1639)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [uv](https://pypi.org/project/uv/) ([source](https://redirect.github.com/astral-sh/uv), [changelog](https://redirect.github.com/astral-sh/uv/blob/main/CHANGELOG.md)) | `0.9.27` → `0.10.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/uv/0.10.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/uv/0.9.27/0.10.0?slim=true) | --- ### Release Notes <details> <summary>astral-sh/uv (uv)</summary> ### [`v0.10.0`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0100) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.9.30...0.10.0) Since we released uv [0.9.0](https://redirect.github.com/astral-sh/uv/releases/tag/0.9.0) in October of 2025, we've accumulated various changes that improve correctness and user experience, but could break some workflows. This release contains those changes; many have been marked as breaking out of an abundance of caution. We expect most users to be able to upgrade without making changes. This release also includes the stabilization of preview features. Python upgrades are now stable, including the `uv python upgrade` command, `uv python install --upgrade`, and automatically upgrading Python patch versions in virtual environments when a new version is installed. The `add-bounds` and `extra-build-dependencies` settings are now stable. Finally, the `uv workspace dir` and `uv workspace list` utilities for writing scripts against workspace members are now stable. ##### Breaking changes - **Require `--clear` to remove existing virtual environments in `uv venv`** ([#&#8203;17757](https://redirect.github.com/astral-sh/uv/pull/17757)) Previously, `uv venv` would prompt for confirmation before removing an existing virtual environment in interactive contexts, and remove it without confirmation in non-interactive contexts. Now, `uv venv` requires the `--clear` flag to remove an existing virtual environment. A warning for this change was added in [uv 0.8](https://redirect.github.com/astral-sh/uv/blob/main/changelogs/0.8.x.md#breaking-changes). You can opt out of this behavior by passing the `--clear` flag or setting `UV_VENV_CLEAR=1`. - **Error if multiple indexes include `default = true`** ([#&#8203;17011](https://redirect.github.com/astral-sh/uv/pull/17011)) Previously, uv would silently accept multiple indexes with `default = true` and use the first one. Now, uv will error if multiple indexes are marked as the default. You cannot opt out of this behavior. Remove `default = true` from all but one index. - **Error when an `explicit` index is unnamed** ([#&#8203;17777](https://redirect.github.com/astral-sh/uv/pull/17777)) Explicit indexes can only be used via the `[tool.uv.sources]` table, which requires referencing the index by name. Previously, uv would silently accept unnamed explicit indexes, which could never be referenced. Now, uv will error if an explicit index does not have a name. You cannot opt out of this behavior. Add a `name` to the explicit index or remove the entry. - **Install alternative Python executables using their implementation name** ([#&#8203;17756](https://redirect.github.com/astral-sh/uv/pull/17756), [#&#8203;17760](https://redirect.github.com/astral-sh/uv/pull/17760)) Previously, `uv python install` would install PyPy, GraalPy, and Pyodide executables with names like `python3.10` into the bin directory. Now, these executables will be named using their implementation name, e.g., `pypy3.10`, `graalpy3.10`, and `pyodide3.12`, to avoid conflicting with CPython installations. You cannot opt out of this behavior. - **Respect global Python version pins in `uv tool run` and `uv tool install`** ([#&#8203;14112](https://redirect.github.com/astral-sh/uv/pull/14112)) Previously, `uv tool run` and `uv tool install` did not respect the global Python version pin (set via `uv python pin --global`). Now, these commands will use the global Python version when no explicit version is requested. For `uv tool install`, if the tool is already installed, the Python version will not change unless `--reinstall` or `--python` is provided. If the tool was previously installed with an explicit `--python` flag, the global pin will not override it. You can opt out of this behavior by providing an explicit `--python` flag. - **Remove Debian Bookworm, Alpine 3.21, and Python 3.8 Docker images** ([#&#8203;17755](https://redirect.github.com/astral-sh/uv/pull/17755)) The Debian Bookworm and Alpine 3.21 images were replaced by Debian Trixie and Alpine 3.22 as defaults in [uv 0.9](https://redirect.github.com/astral-sh/uv/pull/15352). These older images are now removed. Python 3.8 images are also removed, as Python 3.8 is no longer supported in the Trixie or Alpine base images. The following image tags are no longer published: - `uv:bookworm`, `uv:bookworm-slim` - `uv:alpine3.21` - `uv:python3.8-*` Use `uv:debian` or `uv:trixie` instead of `uv:bookworm`, `uv:alpine` or `uv:alpine3.22` instead of `uv:alpine3.21`, and a newer Python version instead of `uv:python3.8-*`. - **Drop PPC64 (big endian) builds** ([#&#8203;17626](https://redirect.github.com/astral-sh/uv/pull/17626)) uv no longer provides pre-built binaries for PPC64 (big endian). This platform appears to be largely unused and is only supported on a single manylinux version. PPC64LE (little endian) builds are unaffected. Building uv from source is still supported for this platform. - **Skip generating `activate.csh` for relocatable virtual environments** ([#&#8203;17759](https://redirect.github.com/astral-sh/uv/pull/17759)) Previously, `uv venv --relocatable` would generate an `activate.csh` script that contained hardcoded paths, making it incompatible with relocation. Now, the `activate.csh` script is not generated for relocatable virtual environments. You cannot opt out of this behavior. - **Require username when multiple credentials match a URL** ([#&#8203;16983](https://redirect.github.com/astral-sh/uv/pull/16983)) When using `uv auth login` to store credentials, you can register multiple username and password combinations for the same host. Previously, when uv needed to authenticate and multiple credentials matched the URL (e.g., when retrieving a token with `uv auth token`), uv would pick the first match. Now, uv will error instead. You cannot opt out of this behavior. Include the username in the request, e.g., `uv auth token --username foo example.com`. - **Avoid invalidating the lockfile versions after an `exclude-newer` change** ([#&#8203;17721](https://redirect.github.com/astral-sh/uv/pull/17721)) Previously, changing the `exclude-newer` setting would cause package versions to be upgraded, ignoring the lockfile entirely. Now, uv will only change package versions if they are no longer within the `exclude-newer` range. You can restore the previous behavior by using `--upgrade` or `--upgrade-package` to opt-in to package version changes. - **Upgrade `uv format` to Ruff 0.15.0** ([#&#8203;17838](https://redirect.github.com/astral-sh/uv/pull/17838)) `uv format` now uses [Ruff 0.15.0](https://redirect.github.com/astral-sh/ruff/releases/tag/0.15.0), which uses the [2026 style guide](https://astral.sh/blog/ruff-v0.15.0#the-ruff-2026-style-guide). See the blog post for details. The formatting of code is likely to change. You can opt out of this behavior by requesting an older Ruff version, e.g., `uv format --version 0.14.14`. - **Update uv crate test features to use `test-` as a prefix** ([#&#8203;17860](https://redirect.github.com/astral-sh/uv/pull/17860)) This change only affects redistributors of uv. The Cargo features used to gate test dependencies, e.g., `pypi`, have been renamed with a `test-` prefix for clarity, e.g., `test-pypi`. ##### Stabilizations - **`uv python upgrade` and `uv python install --upgrade`** ([#&#8203;17766](https://redirect.github.com/astral-sh/uv/pull/17766)) When installing Python versions, an [intermediary directory](https://docs.astral.sh/uv/concepts/python-versions/#minor-version-directories) without the patch version attached will be created, and virtual environments will be transparently upgraded to new patch versions. See the [Python version documentation](https://docs.astral.sh/uv/concepts/python-versions/#upgrading-python-versions) for more details. - **`uv add --bounds` and the `add-bounds` configuration option** ([#&#8203;17660](https://redirect.github.com/astral-sh/uv/pull/17660)) This does not come with any behavior changes. You will no longer see an experimental warning when using `uv add --bounds` or `add-bounds` in configuration. - **`uv workspace list` and `uv workspace dir`** ([#&#8203;17768](https://redirect.github.com/astral-sh/uv/pull/17768)) This does not come with any behavior changes. You will no longer see an experimental warning when using these commands. - **`extra-build-dependencies`** ([#&#8203;17767](https://redirect.github.com/astral-sh/uv/pull/17767)) This does not come with any behavior changes. You will no longer see an experimental warning when using `extra-build-dependencies` in configuration. ##### Enhancements - Improve ABI tag error message phrasing ([#&#8203;17878](https://redirect.github.com/astral-sh/uv/pull/17878)) - Introduce a 10s connect timeout ([#&#8203;17733](https://redirect.github.com/astral-sh/uv/pull/17733)) - Allow using `pyx.dev` as a target in `uv auth` commands despite `PYX_API_URL` differing ([#&#8203;17856](https://redirect.github.com/astral-sh/uv/pull/17856)) ##### Bug fixes - Support all CPython ABI tag suffixes properly ([#&#8203;17817](https://redirect.github.com/astral-sh/uv/pull/17817)) - Add support for detecting PowerShell on Linux and macOS ([#&#8203;17870](https://redirect.github.com/astral-sh/uv/pull/17870)) - Retry timeout errors for streams ([#&#8203;17875](https://redirect.github.com/astral-sh/uv/pull/17875)) ### [`v0.9.30`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0930) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.9.29...0.9.30) Released on 2026-02-04. ##### Python - Add CPython 3.14.3 and 3.13.12 ([#&#8203;17849](https://redirect.github.com/astral-sh/uv/pull/17849)) ##### Enhancements - Allow comma-separated values for `--extra` option ([#&#8203;17525](https://redirect.github.com/astral-sh/uv/pull/17525)) - Check all files during a dry-run publish instead of stopping at the first failure ([#&#8203;17785](https://redirect.github.com/astral-sh/uv/pull/17785)) - Clarify `UV_HTTP_TIMEOUT` error message ([#&#8203;17493](https://redirect.github.com/astral-sh/uv/pull/17493)) ##### Preview features - Use relocatable virtual environments by default ([#&#8203;17770](https://redirect.github.com/astral-sh/uv/pull/17770)) ##### Bug fixes - Fix deadlock on token refresh in `uv publish` when using pyx ([#&#8203;17832](https://redirect.github.com/astral-sh/uv/pull/17832)) - Ignore global Python pins when incompatible with project ([#&#8203;15473](https://redirect.github.com/astral-sh/uv/pull/15473)) ### [`v0.9.29`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0929) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.9.28...0.9.29) Released on 2026-02-03. ##### Python - Update to Pyodide 0.29.3 ([#&#8203;17730](https://redirect.github.com/astral-sh/uv/pull/17730)) ##### Enhancements - Add wheel-tag-style aliases for manylinux platform names ([#&#8203;17750](https://redirect.github.com/astral-sh/uv/pull/17750)) - Hint on `uv version --bump dev` similar to pre-release bumps ([#&#8203;17796](https://redirect.github.com/astral-sh/uv/pull/17796)) - Improve display of RFC 9457 Problem Detail responses in `uv publish` server errors ([#&#8203;17787](https://redirect.github.com/astral-sh/uv/pull/17787)) - Improve the wording of publish errors during dry-run ([#&#8203;17782](https://redirect.github.com/astral-sh/uv/pull/17782)) - Set backoff to 10 retries ([#&#8203;17816](https://redirect.github.com/astral-sh/uv/pull/17816)) - Add properties to synthentic and project roots in Cyclone DX exports ([#&#8203;17820](https://redirect.github.com/astral-sh/uv/pull/17820)) - Identify the invidividual clients in `uv publish` trace logs ([#&#8203;17784](https://redirect.github.com/astral-sh/uv/pull/17784)) ##### Preview features - Remove special casing for `base` and `default` conda environment names ([#&#8203;17758](https://redirect.github.com/astral-sh/uv/pull/17758)) ##### Bug fixes - Fix `PYTHONHOME` inheritance when spawning different Python versions ([#&#8203;17821](https://redirect.github.com/astral-sh/uv/pull/17821)) - Fix wheel rejections on freethreading+debug builds ([#&#8203;17812](https://redirect.github.com/astral-sh/uv/pull/17812)) - Pad with zeros during comparisons in `EqualStar` and `NotEqualStar` operators ([#&#8203;17751](https://redirect.github.com/astral-sh/uv/pull/17751)) - Reject unknown field names in conflict declarations ([#&#8203;17727](https://redirect.github.com/astral-sh/uv/pull/17727)) - Fix panics in `system-configuration` in sandboxes ([#&#8203;17829](https://redirect.github.com/astral-sh/uv/pull/17829)) ##### Documentation - Update pip pre-release compatibility information ([#&#8203;17788](https://redirect.github.com/astral-sh/uv/pull/17788)) ##### Security - Hide a subset of environment variable values in `--help` ([#&#8203;17745](https://redirect.github.com/astral-sh/uv/pull/17745)) ### [`v0.9.28`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0928) [Compare Source](https://redirect.github.com/astral-sh/uv/compare/0.9.27...0.9.28) Released on 2026-01-29. ##### Python - Update CPython to use [OpenSSL 3.5.5](https://redirect.github.com/openssl/openssl/releases/tag/openssl-3.5.5) which includes fixes for high severity CVEs ([python-build-standalone#960](https://redirect.github.com/astral-sh/python-build-standalone/pull/960)) ##### Enhancements - Add support for Pyodide interpreter on Windows ([#&#8203;17658](https://redirect.github.com/astral-sh/uv/pull/17658)) - Warn if multiple indexes include `default = true` ([#&#8203;17713](https://redirect.github.com/astral-sh/uv/pull/17713)) - Skip uploads when validation reports 'Already uploaded' ([#&#8203;17412](https://redirect.github.com/astral-sh/uv/pull/17412)) ##### Configuration - Add a reflink alias for the "clone" link mode ([#&#8203;17724](https://redirect.github.com/astral-sh/uv/pull/17724)) ##### Bug fixes - Ensure `uv.exe` exits when `uvw.exe` or `uvx.exe` is killed ([#&#8203;17500](https://redirect.github.com/astral-sh/uv/pull/17500)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - On day 1 and 15 of the month ( * * 1,15 * * ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/j178/prek). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My44LjUiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jo <[email protected]>
1 parent 34d30bc commit 7c52973

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions: {}
1515
env:
1616
# UV_VERSION should not greater than MAX_UV_VERSION in `languages/python/uv`.
1717
# Otherwise, tests jobs will install their own uv, and it will encounter concurrency issue.
18-
UV_VERSION: "0.9.27"
18+
UV_VERSION: "0.10.2"
1919
NODE_VERSION: "20"
2020
BUN_VERSION: "1.3"
2121
GO_VERSION: "1.24"

‎.github/workflows/publish-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020
permissions: {}
2121

2222
env:
23-
UV_VERSION: "0.9.27"
23+
UV_VERSION: "0.10.2"
2424
# Match version used to compile `docs/requirements.txt`
2525
PYTHON_VERSION: "3.14"
2626

‎crates/prek/src/languages/python/uv.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use crate::store::{CacheBucket, Store};
2020
use crate::version;
2121

2222
// The version range of `uv` we will install. Should update periodically.
23-
const CUR_UV_VERSION: &str = "0.9.27";
23+
const CUR_UV_VERSION: &str = "0.10.2";
2424
static UV_VERSION_RANGE: LazyLock<VersionReq> =
2525
LazyLock::new(|| VersionReq::parse(">=0.7.0").unwrap());
2626

‎crates/prek/tests/languages/python.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ fn language_version() -> anyhow::Result<()> {
116116
.read_dir()?
117117
.flatten()
118118
.filter_map(|d| {
119+
if d.file_type().ok()?.is_symlink() {
120+
// Skip symlinks, which may point to other versions.
121+
return None;
122+
}
119123
let filename = d.file_name().to_string_lossy().to_string();
120124
if filename.starts_with('.') {
121125
None

0 commit comments

Comments
 (0)