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

feat(github/uv): update 0.4.1 ➼ 0.5.10 #1286

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

tinfoild[bot]
Copy link
Contributor

@tinfoild tinfoild bot commented Nov 6, 2024

This PR contains the following updates:

Package Update Change OpenSSF
uv minor 0.4.1 -> 0.5.10 OpenSSF Scorecard

Release Notes

astral-sh/uv (uv)

v0.5.10

Compare Source

Enhancements
  • Improve backtracking behavior when packages conflict repeatedly (#​9843)
  • Patch Python sysconfig values such as AR at ar install time (#​9905)
  • Patch Python sysconfig values such as clang to cc at install time (#​9916)
  • Skip --native-tls in pip 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 and cmd.exe (#​9903)
  • Clarify best practice for Python matrix strategy in GitHub Actions (#​9454)
  • Add documentation for uv-lock and uv-export pre-commit hooks (#​9872)
Preview features
  • Build backend: Fix pre-PEP 639 license files (#​9965)

v0.5.9

Compare Source

Enhancements
  • Fork version selection based on requires-python requirements (#​9827)
  • Patch sysconfig data at install time (#​9857)
  • Remove -isysroot when patching sysconfig (#​9860)
Configuration
  • Introduce a --fork-strategy preference mode (#​9868)
  • Add support for UV_OFFLINE (#​9795)
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

Compare Source

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 to uv python install and uninstall commands (#​7920)
  • Add --show-urls and --only-downloads to uv python list (#​8062)
  • Add uv python list --all-arches (#​9782)
  • Add uv run --gui-script flag for running Python scripts with pythonw.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 and tool.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 for uv 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

v0.5.7

Compare Source

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, and 3.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 and PartialOrd without origin for Requirement (#​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 a REQUEST argument (#​9631)
  • Add a link to uv python pin reference docs (#​9630)

v0.5.6

Compare Source

Enhancements
  • Add --dry-run to uv pip uninstall (#​9557)
  • Allow --constraints and --overrides in uv 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 simplifying extra-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)

v0.5.5

Compare Source

Enhancements
  • Add aliases for build backend requests (#​9294)
  • Avoid displaying empty paths (#​9312)
  • Allow constraints in uv tool upgrade (#​9375)
  • Remove conflict between --no-sync and --frozen in uv run (#​9400)
  • Respect dependency sources in overrides and constraints (#​9455)
  • Show an interpreter-focused message for --target and --prefix (#​9373)
  • Add --no-extra flag and setting (#​9387)
  • Add uv export --prune (#​9389)
  • Add dedicated error message for musl install attempts (#​9430)
  • Add various grammar changes to conflict error messages (#​9369)
  • Annotate default groups in conflict error messages (#​9368)
  • Report marker diagnostics during parsing, rather than evaluation (#​9338)
  • Use consistent formatting for build system errors (#​9340)
  • Use rich diagnostics for build failures (#​9335)
Preview features
  • Improve build backend excludes (#​9281)
  • Include PEP 639 license-files metadata during uv publish (#​9442)
Performance
  • Initialize rayon lazily (#​9435)
  • Migrate to PubGrub's arena for package names (#​9448)
Bug fixes
  • Allow dependency groups to include the containing package (#​9385)
  • Allow syncing to empty virtual environment directories (#​9427)
  • Allow system Python discovery with --target and --prefix (#​9371)
  • Don't warn when --output-file is empty (#​9417)
  • Fix Python interpreter discovery on non-glibc hosts (#​9005)
  • Fix tool.uv.dependency-metadata.[].version schema (#​9468)
  • Only respect preferences across the same indexes (#​9302)
  • Re-compile when --compile is passed to an install operation (#​9378)
  • Remove --upgrade, --no-upgrade, and --upgrade-package from uv tool upgrade (#​9318)
  • Remove dev dependencies in --all-groups --no-dev (#​9300)
  • Surface extras and group conflicts in uv export (#​9365)
  • Treat deprecated aliases as equivalent in marker algebra (#​9342)
  • Treat less compatible tags as lower priority in resolver (#​9339)
Documentation
  • Avoid referencing scikit-build (instead of scikit-build-core) (#​9320)
  • Expand entry points documentation (#​9329)
  • Fix example pyproject.toml in project concept documentation (#​9298)
  • Fix header level of "Conflicting dependencies" page (#​9330)
  • Touch-up the extension module guide (#​9293)
  • Update the dependencies documentation (#​9359)
  • Reference --no-progress option in related environment variable (#​9357)

v0.5.4

Compare Source

Enhancements
  • Accept either singular or plural values for CLI requirements (#​9196)
  • Add --all-groups to uv sync, uv run, uv export, and uv tree (#​8892)
  • Add a progress bar to uv tree --outdated and uv pip list --outdated (#​9284)
  • Add retries for Python downloads (#​9274)
  • Use exponential backoff for publish retries (#​9276)
  • Add manylinux target triples up to glibc 2.40 (#​9234)
Performance
  • Parallelize network requests in uv tree --outdated (#​9280)
  • Use zlib-rs on all platforms (#​9264)
Bug fixes
  • Avoid validating extra and group sources in build-system.requires (#​9273)
  • Catch retries with wrapped reqwest errors (#​9253)
  • Sort hashes in uv export output (#​9237)
  • Strip --index and --default-index from command header (#​9288)
Documentation
  • Add breadcrumbs to the documentation (#​9242)
  • Add minimum version to PyTorch guide (#​9247)
  • Add support for anchor redirects with client-side js (#​9212)
  • Improve content on project configuration (#​9235)
  • Improve the project creation documentation (#​9236)
  • Move the integration guides into the "Guides" section as a collapsed group (#​9245)
  • Reorganize the project concept documentation (#​9121)
  • Use the full screen height for the main content to stabilize the nav (#​9153)
Error messages
  • Add dedicated warning for empty stdin (#​9256)

v0.5.3

Compare Source

This release includes support for conflicting optional dependencies and dependency groups in the uv resolver, including the ability to specify dependency sources (like index assignment) on a per-extra or per-group basis.

For example, you can now select CPU-only vs. GPU-enabled PyTorch builds at runtime by defining conflicting extras in a pyproject.toml, and assigning different extras to different PyTorch indexes:

[project]
name = "project"
version = "0.1.0"
requires-python = ">=3.12.0"

[project.optional-dependencies]

v0.5.2

Compare Source

Enhancements
  • Hide --no-system from uv pip tree CLI (#​9040)
  • Allow configuration of Python and PyPy install mirrors in uv.toml (#​8695)
  • Allow passing Python download mirrors to uv python install (#​8695)
  • Add support for specifying conflicting extras and dependency groups (#​8976, #​9096)
  • Consistent colon usage in build failure errors (#​8994)
  • Show full derivation chain when encountering build failures (#​9108)
  • Show link we failed on parsing index pages (#​9118)
  • Remove duplicate log when searching for interpreters (#​9092)
  • Update uv development status classifier to "Stable" on PyPI (#​8943)
  • Use rich diagnostic formatting for early build failures (#​9041)
  • Use rich diagnostic formatting for install failures (#​9043)
Performance
  • Avoid retraversing filesystem when testing exact glob matches (#​9022)
Bug fixes
  • Allow --no-build to validate lock (#​9024)
  • Allow default indexes to be marked as explicit (#​8990)
  • Avoid creating .venv in uv add --frozen and uv add --no-sync (#​8980)
  • Avoid duplicating first-entry comments in uv add (#​9109)
  • Defer reporting of build failures in resolver (#​9098)
  • Fix references to --resolution-strategy in error message output (#​8971)
  • Ignore virtual environments in parent directories when choosing Python version for new projects (#​9075)
  • Forward SIGTERM to child processes in uv run (#​8933)
  • Prefer Python executable names that match the request over default names (#​9066)
  • Prefer compatible to incompatible distributions when packages exist on multiple indexes (#​8961)
  • Publish: Ignore non-matching files (#​8986)
  • Revert uv.lock changes when uv add fails (#​9030)
  • Show file extensions on available commands when not .exe (#​9099)
  • Sort by name, then specifiers in uv add (#​9097)
  • Split after specifiers in --with requirements (#​9089)
  • Support multiple extras in universal pip compile output (#​8960)
Preview features
  • Build backend: Add tests for source tree -> source dist -> wheel conversions (#​9091)
  • Build backend: Switch to custom glob-walkdir implementation (#​9013)
  • Build backend: Add minimal wheel settings (#​9085)
Documentation
  • Add wget instructions for systems without curl (#​8630)
  • Fix .env file example in docs (#​9064)
  • Fix reference to --resolution in docs (#​8968)
  • Fix typo in GitLab integration docs (#​9047)
  • Update format of environment variable reference (#​9018)
  • Use Python syntax for value_type consistently (#​9017)
  • Use [[index]] API in configuration example (#​9065)
  • Mention how to use extras (#​8972)
  • Add some words about specifying conflicting extras/groups (#​9120)

v0.5.1

Compare Source

Enhancements
  • Improve backtracking behavior when packages conflict repeatedly (#​9843)
  • Patch Python sysconfig values such as AR at ar install time (#​9905)
  • Patch Python sysconfig values such as clang to cc at install time (#​9916)
  • Skip --native-tls in pip 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 and cmd.exe (#​9903)
  • Clarify best practice for Python matrix strategy in GitHub Actions (#​9454)
  • Add documentation for uv-lock and uv-export pre-commit hooks (#​9872)
Preview features
  • Build backend: Fix pre-PEP 639 license files (#​9965)

v0.5.0

Compare Source

Since the launch of Python version, project, and tool management capabilities back in August, we've seen extraordinary adoption of uv. We've been iterating rapidly: adding new features, fixing bugs, and improving the user experience. Despite moving quickly, stability and compatibility have been a major focus — we've made thirty releases since our last breaking change. Consequently, we've accumulated various changes that improve correctness and user experience, but could break some workflows. This release contains those changes; many have been marked as breaking out of an abundance of caution. We expect most users to be able to upgrade without making changes.

Breaking
  • Use base executable to set virtualenv Python path (#​8481)

    Previously, uv canonicalized the path to the Python executable when setting the Python path in created virtual environments. This behavior had several undesirable effects: it would bypass stabilized version directories (as constructed by Homebrew) and it was not consistent with the Python standard library's behavior. Now, uv uses the sys._base_executable path.

  • Use XDG (i.e. ~/.local/bin) instead of the Cargo home directory in the installer (#​8420)

    Previously, uv's installer used $CARGO_HOME or ~/.cargo/bin for its target install directory. It's been a longstanding complaint that uv uses this directory, as there's no relationship to Cargo. Now, uv will be installed into $XDG_BIN_HOME, $XDG_DATA_HOME/../bin, or ~/.local/bin (in that order). Note that $UV_INSTALL_DIR can always be used to override the target directory.

  • Discover and respect .python-version files in parent directories (#​6370)

    Previously, uv only read .python-version files from the working directory. Now, uv will check parent directories for .python-version files; however uv will not search for .python-version files beyond project boundaries. The new behavior is better aligned with that of pyenv and Rye.

  • Error when disallowed settings are defined in uv.toml (#​8550)

    Some settings can only be defined in the pyproject.toml. Previously, uv would ignore these settings when present in the uv.toml. Now, uv will error to avoid confusion about why the settings are not respected.

  • Implement PEP 440-compliant local version semantics (#​8797)

    Previously, uv's implementation of local versions (e.g. 2.0+cpu) was not compliant with the specification due to the technical complexity of implementing the local version semantics in the PubGrub algorithm. Thanks to the work of @​ericmarkmartin, uv now has a spec-compliant implementation. Namely, uv will now allow a request for torch==2.1.0 to install [email protected]+cpu regardless of whether [email protected] (without a local tag) actually exists.

  • Treat the base Conda environment as a system environment (#​7691)

    Previously, uv would not distinguish between the base and other Conda environments. Now, uv uses CONDA_DEFAULT_ENV and the names base and default to determine if an environment active via CONDA_PREFIX is the base environment. If the base environment is active, the --system flag must be used to mutate it.

  • Do not allow pre-releases when the != operator is used (#​7974)

    Previously, uv would use the presence of a pre-release specifier in a version specifier as an opt-in to allow pre-release versions during resolution. The new behavior does not allow pre-releases when an inequals operator is used, e.g., != 2.0a1.

  • Prefer USERPROFILE over FOLDERID_Profile when selecting a home directory on Windows (#​8048)

    This change is a side-effect of switching from the directories crate to etcetera for determining canonical system paths. If USERPROFILE is not set, the behavior will be unchanged.

  • Improve interactions between color environment variables and CLI options (#​8215)

    Previously, uv would respect the FORCE_COLOR and NO_COLOR environment variables over the --color flag. Now, when the --color flag is explicitly provided, uv will respect it over the environment variables.

  • Make allow-insecure-host a global option (#​8476)

    Previously, this option was only available in some parts of uv. Now, --allow-insecure-host can be provided to any command. For consistency, the allow-insecure-host setting has been removed from the [tool.uv.pip] configuration in favor of [tool.uv].

  • Only write .python-version files during uv init for workspace members if the version differs (#​8897)

    Previously, uv would create a .python-version file for workspace members during uv init. Now, uv will only do so if the version differs from the .python-version file in the workspace root since uv will respect .python-version files in parent directories.

Enhancements
  • Add uv tree --outdated (#​8893)
  • Add armv8l alias for armv7l to support arm 32-bit compatibility mode (#​8881)
  • Add support for pip list --outdated (#​8872)
  • Allow semicolons directly after direct URLs (#​8836)
  • Enable support for arbitrary git transports (#​8769)
  • Improve Python discovery source messages (#​8890)
  • Show dedicated error for trailing ; on URL and path requirements (#​8835)
  • Add progress bar for uv cache clean (#​8857)
  • Warn on failure to query system configuration file (#​8829)
Preview features
  • Add support for building basic source distributions with the experimental uv build backend (#​8886)
Bug fixes
  • Respect dynamic version updates in uv lock (#​8867)
  • Respect fork markers in --resolution-mode=lowest-direct (#​8839)
Documentation
  • Add further examples of git+https support (#​8841)
  • Add installer variables to environment reference (#​8874)
  • Add note on private classifier (#​8783)
  • Update pip-and-uv strictness example (#​8822)
  • Fix uv python install docs to use an existing PyPy version (#​8845)
  • Document how to mimic --verbose with RUST_LOG (#​8858)

v0.4.30

Compare Source

Enhancements
  • Add support for .env and custom env files in uv run (#​8811)
  • Add support for --all-packages in uv run, uv sync, and uv export (#​8742, #​8741, #​8739)
  • Allow use of --frozen with --all-packages in uv sync and uv export (#​8760)
  • Show full error chain on tool upgrade failures (#​8753)
  • Add --check-url to uv publish to check for existing distributions during upload (#​8531)
  • Suggest using --check-url when --skip-existing is used (#​8803)
Bug fixes
  • Allow incompatible requires-python for source distributions with static metadata (#​8768)
  • Allow managed downloads with --python-preference system (#​8808)
  • Avoid error for --group defined in non-root workspace member (#​8734)
  • Avoid showing dependency group annotations on workspace members in tree (#​8730)
  • Do not error when the Python bin directory is missing on uv python uninstall (#​8725)
  • Include member groups when locking workspace (#​8736)
  • Fix bug where python_version < '0' could appear in a final resolution (#​8759)
  • Sanitize filenames during zip extraction (#​8732)
  • Switch to RFC 9110 compatible format for exclude newer requests (#​8752)
Preview features
  • Add support for installing versioned Python executables on Windows (#​8663)
  • Improve interactions with existing Python executables during install (#​8733)
Rust API
  • Extend BaseClient to accept extra middleware (#​8807)
  • Add From for FlatDistributions struct (#​8800)
Documentation
  • Fix environment variable name in providing credentials section (#​8740)
  • Fix add httpx example with real git branch (#​8756)
  • Fix indentation in projects.md (#​8772)
  • Fix link to publish guide in README (#​8720)
  • Generate environment variables documentation from code (#​8493)
  • Improve and fix some documents (#​8749)
  • Improve environment variables document (#​8777)

v0.4.29

Compare Source

Enhancements
  • Sort errors during display in uv python install (#​8684)
  • Update resolver to use disjointness checks instead of marker equality (#​8661)
  • Add riscv64 to supported Python platform tags (#​8660)
Bug fixes
  • Fix hard and soft float libc detection for managed Python distributions on ARM (#​8498)
  • Handle cycles in uv pip tree (#​8689)
  • Respect dependency group markers in uv export (#​8659)
  • Support transitive dependencies in Git workspaces (#​8665)
  • Use portable paths for subdirectories in lock URLs (#​8707)
  • Update uv init --virtual to imply --no-package (#​8595)
Preview
  • Install versioned Python executables into the bin directory during uv python install (Unix only) (#​8458)
Documentation
  • Clarify relationship between specifiers and requires-python range (#​8688)
  • Fix broken link in docs (#​8552)
  • Fix outdated documentation on Requires-Python (#​8679)
  • Add Google Artifact Registry index authentication guide (#​8579)

v0.4.28

Compare Source

Enhancements
  • Add support for requesting free-threaded builds via +freethreaded (#​8645)
  • Improve trusted publishing error messages (#​8633)
  • Remove unneeded return from Maturin project template (#​8604)
  • Skip Python interpreter discovery for uv export (#​8638)
  • Hint about missing trusted publishing permission (#​8632)
Configuration
  • Add environment variable to disable progress output (#​8600)
Bug fixes
  • Fork when minimum Python version increases (#​8628)
  • Ignore empty groups when validating lock (#​8598)
  • Remove duplicate word in error message (#​8589)
  • Support cyclic dependencies in uv tree (#​8564)
  • Update uv init to imply --package when using --build-backend (#​8593)
  • Restore use of dev-dependencies and requires-dev for lockfile compatibility (#​8599)
Documentation
  • Clarify requires-python requirement for dependencies (#​8619)
  • Update CLI documentation for --cache-dir (#​8627)

v0.4.27

Compare Source

This release includes support for the [dependency-groups] table as recently standardized in PEP 735. The table allows for declaration of optional dependency groups that are not published as part of the package metadata, unlike [project.optional-dependencies]. There are new --group, --only-group, and --no-group options throughout the uv interface.

Previously, uv used a single tool.uv.dev-dependencies list for declaration of development dependencies. Now, uv supports declaring development dependencies in a standardized format and allows splitting development dependencies into multiple groups.

For compatibility, and to simplify usage for people that do not need multiple groups, uv special-cases the group named dev. The dev group is equivalent to tool.uv.dev-dependencies. The contents of tool.uv.dev-dependencies will merged into the dev group in uv's resolver. The --dev, --only-dev, and --no-dev flags remain as aliases for the corresponding --group options. Support for tool.uv.dev-dependencies remains in this release, but will display warnings in a future release.

uv syncs the dev group by default — this matches the existing behavior for tool.uv.dev-dependencies. The default groups can be changed with the tool.uv.default-groups setting.

Thank you to Stephen Rosen who authored PEP 735.

Enhancements
  • Support for PEP 735 (#​8272)
  • Add support for --dry-run mode in uv lock (#​7783)
  • Don't allow non-string email in authors (#​8520)
  • Enforce lockfile schema versions (#​8509)
Bug fixes
  • Always attach URL to network errors (#​8444)
  • Fix dangling non-platform dependencies in uv tree (#​8532)
  • Prefer lto over debug free-threaded managed Python builds (#​8515)
Documentation
  • Add tool.uv.sources to the "Settings" reference (#​8543)
  • Add reference to uv build and uv publish in the landing pages (#​8542)
  • Avoid duplicate [tool.uv] header in TOML examples (#​8545)
  • Document .netrc environment variable and path (#​8511)
  • Fix .netrc typo in authentication docs (#​8521)
  • Fix heading level of "Script support" on docs landing page (#​8544)
  • Move the installation configuration docs to a separate page (#​8546)
  • Update docs for --publish-url to avoid duplication. (#​8561)
  • Fix typo (#​8554)
  • Fix typo in description of --strict flag (#​8513)

v0.4.26

Compare Source

Enhancements
  • Allow

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link

cloudflare-workers-and-pages bot commented Nov 6, 2024

Deploying jjgadgets-biohazard with  Cloudflare Pages  Cloudflare Pages

Latest commit: b41f625
Status: ✅  Deploy successful!
Preview URL: https://f9eb7d78.jjgadgets-biohazard.pages.dev
Branch Preview URL: https://renovate-uv-0-x.jjgadgets-biohazard.pages.dev

View logs

@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from a46d2be to 90d3d7e Compare November 8, 2024 00:15
@tinfoild tinfoild bot changed the title fix(github-release): update uv to 0.4.30 feat(github-release): update uv to 0.5.0 Nov 8, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from 90d3d7e to 2ee3c29 Compare November 9, 2024 00:16
@tinfoild tinfoild bot changed the title feat(github-release): update uv to 0.5.0 feat(github-release): update uv to 0.5.1 Nov 9, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from 2ee3c29 to ef8bb2a Compare November 14, 2024 23:06
@tinfoild tinfoild bot changed the title feat(github-release): update uv to 0.5.1 feat(github-release): update uv to 0.5.2 Nov 14, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from ef8bb2a to c7b9766 Compare November 19, 2024 20:08
@tinfoild tinfoild bot changed the title feat(github-release): update uv to 0.5.2 feat(github-release): update uv to 0.5.3 Nov 19, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from c7b9766 to b7bf91e Compare November 20, 2024 22:07
@tinfoild tinfoild bot changed the title feat(github-release): update uv to 0.5.3 feat(github-release): update uv to 0.5.4 Nov 20, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from b7bf91e to fbfe33a Compare November 27, 2024 18:08
@tinfoild tinfoild bot changed the title feat(github-release): update uv to 0.5.4 feat(github-release): update uv to 0.5.5 Nov 27, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from fbfe33a to 1fe17da Compare December 3, 2024 22:08
@tinfoild tinfoild bot changed the title feat(github-release): update uv to 0.5.5 feat(github-release): update uv to 0.5.6 Dec 3, 2024
@tinfoild tinfoild bot changed the title feat(github-release): update uv to 0.5.6 feat(github/uv): update ➼ 0.5.6 Dec 4, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from 1fe17da to ea58f65 Compare December 4, 2024 11:43
@tinfoild tinfoild bot changed the title feat(github/uv): update ➼ 0.5.6 feat(github/uv): update 0.4.1 ➼ 0.5.6 Dec 4, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from ea58f65 to bd10ac4 Compare December 5, 2024 10:01
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch 5 times, most recently from 1b8fef5 to ea6b071 Compare December 7, 2024 00:20
@tinfoild tinfoild bot changed the title feat(github/uv): update 0.4.1 ➼ 0.5.6 feat(github/uv): update 0.4.1 ➼ 0.5.7 Dec 7, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from ea6b071 to 2f11c12 Compare December 11, 2024 16:06
@tinfoild tinfoild bot changed the title feat(github/uv): update 0.4.1 ➼ 0.5.7 feat(github/uv): update 0.4.1 ➼ 0.5.8 Dec 11, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from 2f11c12 to 512e50c Compare December 13, 2024 23:05
@tinfoild tinfoild bot changed the title feat(github/uv): update 0.4.1 ➼ 0.5.8 feat(github/uv): update 0.4.1 ➼ 0.5.9 Dec 13, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from 512e50c to 963648f Compare December 16, 2024 05:10
@tinfoild tinfoild bot changed the title feat(github/uv): update 0.4.1 ➼ 0.5.9 chore(deps): update dependency uv to v0.5.9 Dec 16, 2024
@tinfoild tinfoild bot changed the title chore(deps): update dependency uv to v0.5.9 feat(github/uv): update 0.4.1 ➼ 0.5.9 Dec 16, 2024
@tinfoild tinfoild bot force-pushed the renovate/uv-0.x branch from 963648f to b41f625 Compare December 17, 2024 22:06
@tinfoild tinfoild bot changed the title feat(github/uv): update 0.4.1 ➼ 0.5.9 feat(github/uv): update 0.4.1 ➼ 0.5.10 Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants