Skip to content

Releases: astral-sh/uv

0.4.8

09 Sep 21:39
956cadd
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Add support for dynamic cache keys (#7136)
  • Allow .dist-info names with dashes for post releases (#7208)
  • Use type hints in code from uv init (#7225)
  • Treat .tgz the same as .tar.gz (#7201)
  • Direct users towards uv venv to create a virtual environment (#7188)
  • Improve error message for uv init already init-ed (#7198)

Performance

  • Avoid batch prefetching for un-optimized registries (#7226)
  • Avoid iteration for singleton selections (#7195)

Bug fixes

  • Avoid extra newlines in debug logging for source builds (#7174)
  • Prune unreachable packages from --universal output (#7209)
  • Respect exclusion when collecting workspace members (#7175)
  • Use path file instead of sitecustomize.py (#7161)
  • Replace incorrect --source and --binary flags with correct --sdist and --wheel flags in uv build (#7156)

Documentation

  • Document support for UV_INSTALL_DIR (#7107)
  • List all supported sdist formats (#7168)

Install uv 0.4.8

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.8/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.8/uv-installer.ps1 | iex"

Download uv 0.4.8

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

0.4.7

07 Sep 02:46
a178051
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Add --no-emit-project and friends to uv export (#7110)
  • Add --output-file to uv export (#7109)
  • Prune unused source distributions from the cache in uv cache prune (#7112)
  • Take intersection of constraint and requirements hashes (#7108)

Performance

  • Skip metadata fetch for --no-deps and pip sync (#7127)

Bug fixes

  • Avoid panicking when encountering an invalid Python version during uv python list (#7131)
  • Write trailing newline to .python-version files (#7140)

Install uv 0.4.7

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.7/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.7/uv-installer.ps1 | iex"

Download uv 0.4.7

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

0.4.6

05 Sep 22:59
84f25e8
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Accept --build-constraints in uv build (#7085)
  • Add --require-hashes and --verify-hashes to uv build (#7094)
  • Add --show-version-specifiers to uv tool list (#7050)
  • Respect hashes in constraints files (#7093)
  • Upgrade installer scripts (#7092)
  • Allow specifying multiple packages in uv tool upgrade and uninstall (#7037)
  • Sort by implementation in uv python list (#6918)

Bug fixes

  • Invalidate lockfile when member versions change (#7102)
  • Strip fragments from direct source URLs in lockfile (#7061)
  • Support --no-build and --no-binary in uv sync et al (#7100)
  • Use distribution hash over registry hash (#7060)
  • Fix inverted log message (#7063)
  • Adjust Docker ENTRYPOINT and CMD for inherited images (#7054)

Documentation

  • Add winget to installers (#7088)
  • Document how to disable path modifications during install (#7090)
  • Document how to manually update locked package version (#7083)
  • Document official setup-uv action (#7056)
  • Update docs on .python-version file (#7051)

Install uv 0.4.6

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.6/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.6/uv-installer.ps1 | iex"

Download uv 0.4.6

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

0.4.5

04 Sep 21:16
42b6bfb
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Implement uv build (#6895)
  • Add --package support to uv build (#6990)
  • Prune unreachable packages from lockfile (#6959)
  • Prune unreachable wheels from lockfile (#6961)
  • Show build output by default in uv build (#6912)
  • Support uv build --wheel from source distributions (#6898)
  • Use the root project name for the project virtual environment prompt (#7021)

Bug fixes

  • Fix handling of inline optional dependencies in uv add (#7023)
  • Reflect exit code in uv tool run and uv run (#6994)
  • Revert pyproject.toml modifications on Ctrl-C (#7024)
  • Rollback pyproject.toml changes on all errors (#7022)
  • Use correct ordering semantics for narrowing upper-bounded Python requirements (#7031)
  • Fix segfault in Windows trampolines (#6955)
  • Remove unused __future__.annotations import in _virtualenv.py (#6996)

Documentation

  • Add documentation for uv build (#6991)
  • Add note to extra and all-extras in uv sync help (#7013)
  • Add project docs for project.scripts (#7010)
  • Fix available Docker image tag rendering and shorten list (#7017)
  • Touchup to the project environment config section (#7038)
  • Clarify precedence of uv.toml (#6986)
  • Fix available Docker tags for -slim variants (#7041)

Install uv 0.4.5

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.5/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/uv/releases/download/0.4.5/uv-installer.ps1 | iex"

Download uv 0.4.5

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

0.4.4

04 Sep 00:58
3d75df6
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Allow customizing the project environment path with UV_PROJECT_ENVIRONMENT (#6834)
  • Warn when VIRTUAL_ENV is set but will not be respected in project commands (#6864)
  • Add --no-hashes to uv export (#6954)
  • Make HTTP headers title case for backward compatibility (#6887)
  • Pin .python-version in uv init (#6869)
  • Support file:// URLs for UV_PYTHON_INSTALL_MIRROR (#6950)
  • Introduce more docker tags for uv (#6053)

Bug fixes

  • Avoid canonicalizing the cache directory (#6949)
  • Show all PyPy versions in uv python list --all-versions (#6917)
  • Avoid incorrect requires-python marker simplifications (#6268)

Documentation

  • Add documentation for UV_PROJECT_ENVIRONMENT (#6987)
  • Add optional dependencies section to the lockfile document (#6982)
  • Document use of the file:// scheme in Python installation mirrors (#6984)
  • Fix outdated references to the help menu documentation in the first steps page (#6980)
  • Show env option in CLI reference documentation (#6863)
  • Add bind mount example to docker.md (#6921)

Install uv 0.4.4

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.4/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/uv/releases/download/0.4.4/uv-installer.ps1 | iex"

Download uv 0.4.4

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

0.4.3

02 Sep 21:40
47f4ca2
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Show build backend output when --verbose is provided (#6903)
  • Allow uv sync --frozen --package without copying member pyproject.toml (#6943)

Bug fixes

  • Avoid panic with missing temporary directory (#6929)
  • Avoid updating incorrect dependencies for sorted uv add (#6939)
  • Use lower-bound semantics for all Python compatibility comparisons (#6882)

Install uv 0.4.3

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.3/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/uv/releases/download/0.4.3/uv-installer.ps1 | iex"

Download uv 0.4.3

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

0.4.2

01 Sep 17:56
736ccb9
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Adding support for .pyc files in uv run (#6886)
  • Treat missing top_level.txt as non-fatal (#6881)

Bug fixes

  • Fix is_disjoint check for supported environments (#6902)
  • Remove dangling archives in uv cache clean ${package} (#6915)
  • Error when discovered Python is incompatible with --isolated workspace (#6885)
  • Warn when discovered Python is incompatible with PEP 723 script (#6884)

Install uv 0.4.2

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.2/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/uv/releases/download/0.4.2/uv-installer.ps1 | iex"

Download uv 0.4.2

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

0.4.1

30 Aug 14:43
823f23e
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Add uv export --format requirements-txt (#6778)
  • Allow @ references in uv tool install --from (#6842)
  • Normalize version specifiers by sorting (#6333)
  • Respect the user's upper-bound in requires-python (#6824)
  • Use Windows registry to discover Python on Windows directly (#6761)
  • Hint at --no-workspace in uv init failures (#6815)
  • Update to last PyPy releases (#6784)

Bug fixes

  • Avoid deadlocks when multiple uv processes lock resources (#6790)
  • Expand tildes when matching against PATH (#6829)
  • Fix uv init --no-project alias (#6837)
  • Ignore pre-release segments when discovering via requires-python (#6813)
  • Support inline optional tables in uv add and uv remove (#6787)
  • Update default hello.py to pass ruff format (#6811)
  • Avoid stripping root for user path display (#6865)
  • Error when user-provided environments are disjoint with Python (#6841)
  • Retain alphabetical sorting for pyproject.toml in uv add operations (#6388)))

Documentation

  • Add a link to the multiple index docs in the alternative index guide (#6826)
  • Add docs for inline exclude newer in PEP 723 scripts (#6831)
  • Enumerate available Docker tags (#6768)
  • Omit [pip] section from configuration file docs (#6814)
  • Update project.urls in pyproject.toml (#6844)
  • Add docs for AWS CodeArtifact usage (#6816)

Other changes

Install uv 0.4.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.1/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/uv/releases/download/0.4.1/uv-installer.ps1 | iex"

Download uv 0.4.1

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

0.4.0

28 Aug 18:01
d9bd3bc
Compare
Choose a tag to compare

Release Notes

This release adds first-class support for Python projects that are not designed as Python packages (e.g., web applications, data science projects, etc.).

In doing so, it includes some breaking changes around uv's handling of projects. Previously, uv required that all projects could be built into distributable Python packages, and installed them into the virtual environment. Projects created by uv init always included a [build-system] definition and existing projects that did not define a [build-system] would use the legacy setuptools build backend by default.

Most users are not developing libraries that need to be packaged and published to PyPI. Instead, they're building applications using web frameworks, or running collections of Python scripts in the project's root directory. In these cases, requiring a [build-system] was confusing and error-prone. In this release, uv changes the default behavior to orient around these common use cases.

In summary, the major changes are:

  • uv no longer attempts to package and install projects that do not define a [build-system].
    • While the project itself will not be installed into the virtual environment, its dependencies will still be included.
    • The previous behavior can be recovered by setting package = true in the [tool.uv] section of your pyproject.toml.
  • uv init no longer creates a src/ directory or defines a [build-system] by default.
    • The previous behavior can be recovered with uv init --lib or uv init --app --package.
  • uv allows and recommends including [project] definitions in virtual workspace roots.
    • Previously, the uv required the [project] section to be omitted.
  • uv allows disabling packaging of projects, even if they define a [build-system], by setting package = false in the [tool.uv] section of your pyproject.toml.

See the latest documentation on build systems in projects for more details.

Enhancements

  • Add first-class support for non-packaged projects (#6585)
  • Add --app and --lib options to uv init (#6689)
  • Use virtual source label in lockfile for non-packaged dependencies (#6728)
  • Read hash from URL fragment if --hashes are omitted (#6731)
  • Support {package}@{version} in uv tool install (#6762)
  • Publish additional Docker tags without patch version (#6734)

Bug fixes

  • Accept either strings or structs for hosts (#6763)
  • Avoid including non-excluded members in parent workspaces (#6735)
  • Avoid reading stale .egg-info from mutable sources (#6714)
  • Avoid writing invalid PEP 723 scripts on tool.uv.sources (#6706)
  • Compare virtual members when invalidating lockfile (#6754)
  • Do not require workspace members to sync with --frozen (#6737)
  • Implement deserialization for trusted host (#6716)
  • Avoid showing duplicate paths in uv python list (#6740)
  • Raise an error for unclosed script tags in PEP 723 scripts (#6704)

Documentation

  • Add dependabot and renovate documentation page (#6236)
  • Bind to the host to allow connections in FastAPI Docker example (#6753)
  • Fix some broken links (#6705)
  • Update FastAPI guide for virtual projects and use uv init to create the pyproject.toml (#6752)
  • Update project documentation for the application / library concepts (#6718)
  • Update workspace documentation to remove legacy virtual projects (#6720)

Install uv 0.4.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.4.0/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/uv/releases/download/0.4.0/uv-installer.ps1 | iex"

Download uv 0.4.0

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

0.3.5

27 Aug 17:11
6c62d9f
Compare
Choose a tag to compare

Release Notes

Enhancements

  • Add support for --allow-insecure-host (aliased to --trusted-host) (#6591)
  • Read requirements from requires.txt when available (#6655)
  • Respect tool.uv.environments in pip compile --universal (#6663)
  • Use relative paths by default in uv add (#6686)
  • Improve messages for empty solves and installs (#6588)

Bug fixes

  • Avoid reusing state across tool upgrades (#6660)
  • Detect musl and error for musl Python builds (#6643)
  • Ignore send errors in installer (#6667)

Documentation

  • Add development section to Docker guide and reference new example project (#6666)
  • Add docs for constraint-dependencies and override-dependencies (#6596)
  • Clarify package priority order in pip compatibility guide (#6619)
  • Fix docs for disabling build isolation with uv sync (#6674)
  • Improve consistency of directory lookup instructions in Docker (#6665)
  • Improve lockfile concept documentation, add coverage for upgrades (#6698)
  • Shift the order of some of the Docker guide content (#6664)
  • Use python to highlight requirements and use more content tabs (#6549)

Install uv 0.3.5

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/uv/releases/download/0.3.5/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/uv/releases/download/0.3.5/uv-installer.ps1 | iex"

Download uv 0.3.5

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