fix(github-release): update uv ( 0.7.8 → 0.7.22 ) #781
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.7.8->0.7.22Release Notes
astral-sh/uv (uv)
v0.7.22Compare Source
Release Notes
Python
See the GraalPy release notes for more details.
Configuration
UV_COMPILE_BYTECODE_TIMEOUTenvironment variable (#14369)cache-controlheaders (#14620)UV_LIBCto override libc selection in multi-libc environment (#14646)Bug fixes
--all-archeswhen paired with--only-downloads(#14629)uv.tomlwhen provided via direct path (#14653)Documentation
revisionin the lockfile versioning doc (#14634)uv cache cleanprior to--reinstall(#14659)Preview features
uv python update-shell(#14627)Install uv 0.7.22
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.7.22/uv-installer.ps1 | iex"Download uv 0.7.22
v0.7.21Compare Source
Release Notes
Python
fts4,fts5,rtree, andgeopolyextensions on macOS and LinuxSee the
python-build-standalonerelease notes for more details.Enhancements
--python-platformtouv sync(#14320)uv version --bump(#13578)-wshorthand for--with(#14530)UV_HTTP_RETRIESto customize retry counts (#14544)cache-key(#13438)..) in globs incache-key(#13469)cache-keyperformance (#13469)Preview features
uv sync --output-format json(#13689)Bug fixes
uv toolif it is incompatible with--python(#14606)Documentation
include-group(#14539)setup-python(#14533)Install uv 0.7.21
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.7.21/uv-installer.ps1 | iex"Download uv 0.7.21
v0.7.20Compare Source
Release Notes
Python
See the PyPy and
python-build-standalonerelease notes for more details.Enhancements
--workspaceflag touv add(#14496)Bug fixes
uv version(#14434)uv-extractto enable retries (#14450)Rust API
NoSolutionError(#14457)ErrorTreeforNoSolutionErrorpublic (#14444)Documentation
cache-dependency-globexamples forsetup-uv(#14493)uv pip syncsuggestion withpyproject.toml(#14510)setup-uv@v6(#14490)Install uv 0.7.20
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.7.20/uv-installer.ps1 | iex"Download uv 0.7.20
v0.7.19Compare Source
Release Notes
The uv build backend is now stable, and considered ready for production use.
The uv build backend is a great choice for pure Python projects. It has reasonable defaults, with the goal of requiring zero configuration for most users, but provides flexible configuration to accommodate most Python project structures. It integrates tightly with uv, to improve messaging and user experience. It validates project metadata and structures, preventing common mistakes. And, finally, it's very fast —
uv syncon a new project (fromuv init) is 10-30x faster than with other build backends.To use uv as a build backend in an existing project, add
uv_buildto the[build-system]section in yourpyproject.toml:In a future release, it will replace
hatchlingas the default inuv init. As before, uv will remain compatible with all standards-compliant build backends.Python
See the python-build-standalone release for more details.
Enhancements
--universalpip compile (#14405)Bug fixes
sys.prefixin cached environment keys to avoid--withcollisions across projects (#14403)Documentation
Install uv 0.7.19
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.7.19/uv-installer.ps1 | iex"Download uv 0.7.19
v0.7.18Compare Source
Release Notes
Python
Added arm64 Windows Python 3.11, 3.12, 3.13, and 3.14
These are not downloaded by default, since x86-64 Python has broader ecosystem support on Windows.
However, they can be requested with
cpython-<version>-windows-aarch64.Enhancements
ManagedPythonDownload::fetch_with_retry(#14378)Preview features
Bug fixes
python_versionandpython_full_version(#14271)Documentation
Install uv 0.7.18
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.7.18/uv-installer.ps1 | iex"Download uv 0.7.18
v0.7.17Compare Source
Release Notes
Bug fixes
--withdependencies (#14340)UV_PYTHON_CACHE_DIRwhen empty (#14336)pyvenv.cfgversion conflict (#14329)Install uv 0.7.17
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.7.17/uv-installer.ps1 | iex"Download uv 0.7.17
v0.7.16Compare Source
Release Notes
Python
See the
python-build-standalonerelease notes for more details.Enhancements
~=is used as a Python version specifier without a patch version (#14008)Preview features
Performance
Bug fixes
requirements.txt(#14288)Documentation
/simplecomponent (#14251)Install uv 0.7.16
Install prebuilt binaries via shell script
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/uv/releases/download/0.7.16/uv-installer.ps1 | iex"Download uv 0.7.16