github astral-sh/uv 0.4.16

10 hours ago

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

File Platform Checksum
uv-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
uv-x86_64-apple-darwin.tar.gz Intel macOS checksum
uv-i686-pc-windows-msvc.zip x86 Windows checksum
uv-x86_64-pc-windows-msvc.zip x64 Windows checksum
uv-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
uv-i686-unknown-linux-gnu.tar.gz x86 Linux checksum
uv-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
uv-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum
uv-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum
uv-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
uv-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum
uv-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
uv-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum
uv-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum
uv-arm-unknown-linux-musleabihf.tar.gz ARMv6 MUSL Linux (Hardfloat) checksum
uv-armv7-unknown-linux-musleabihf.tar.gz ARMv7 MUSL Linux checksum

Don't miss a new uv release

NewReleases is sending notifications on new releases.