Update dependency uv to v0.5.11
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
uv (source, changelog) |
==0.5.5 -> ==0.5.11
|
Release Notes
astral-sh/uv (uv)
v0.5.11
Enhancements
- Normalize
platform_system
tosys_platform
(#9949) - Improve retry mechanisms on Windows for
copy_atomic
andwrite_atomic
(#10026) - Add nuance to prefetch logging (#9984)
- Update to
python-build-standalone 20241219
Preview features
- Build backend: Preserve executable bits for scripts in distributions (#10027)
- Build backend: Handle case where
metadata_directory
already containsdist-info
directory (#10005)
Performance
- Batch resolver pre-fetches per fork (#10029)
Bug fixes
- Allow
--script
to be provided withuv run -
(#10035) - Allow
uv run
arguments when reading fromstdin
(#10034) - Prefer higher Python lower-bounds when forking (#10007)
- Remove references to deprecated
first-match
(#10036)
Documentation
- Add
uv python install --preview
to the documentation (#10010) - Fix
uv python install --default
note about multiple requests (#10011) - Fix typo in Caching docs (#10032)
- Remove remaining references to deprecated
first-match
(#10038) - Supplement missing separators for
UV_INSTALL_DIR
directions on Windows (#9507)
v0.5.10
Enhancements
- Improve backtracking behavior when packages conflict repeatedly (#9843)
- Patch Python
sysconfig
values such asAR
atar
install time (#9905) - Patch Python
sysconfig
values such asclang
tocc
at install time (#9916) - Skip
--native-tls
inpip compile
header (#9913) - Add resolver error hint for no-binary and no-build failures (#9948)
- Improve build error messages (#9660)
- Reduce redundant Python version incompatibilities in resolver error message (#9957)
- Reduce redundant enumeration of all package versions in some resolver errors (#9885)
- Improve display of ranges when pre-releases are not allowed (#9944)
- Improve error messages for
uv remove
(#9959) - Improve phrasing for single term incompatibilities (#9953)
- Improve styling of
uv remove
dependency hints (#9960) - Omit trailing zeros on Python requirements inferred from versions (#9952)
- Show a concise error message for missing
version
field (#9912) - Use the build options value to improve hints for no wheel / source distribution errors (#9950)
Bug fixes
- Allow multiple disjoint URLs in overrides (#9893)
- Include explicit indexes in publish index choice (#9932)
- Fix Python interpreter detection for 32-bit operating systems on 64-bit hosts (#9970)
Documentation
- Fix typo "operation system" (#9971)
- Clarify uninstallation docs (#9938)
- Add a note to say that dependencies between workspace members are editable (#9363)
- Correctly document default value of
fork-strategy
setting (#9931) - Use double quotes for Windows support in examples (#9946)
- Remove
pypy
from top-level pin example (#9896) - Update references to
python-build-standalone
to reflect the transferred project (#9977) - Use a different Ruff version in documentation (#9943)
- Change example so it works as-is on
powershell
andcmd.exe
(#9903) - Clarify best practice for Python matrix strategy in GitHub Actions (#9454)
- Add documentation for
uv-lock
anduv-export
pre-commit hooks (#9872)
Preview features
- Build backend: Fix pre-PEP 639 license files (#9965)
v0.5.9
Enhancements
- Fork version selection based on
requires-python
requirements (#9827) - Patch
sysconfig
data at install time (#9857) - Remove
-isysroot
when patching sysconfig (#9860)
Configuration
Bug fixes
- Avoid
panic!()
when current directory does not exist (#9876) - Avoid reusing interpreter metadata when running under Rosetta (#9846)
- Avoid trailing slash when deserializing from lockfile (#9848)
- Fix bug in terms when collapsing unavailable versions in resolver errors (#9877)
- Fix suggestion to use
uv help python
on invalid install requests (#9820) - Skip root when assessing prefix viability (#9823)
- Avoid spurious 'Upgraded tool environment' in
uv tool upgrade
(#9870)
Rust API
- Upgrade minimum Rust version to 1.83 (#9815)
Documentation
- Document the
--fork-strategy
setting (#9887)
Preview features
- Build backend: Allow underscores in entrypoints (#9825)
v0.5.8
This release does not include the powerpc64le-unknown-linux-musl
target due to a build issue. See #9793 for details. If this change affects you, please file an issue with your use-case.
Enhancements
- Omit empty resolution markers in lockfile (#9738)
- Add
--install-dir
to touv python install
anduninstall
commands (#7920) - Add
--show-urls
and--only-downloads
touv python list
(#8062) - Add
uv python list --all-arches
(#9782) - Add
uv run --gui-script
flag for running Python scripts withpythonw.exe
(#9152) - Allow
--gui-script
on Unix (#9787) - Allow download of Python distribution variants optimized for newer x86_64 microarchitectures (#9781)
- Allow execution of
pyw
files on Unix (#9759) - Allow users to specify URLs in
project.dependencies
andtool.uv.sources
(#9718) - Encode mutually-incompatible pairs of markers (#9444)
- Improve the error message when a Python install request is not valid (#9783)
- Preserve directory-level standalone build symlinks (#9723)
- Add support for
uv publish --index <name>
(#9694) - Reframe
--locked
and--frozen
as--check
operations foruv lock
(#9662) - Rename Python install scratch directory from
.cache
->.temp
(#9756) - Enable
uv tool uninstall uv
on Windows (#8963) - Improve self-dependency hint to make shadowing clear (#9716)
- Refactor unavailable metadata to shrink the resolver (#9769)
- Show 'depends on itself' for proxy packages (#9717)
- Show a dedicated error for missing subdirectories (#9761)
- Show a dedicated hint for missing
git+
prefixes (#9789)
Performance
- Eagerly error when parsing
pyproject.toml
requirements (#9704) - Use copy-on-write when normalizing paths (#9710)
Bug fixes
- Avoid enforcing non-conflicts in
uv export
(#9751) - Don't drop comments between items in TOML tables (#9784)
- Don't fail with
--no-build
when static metadata is available (#9785) - Don't filter non-patch registry version (#9736)
- Don't read metadata from stale
.egg-info
files (#9760) - Enforce correctness of self-dependencies (#9705)
- Fix projects's typo in resolver error messages (#9708)
- Ignore
.
prefixed directories during managed Python installation discovery (#9786) - Improve handling of invalid virtual environments during interpreter discovery (#8086)
- Normalize relative paths when
--project
is specified (#9709) - Respect self-constraints on recursive extras (#9714)
- Respect user settings for tracing coloring (#9733)
- Retry on tar extraction errors (#9753)
- Add conflict markers to the lock file (#9370)
- De-duplicate resolution markers (#9780)
- Avoid 403 error hint for PyTorch URLs (#9750)
- Avoid treating non-existent
--find-links
as relative URLs (#9720) - Omit Windows Store
python3.13.exe
et al (#9679) - Replace executables with broken symlinks during
uv python install
(#9706)
Documentation
- Fix build failure links (#9740)
v0.5.7
Enhancements
- Ignore dynamic version in source dist (#9549)
- Improve build frontend error handling (#9611)
- Un-hide
uv build --no-build-logs
option (#9642) - Flag version mismatch between sdist and wheel during
uv build
(#9633) - Improve message when updater receipt is for a different uv executable (#9487)
- Add environment variable to disable writing installer metadata files (#8877)
- Add managed downloads for the latest CPython releases:
3.9.21
,3.10.16
,3.11.11
,3.12.8
, and3.13.1
(#9696)
Preview features
- Build backend: Add hint on import with preview disabled (#9691)
- Build backend: Add direct builds to the resolver and installer (#9621)
- Build backend: Add integration test for scripts (#9635)
- Build backend: Add template to
uv init
(#9661) - Build backend: Add
--list
option (#9610)
Bug fixes
- Create missing parent directories for output file of
uv export
/uv pip compile
(#9648) - Fix missing display of non-freethreaded Python 3.13 in
python list
(#9669) - Implement
Ord
andPartialOrd
without origin forRequirement
(#9624) - Include more sources to avoid lowest bound warning (#9644)
- Respect build tag priority in
uv.lock
(#9677)
Documentation
- Add
build-essentials
note to build failures doc (#9641) - Add entry-point for distroless image in GitLab documentation (#9093)
- Add documentation for
uv python pin
without aREQUEST
argument (#9631) - Add a link to
uv python pin
reference docs (#9630)
v0.5.6
Enhancements
- Add
--dry-run
touv pip uninstall
(#9557) - Allow
--constraints
and--overrides
inuv tool install
(#9547) - Display removed Python executables on uninstall (#9459)
- Warn when keyring has no password for
uv publish
(#8827) - Add suggested action when
.python-version
pin is incompatible with the project (#9590) - Improve error messages for mismatches in
tool.uv.sources
(#9482) - Use constraints in trace rather than irrelevant
requires-python
(#9529)
Preview features
- Add
uv python install --default
(#8650) - Fix Python executable installation when multiple patch versions are requested (#9607)
- Build backend: Revamp
include
/exclude
(#9525) - Build backend: Add fast path (#9556)
- Build backend: Add functions to collect file list (#9602)
- Build backend: Default excludes (#9552)
- Build backend: Refactoring before list (#9558)
- Build backend: Warn when visiting over 10k files (#9523)
Configuration
- Make
check-url
available in configuration files (#9032)
Performance
- Avoid adding non-extra package with extra dependencies (#9540)
- Avoid cloning
String
in marker evaluation (#9598)
Rust API
-
uv-pep508
: Add more methods for simplifyingextra
-related expressions (#9469)
Bug fixes
- Allow
file:
URLs to include package names (#9493) - Avoid using IDs across PubGrub states (#9538)
- Consistently enforce requested-vs.-built metadata when retrieving wheels (#9484)
- Do not show empty version specifier in
uv tool list
(#9605) - Include Git member information when getting metadata from cache (#9388)
- Include base installation directory in uv run PATH (#9585)
- Insert backslash when appending to system drive (#9488)
- Normalize paths when lowering Git dependencies (#9595)
- Omit origin when comparing requirements (#9570)
- Override
manylinux_compatible
with--python-platform
(#9526) - Pass extra when evaluating lockfile markers (#9539)
- Propagate markers for recursive extras in resolver (#9509)
- Respect path dependencies within Git dependencies (#9594)
- Support recursive extras with marker in
pip compile -r pyproject.toml
(#9535) - Don't emit unpinned warning for proxy packages (#9497)
- Fix
--refresh-package
flag mentioned as--refresh-dependency
(#9486) - Handle Windows AV/EDR file locks during script installations (#9543)
- Re-enable conflicting extra/group tests and fix regression from #9540 (#9582)
Documentation
- Add missing word to docs for
run.md
(#9527) - Add policies reference section and license document (#9367)
- Fix typo in entry point docs (#9491)
- Fix up version in prior uninstall instructions (#9485)
- Mention
uv pip
behavior in build system note (#9586) - Update build failures document (#9584)
- Correct wording for multiple sources section (#9504)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.