Release Notes
Enhancements
- Add
uv publish
(#7475)
- Add a
--project
argument to run a command from a project directory (#7603)
- Display Python implementation when creating environments (#7652)
- Implement trusted publishing for
uv publish
(#7548)
- Respect lockfile preferences for
--with
requirements (#7627)
- Unhide the
--directory
option (#7653)
- Allow requesting free-threaded Python interpreters (#7431)
- Show a dedicated PubGrub hint for
--unsafe-best-match
(#7645)
- Add resolver error checking for conflicting distributions (#7595)
Bug fixes
- Avoid adding double-newlines for CRLF (#7640)
- Avoid retaining forks when
requires-python
range changes (#7624)
- Determine if pre-release Python downloads should be allowed using the version specifiers (#7638)
- Fix
link-mode=clone
for directories on Linux (#7620)
- Improve Python executable name discovery when using alternative implementations (#7649)
- Require opt-in to use alternative Python implementations (#7650)
- Use the first pre-release discovered when only pre-release Python versions are available (#7666)
Documentation
- Document environment variable that disables printing of virtual environment name in prompt (#7648)
- Remove double whitespaces from the code (#7623)
- Use anchorlinks rather than permalinks (#7626)
Preview features
- Add build backend scaffolding (#7662)
Install uv 0.4.16
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.16/uv-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/uv/releases/download/0.4.16/uv-installer.ps1 | iex"
Download uv 0.4.16