chore(deps): update dependency astral-sh/uv to v0.10.0#6
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency astral-sh/uv to v0.10.0#6renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
36b94ff to
3add66c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.5.11β0.10.0Release Notes
astral-sh/uv (astral-sh/uv)
v0.10.0Compare Source
Since we released uv 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 upgradecommand,uv python install --upgrade, and automatically upgrading Python patch versions in virtual environments when a new version is installed. Theadd-boundsandextra-build-dependenciessettings are now stable. Finally, theuv workspace diranduv workspace listutilities for writing scripts against workspace members are now stable.Breaking changes
Require
--clearto remove existing virtual environments inuv venv(#β17757)Previously,
uv venvwould prompt for confirmation before removing an existing virtual environment in interactive contexts, and remove it without confirmation in non-interactive contexts. Now,uv venvrequires the--clearflag to remove an existing virtual environment. A warning for this change was added in uv 0.8.You can opt out of this behavior by passing the
--clearflag or settingUV_VENV_CLEAR=1.Error if multiple indexes include
default = true(#β17011)Previously, uv would silently accept multiple indexes with
default = trueand 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 = truefrom all but one index.Error when an
explicitindex is unnamed (#β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
nameto the explicit index or remove the entry.Install alternative Python executables using their implementation name (#β17756, #β17760)
Previously,
uv python installwould install PyPy, GraalPy, and Pyodide executables with names likepython3.10into the bin directory. Now, these executables will be named using their implementation name, e.g.,pypy3.10,graalpy3.10, andpyodide3.12, to avoid conflicting with CPython installations.You cannot opt out of this behavior.
Respect global Python version pins in
uv tool runanduv tool install(#β14112)Previously,
uv tool runanduv tool installdid not respect the global Python version pin (set viauv 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--reinstallor--pythonis provided. If the tool was previously installed with an explicit--pythonflag, the global pin will not override it.You can opt out of this behavior by providing an explicit
--pythonflag.Remove Debian Bookworm, Alpine 3.21, and Python 3.8 Docker images (#β17755)
The Debian Bookworm and Alpine 3.21 images were replaced by Debian Trixie and Alpine 3.22 as defaults in uv 0.9. 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-slimuv:alpine3.21uv:python3.8-*Use
uv:debianoruv:trixieinstead ofuv:bookworm,uv:alpineoruv:alpine3.22instead ofuv:alpine3.21, and a newer Python version instead ofuv:python3.8-*.Drop PPC64 (big endian) builds (#β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.cshfor relocatable virtual environments (#β17759)Previously,
uv venv --relocatablewould generate anactivate.cshscript that contained hardcoded paths, making it incompatible with relocation. Now, theactivate.cshscript is not generated for relocatable virtual environments.You cannot opt out of this behavior.
Require username when multiple credentials match a URL (#β16983)
When using
uv auth loginto 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 withuv 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-newerchange (#β17721)Previously, changing the
exclude-newersetting would cause package versions to be upgraded, ignoring the lockfile entirely. Now, uv will only change package versions if they are no longer within theexclude-newerrange.You can restore the previous behavior by using
--upgradeor--upgrade-packageto opt-in to package version changes.Upgrade
uv formatto Ruff 0.15.0 (#β17838)uv formatnow uses Ruff 0.15.0, which uses the 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 (#β17860)This change only affects redistributors of uv. The Cargo features used to gate test dependencies, e.g.,
pypi, have been renamed with atest-prefix for clarity, e.g.,test-pypi.Stabilizations
uv python upgradeanduv python install --upgrade(#β17766)When installing Python versions, an intermediary directory without the patch version attached will be created, and virtual environments will be transparently upgraded to new patch versions.
See the Python version documentation for more details.
uv add --boundsand theadd-boundsconfiguration option (#β17660)This does not come with any behavior changes. You will no longer see an experimental warning when using
uv add --boundsoradd-boundsin configuration.uv workspace listanduv workspace dir(#β17768)This does not come with any behavior changes. You will no longer see an experimental warning when using these commands.
extra-build-dependencies(#β17767)This does not come with any behavior changes. You will no longer see an experimental warning when using
extra-build-dependenciesin configuration.Enhancements
pyx.devas a target inuv authcommands despitePYX_API_URLdiffering (#β17856)Bug fixes
v0.9.30Compare Source
Released on 2026-02-04.
Python
Enhancements
--extraoption (#β17525)UV_HTTP_TIMEOUTerror message (#β17493)Preview features
Bug fixes
uv publishwhen using pyx (#β17832)v0.9.29Compare Source
Released on 2026-02-03.
Python
Enhancements
uv version --bump devsimilar to pre-release bumps (#β17796)uv publishserver errors (#β17787)uv publishtrace logs (#β17784)Preview features
baseanddefaultconda environment names (#β17758)Bug fixes
PYTHONHOMEinheritance when spawning different Python versions (#β17821)EqualStarandNotEqualStaroperators (#β17751)system-configurationin sandboxes (#β17829)Documentation
Security
--help(#β17745)v0.9.28Compare Source
Released on 2026-01-29.
Python
Enhancements
default = true(#β17713)Configuration
Bug fixes
uv.exeexits whenuvw.exeoruvx.exeis killed (#β17500)v0.9.27Compare Source
Released on 2026-01-26.
Python
Enhancements
-tshortform for--targettouv pipsubcommands (#β17501)uv pip freeze --excludeflag (#β17045)--systemand--no-systeminuv venv(#β17647)uv pip compileattempt to download a specified--python-versionif it can. (#β17249)exclude-newer-package(#β17665)Preview features
uv python upgrade(#β17653)Bug fixes
SSL_CERT_FILEis a directory (#β17503)Documentation
--lockedto installcargo-xwinin guide (#β17530)Other changes
v0.9.26Compare Source
Released on 2026-01-15.
Python
Enhancements
--no-sources-package(#β14910)Preview features
METADATA.jsonandWHEEL.jsonin uv build backend (#β15510)Bug fixes
Documentation
pyproject.tomlexamples for more system-level settings (#β17462)v0.9.25Compare Source
Released on 2026-01-13.
Python
Enhancements
--compile-bytecodetouv python installanduv python upgradeto compile the standard library (#β17088)exclude-newerper package (#β16854)WM_SETTINGCHANGEonuv tool update-shell(#β17404)Preview features
uv runtarget (#β17423)Bug fixes
tool@latestversion (#β17448)v0.9.24Compare Source
Released on 2026-01-09.
Bug fixes
UV_NO_SYNC=1 uv run ...(#β17391)--no-cache(#β17387)Documentation
v0.9.23Compare Source
Released on 2026-01-09.
Enhancements
RECORDfiles (#β17339)UV_PYTHON_BIN_DIRandUV_TOOL_BIN_DIR(#β17367)Preview features
Configuration
Bug fixes
armv8las an alias forarmv7lin platform tag parsing (#β17384)Documentation
index.mdsuggestion tollms.txt(#β17362)uv runuses inexact syncing by default (#β17366)v0.9.22Compare Source
Released on 2026-01-06.
Enhancements
Bug fixes
Documentation
v0.9.21Compare Source
Released on 2025-12-30.
Bug fixes
Documentation
python install --defaultdocumentation (#β9826)v0.9.20Compare Source
Released on 2025-12-29.
This is a re-release of 0.9.19, with internal crate versions incremented to enable publishing to crates.io.
v0.9.18Compare Source
Released on 2025-12-16.
Enhancements
uv publish(#β17096)uv publish(#β17130)python3.x-alpine3.23(#β17100)Configuration
--torch-backendin[tool.uv](#β17116)Performance
uv cache size(#β17015)Bug fixes
@latestrequests (#β17114)EntryTypefor file entries in tar (#β17043)pyproject.tomlindex username in lockfile comparison (#β16995)uv addwithUV_GIT_LFSset (#β17127)exclude-newerinto optional string (#β17121)Documentation
exclude-newer*(#β17079)v0.9.17Compare Source
Released on 2025-12-09.
Enhancements
torch-tensorrtandtorchaoto the PyTorch list (#β17053)--verboseinuv tool run(#β17020)exclude-newer(a.k.a., dependency cooldowns) (#β16814)Bug fixes
Documentation
source-excludereference docs (#β16832)UV_NO_DEVin Docker installs (#β17030)UV_VERSIONin docs for GitLab CI/CD (#β17040)v0.9.16Compare Source
Released on 2025-12-06.
Python
Enhancements
debugsubcommand touv pipannouncing its intentional absence (#β16966)uv add --script(#β16954)uv self update(#β16838)--no-binaryet al inuv pip compile(#β16956)--targetand--prefixinuv pip list,uv pip freeze, anduv pip show(#β16955)Preview features
uv workspace metadata(#β16988)uv auth helper --protocol bazelcommand (#β16886)Bug fixes
tool.uv.build-backend.module-namebut emit warnings (#β16928)Documentation
--projectflag help text to indicate project discovery (#β16965)COPYoverADDfor simple cases (#β16883)v0.9.15Compare Source
Released on 2025-12-02.
Python
Enhancements
--torch-backend=auto(#β16919)Configuration
UV_HIDE_BUILD_OUTPUTto omit build logs (#β16885)Bug fixes
uv-trampoline-builderbuilds from crates.io by moving bundled executables (#β16922)NO_COLORand always show the command as a header when paginguv helpoutput (#β16908)0o666permissions for flock files instead of0o777(#β16845)astral-tlto v0.7.10 (#β16887)" to narrow down a regression causing hangs in metadata retrieval (#β16938)Documentation
v0.9.14Compare Source
Released on 2025-12-01.
Performance
astral-tlto v0.7.10 to enable SIMD for HTML parsing (#β16887)Bug fixes
.zshenvover creating a new one intool update-shell(#β16866)-eflags inuv add(#β16882)Enhancements
UV_WORKING_DIRoverUV_WORKING_DIRECTORYfor consistency (#β16884)v0.9.13Compare Source
Released on 2025-11-26.
Bug fixes
--with-requirementsto load extensionless inline-metadata scripts" to fix reading of requirements files from streams (#β16861)Requires-Pythonand required environments (#β16824)Documentation
v0.9.12Compare Source
Released on 2025-11-24.
Enhancements
--with-requirementsto load extensionless inline-metadata scripts (#β16744)uv publish(#β16731)uv exportfrom overwritingpyproject.toml(#β16745)Documentation
v0.9.11Compare Source
Released on 2025-11-20.
Python
See the
python-build-standalonerelease notes for details.Enhancements
uv export(#β16523)crates.io(#β16770)Preview features
uv workspace list --paths(#β16776)uv workspace dir(#β16775)Bug fixes
uv initauthor serialization viatoml_editinline tables (#β16778)pyproject.toml(#β16734)always-authenticatewhen running under Dependabot (#β16773)Documentation
v0.9.10Compare Source
Released on 2025-11-17.
Enhancements
SSL_CERT_DIR(#β16473)uv build(#β16699)project.license-filesglob matches nothing (#β16697)pip install --target(andsync) install Python if necessary (#β16694)python_downloads_json_urlin pre-release Python version warnings (#β16737)uv python --python-downloads-json-url(#β16542)Preview features
--upgradeinuv python install(#β16676)python install --defaultfor pre-release Python versions (#β16706)uv workspace listto list workspace members (#β16691)Bug fixes
Documentation
v0.9.9Compare Source
Released on 2025-11-12.
Deprecations
--projectinuv init(#β16674)Enhancements
uv version --bump(#β16555).rcdatato store metadata (#β15068)--only-emit-workspaceand similar variants touv export(#β16681)Preview features
uv workspace dircommand (#β16678)uv workspace metadatacommand (#β16516)Configuration
UV_NO_DEFAULT_GROUPSenvironment variable (#β16645)Bug fixes
torch-model-archiverandtorch-tb-profilerfrom PyTorch backend (#β16655)Documentation
CMDpath in FastAPI Dockerfile (#β16701)v0.9.8Compare Source
Released on 2025-11-07.
Enhancements
uv export(#β16603)uv sync(#β16543)uv cache sizecommand (#β16032)+gilto require a GIL-enabled interpreter (#β16537)uv initerror for invalid directory names (#β16554)uv build -h(#β16632)Configuration
UV_NO_GROUPas an environment variable (#β16529)UV_NO_SOURCESas an environment variable (#β15883)Bug fixes
--checkand--lockedto be used together inuv lock(#β16538)default-groupsin schema (#β16575)nvidia-smi(#β15460)Documentation
uv pip listname normalization in docs (#β13210)Other changes
v0.9.7Compare Source
Released on 2025-10-30.
Enhancements
Bug fixes
uv auth tokenoutput (#β16504)--checkflag (#β16521)v0.9.6Compare Source
Released on 2025-10-29.
This release contains an upgrade to Astral's fork of
async_zip, which addresses potential sources of ZIP parsing differentials between uv and other Python packaging tooling. See GHSA-pqhf-p39g-3x64 for additional details.Security
Python
Enhancements
--cleartouv buildto remove old build artifacts (#β16371)--no-create-gitignoretouv build(#β16369)pip install --systemwhen externally managed (#β16392)uv lock --checkwith outdated lockfile will print that--checkwas passed, instead of--locked(#β16322)uv inittemplate for Maturin (#β16449)Bug fixes
uv python upgrade(#β16420)--find-linksdistributions (#β16446)uv export --frozenwhen the lockfile is outdated (#β16407)uv treewhen--packageis used with circular dependencies (#β15908)pip freeze --quiet(#β16491)uv auth login pyx.devretries to 60s (#β16498)uv add --group ... -r ...(#β16490)Documentation
v0.9.5Compare Source
Released on 2025-10-21.
This release contains an upgrade to
astral-tokio-tar, which addresses a vulnerability in tar extraction on malformed archives with mismatching size information between the ustar header and PAX extensions. While theastral-tokio-taradvisory has been graded as "high" due its potential broader impact, the specific impact to uv is low due to a lack of novel attacker capability. Specifically, uv only processes tar archives from source distributions, which already possess the capability for full arbitrary code execution by design, meaning that an attacker gains no additional capabilities throughastral-tokio-tar.Regardless, we take the hypothetical risk of parser differentials very seriously. Out of an abundance of caution, we have assigned this upgrade an advisory: GHSA-w476-p2h3-79g9
Security
astral-tokio-tarto 0.5.6 to address a parsing differential (#β16387)Enhancements
uv pip installfailure if the--systemflag is used to select an externally managed interpreter (#β16318)Bug fixes
Documentation
v0.9.4Compare Source
Released on 2025-10-17.
Enhancements
Bug fixes
uv auth tokenoutput (#β16345)v0.9.3Compare Source
Released on 2025-10-14.
Python
Enhancements
Bug fixes
v0.9.2Compare Source
Released on 2026-01-29.
Python
Enhancements
default = true(#β17713)Configuration
Bug fixes
uv.exeexits whenuvw.exeoruvx.exeis killed (#β17500)v0.9.1Compare Source
Released on 2025-12-29.
Python
Enhancements
uv pip compileto install missing python interpreters in cases where it would otherwise fail (#β17216)uv init --bare --script(#β17162)--torch-backendinuv toolcommands (#β17117)--no-binaryand--only-binary(#β17185)Preview features
uv syncwith JSON output format (#β16981)Performance
Stringallocations in deserialization (#β17221)Bug fixes
UV_PYTHON_DOWNLOAD_MIRRORinuv python list(#β16673)pylock.tomlfiles (#β17119)-in pip constraints, overrides, and excludes (#β17188)v0.9.0Compare Source
Released on 2025-10-07.
This breaking release is primarily motivated by the release of Python 3.14, which contains some breaking changes (we recommend reading the "What's new in Python 3.14" page). uv may use Python 3.14 in cases where it previously used 3.13, e.g., if you have not pinned your Python version and do not have any Python versions installed on your machine. While we think this is uncommon, we prefer to be cautious. We've included some additional small changes that could break workflows.
See our Python 3.14 blog post for some discussion of features we're excited about!
There are no breaking changes to
uv_build. If you have an upper bound in your[build-system]table, you should update it.Breaking changes
Python 3.14 is now the default stable version
The default Python version has changed from 3.13 to 3.14. This applies to Python version installation when no Python version is requested, e.g.,
uv python install. By default, uv will use the system Python version if present, so this may not cause changes to general use of uv. For example, if Python 3.13 is installed already, thenuv venvwill use that version. If no Python versions are installed on a machine and automatic downloads are enabled, uv will now use 3.14 instead of 3.13, e.g., foruv venvoruvx python. This change will not affect users who are using a.python-versionfile to pin to a specific Python version.**Allow use of free-threaded variants in Python 3.14+ without explicit o