Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv 0.3.0 #181837

Merged
merged 2 commits into from
Aug 20, 2024
Merged

uv 0.3.0 #181837

merged 2 commits into from
Aug 20, 2024

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
## Release Notes

This release introduces the uv project, tool, script, and python interfaces. If you've been following uv's development, you've probably seen these new commands behind a preview flag. Now, the interfaces are stable and ready for production-use.

These features are all documented in new, comprehensive documentation.

This release also stabilizes preview functionality in uv venv:

  • uv venv --python <version> will automatically download the Python version if required
  • uv venv will read the required Python version from the .python-version file or pyproject.toml

The uv pip interface should not be affected by any breaking changes.

Note the following changelog entries does not include all the new features since they were added incrementally as preview features. See the feature page in the documentation for a comprehensive listing, or read the blog post for more context on the new features.

Breaking changes

  • Migrate to XDG and Linux strategy for macOS directories (#5806)
  • Move concurrency settings to top-level (#4257)
  • Apply system Python filtering to executable name requests (#4309)
  • Remove --legacy-setup-py command-line argument (#4255)
  • Stabilize preview features (#6166)

Enhancements

  • Add 32-bit Windows target (#6252)
  • Add support for python_version in ... markers (#6172)
  • Allow user to constrain supported lock environments (#6210)
  • Lift requirement that .egg-info filenames must include version (#6179)
  • Change "any of" to "all of" in error messages (#6222)
  • Collapse redundant dependency clauses enumerating available versions (#6160)
  • Collapse unavailable packages in resolver errors (#6154)
  • Fix messages for unavailable packages when range is plural (#6221)
  • Improve resolver error messages when --offline is used (#6156)
  • Avoid overwriting dependencies with different markers in uv add (#6010)
  • Simplify available package version ranges when the name includes markers or extras (#6162)
  • Simplify version ranges reported for unavailable packages (#6155)
  • Rename environment-markers to resolution-markers (#6240)
  • Support uv add -r requirements.txt (#6005)

CLI

  • Hide global options in uv generate-shell-completion (#6170)
  • Show generate-shell-completion command in uv help (#6180)
  • Special-case reinstalls in environment update summaries (#6243)
  • Add output when uv add and uv remove update scripts (#6231)
  • Add support for package@latest in tool run (#6138)
  • Show python find output with -q (#6256)
  • Warn when --upgrade is passed to tool run (#6140)

Configuration

  • Allow customizing the tool install directory with UV_TOOL_BIN_DIR (#6207)

Performance

  • Use FxHash in uv-auth (#6149)

Bug fixes

  • Avoid panicking when the resolver thread encounters a closed channel (#6182)
  • Respect release-only semantics of python_full_version when constructing markers (#6171)
  • Tolerate missing [project] table in uv venv (#6178)
  • Avoid using workspace lock_path as relative root (#6157)

Documentation

  • Preview changes are now included in the standard changelog (#6259)
  • Document dynamic metadata behavior for cache (#5993)
  • Document the effect of ordering on package priority (#6211)
  • Make some edits to the workspace concept documentation (#6223)
  • Update environment variables doc (#5994)
  • Disable collapsible navigation in the documentation (#5674)
  • Document uv add and uv remove behavior with markers (#6163)
  • Document the Python installation directory (#6227)
  • Document the uv.pip section semantics (#6225)
  • Document the cache directory (#6229)
  • Document the tools directory (#6228)
  • Document yanked packages caveat during sync (#6219)
  • Link to persistent configuration options in Python versions document (#6226)
  • Link to the projects concept from the dependencies concept (#6224)
  • Improvements to the Docker installation guide (#6216)
  • Increase the size of navigation entries (#6233)
  • Install ca-certificates in docker and use pipefail (#6208)
  • Add script support to feature highlights in index (#6251)
  • Show uv generate-shell-completion in CLI documentation reference (#6146)
  • Update Docker guide for projects (#6217)
  • Use uv add --script in guide (#6215)
  • Show pinned version example on in GitHub Actions integration guide (#6234)

Install uv 0.3.0

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Download uv 0.3.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

@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Aug 20, 2024
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Aug 20, 2024
@BrewTestBot BrewTestBot added this pull request to the merge queue Aug 20, 2024
Merged via the queue into master with commit 1a852be Aug 20, 2024
15 checks passed
@BrewTestBot BrewTestBot deleted the bump-uv-0.3.0 branch August 20, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants