0.12.4
Added 1
- Add `uv check --no-install-project` and respect `UV_NO_INSTALL_PROJECT` to install dependencies without building or installing the project
Changed 6
- Accept whitespace before versions in noncompliant wildcard comparisons such as `Requires-Python: >= 3.5.*`
- Report a specific error when a PEP 723 closing tag contains trailing whitespace or other content
- Omit source-span carets from diagnostics for empty PEP 508 requirements
- Make the ty subprocess invoked by `uv check` honor uv's color and progress settings, including quiet mode
- Speed up resolutions with long runs of unavailable package versions by coalescing gaps in the resolver's version ranges
- Speed up Simple API parsing by deserializing PyPI and Pyx file metadata directly
Fixed 8
- Use windowed `pythonw.exe` launchers for virtual environments created from managed Python minor-version links
- Allow `uv lock` to proceed when `.venv` is an unusable project environment
- Respect `fork-strategy` when ordering forks created from `environments` or existing lockfile `resolution-markers`
- Preserve consecutive wildcard Python minor-version exclusions such as `!=3.11.*, !=3.12.*` in `uv.lock`
- Preserve inline comments on the final item in dependency arrays when `uv add` updates it
- Recover from stale base-interpreter cache metadata when an existing virtual environment exposes a version mismatch
- Prevent interpreter cache reuse across different `PYTHONEXECUTABLE` and `__PYVENV_LAUNCHER__` overrides
- Show standard styling, usage guidance, and line termination for invalid `uv version --bump` values
Security 1
- Prefer post-quantum key exchange and enable opt-in TLS diagnostics
Release Notes
Released on 2026-08-13.
Enhancements
- Prefer post-quantum key exchange and enable opt-in TLS diagnostics (#21054)
- Accept whitespace before versions in noncompliant wildcard comparisons such as
Requires-Python: >= 3.5.*(#21012) - Report a specific error when a PEP 723 closing tag contains trailing whitespace or other content (#20944)
- Omit source-span carets from diagnostics for empty PEP 508 requirements (#21094)
Preview features
- Add
uv check --no-install-projectand respectUV_NO_INSTALL_PROJECTto install dependencies without building or installing the project (#21085) - Make the ty subprocess invoked by
uv checkhonor uv's color and progress settings, including quiet mode (#21086)
Performance
- Speed up resolutions with long runs of unavailable package versions by coalescing gaps in the resolver's version ranges (#20804)
- Speed up Simple API parsing by deserializing PyPI and Pyx file metadata directly (#21041)
Bug fixes
- Use windowed
pythonw.exelaunchers for virtual environments created from managed Python minor-version links (#19235) - Allow
uv lockto proceed when.venvis an unusable project environment (#21068) - Respect
fork-strategywhen ordering forks created fromenvironmentsor existing lockfileresolution-markers(#21000) - Preserve consecutive wildcard Python minor-version exclusions such as
!=3.11.*, !=3.12.*inuv.lock(#21045) - Preserve inline comments on the final item in dependency arrays when
uv addupdates it (#21008) - Recover from stale base-interpreter cache metadata when an existing virtual environment exposes a version mismatch (#21073)
- Prevent interpreter cache reuse across different
PYTHONEXECUTABLEand__PYVENV_LAUNCHER__overrides (#21075) - Show standard styling, usage guidance, and line termination for invalid
uv version --bumpvalues (#21076)
Install uv 0.12.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.4/uv-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.12.4/uv-installer.ps1 | iex"
Download uv 0.12.4
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/uv
You can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>