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

chore(deps): update uv-version to v0.4.24 (patch) #896

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 18, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
astral-sh/uv-pre-commit repository patch 0.4.20 -> 0.4.24 age adoption passing confidence
uv (source, changelog) patch 0.4.20 -> 0.4.24 age adoption passing confidence

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

astral-sh/uv-pre-commit (astral-sh/uv-pre-commit)

v0.4.24

Compare Source

See: https://github.com/astral-sh/uv/releases/tag/0.4.24

v0.4.23

Compare Source

See: https://github.com/astral-sh/uv/releases/tag/0.4.23

v0.4.22

Compare Source

See: https://github.com/astral-sh/uv/releases/tag/0.4.22

v0.4.21

Compare Source

See: https://github.com/astral-sh/uv/releases/tag/0.4.21

astral-sh/uv (uv)

v0.4.24

Compare Source

Bug fixes
  • Fix Python executable name in Windows free-threaded Python distributions (#​8310)
  • Redact index credentials from lockfile sources (#​8307)
  • Respect UV_INDEX_ rather than UV_HTTP_BASIC_ as documented (#​8306)
  • Improve sources deserialization errors (#​8308)
Documentation
  • Correct pytorch-to-torch reference in docs (#​8291)

v0.4.23

Compare Source

This release introduces a revamped system for defining package indexes, as an alternative to the existing pip-style
--index-url and --extra-index-url configuration options.

You can now define named indexes in your pyproject.toml file using the [[tool.uv.index]] table:

[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"

Packages can be pinned to a specific index via tool.uv.sources, to ensure that a given package is installed from the
correct index. For example, to ensure that torch is always installed from the pytorch index:

[tool.uv.sources]
torch = { index = "pytorch" }

[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"

Indexes can also be marked as explicit = true to prevent packages from being installed from that index
unless explicitly pinned. For example, to ensure that torch is installed from the pytorch index, but all other
packages are installed from the default index:

[tool.uv.sources]
torch = { index = "pytorch" }

[[tool.uv.index]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

To define an additional index outside a pyproject.toml file, use the --index command-line argument
(or the UV_INDEX environment variable); to replace the default index (PyPI), use the --default-index command-line
argument (or UV_DEFAULT_INDEX).

These changes are entirely backwards-compatible with the deprecated --index-url and --extra-index-url options,
which continue to work as before.

See the Index documentation for more.

Enhancements
  • Add index URLs when provided via uv add --index or --default-index (#​7746)
  • Add support for named and explicit indexes (#​7481)
  • Add templates for popular build backends (#​7857)
  • Allow multiple pinned indexes in tool.uv.sources (#​7769)
  • Allow users to incorporate Git tags into dynamic cache keys (#​8259)
  • Pin named indexes in uv add (#​7747)
  • Respect named --index and --default-index values in tool.uv.sources (#​7910)
  • Update to latest PubGrub version (#​8245)
  • Enable environment variable authentication for named indexes (#​7741)
  • Avoid showing lower-bound warning outside of explicit lock and sync (#​8234)
  • Improve logging during lock errors (#​8258)
  • Improve styling of requires-python warnings (#​8240)
  • Show hint in resolution failure on Forbidden (403) or Unauthorized (401) (#​8264)
  • Update to latest cargo-dist version (includes new installer features) (#​8270)
  • Warn when patch version in requires-python is implicitly 0 (#​7959)
  • Add more context on client errors during range requests (#​8285)
Bug fixes
  • Avoid writing duplicate index URLs with --emit-index-url (#​8226)
  • Fix error leading to out-of-bound panic in uv-pep508 (#​8282)
  • Fix managed distributions of free-threaded Python on Windows (#​8268)
  • Fix selection of free-threaded interpreters during default Python discovery (#​8239)
  • Ignore sources in build requirements for non-source trees (#​8235)
  • Invalid cache when adding lower bound to lockfile (#​8230)
  • Respect index priority when storing credentials (#​8256)
  • Respect relative paths in uv build sources (#​8237)
  • Narrow what the pip3. logic drops from entry points. (#​8273)
Documentation
  • Add some additional notes to --index-url docs (#​8267)
  • Add upgrade note to README (#​7937)
  • Remove note that "only a single source may be defined for each dependency" (#​8243)

v0.4.22

Compare Source

Enhancements
  • Respect [tool.uv.sources] in build requirements (#​7172)
Preview features
  • Add a dedicated uv publish error message for missing usernames (#​8045)
  • Support interactive input in uv publish (#​8158)
  • Use raw filenames in uv publish (#​8204)
Performance
  • Reuse the result of which git (#​8224)
Bug fixes
  • Avoid environment check optimization for uv pip install --exact (#​8219)
  • Do not use free-threaded interpreters without a free-threaded request (#​8191)
  • Don't recommend --prerelease=allow during build requirement resolution errors (#​8192)
  • Prefer optimized builds for free-threaded Python downloads (#​8196)
  • Retain old python-build-standalone releases (#​8216)
  • Run uv build builds in the source distribution bucket (#​8220)

v0.4.21

Compare Source

Enhancements
  • Add support for managed installations of free-threaded Python (#​8100)
  • Add note about uvx to uv tool run short help (#​7695)
  • Enable HTTP/2 requests (#​8049)
  • Support uv tree --no-dev (#​8109)
  • Support PEP 723 metadata with uv run - (#​8111)
  • Support pip install --exact (#​8044)
  • Support uv export --no-header (#​8096)
  • Add Python 3.13 images to Docker publish (#​8105)
  • Support remote (https://) scripts in uv run (#​6375)
  • Allow comma value-delimited arguments in uv run --with (#​7909)
Configuration
  • Support wildcards in UV_INSECURE_HOST (#​8052)
Performance
  • Use shared index when fetching metadata in lock satisfaction routine (#​8147)
Bug fixes
  • Add prerelease compatibility check to uv python CLI (#​8020)
  • Avoid deleting a project environment directory if we cannot tell if a pyvenv.cfg file exists (#​8012)
  • Avoid excluding valid wheels for exact requires-python bounds (#​8140)
  • Bump netrc crate to latest commit (#​8021)
  • Fix uv python pin 3.13t failure when parsing version for project requires check (#​8056)
  • Fix handling of != intersections in requires-python (#​7897)
  • Remove the newly created tool environment if sync failed (#​8038)
  • Respect dynamic extras in uv lock and uv sync (#​8091)
  • Treat resolver failures as fatal in lockfile validation (#​8083)
  • Use git config --get for author information for improved backwards compatibility (#​8101)
  • Use comma-separated values for UV_FIND_LINKS (#​8061)
  • Use shared resolver state between add and lock to avoid double Git update (#​8146)
  • Make --relocatable entrypoints robust to symlinking (#​8079)
  • Improve compatibility with VSCode PS1 prompt (#​8006)
  • Fix "Stream did not contain valid UTF-8" failures in Windows (#​8120)
  • Use --with-requirements in uvx error hint (#​8112)
Documentation
  • Include uvx installation in Docker examples (#​8179)
  • Make the instructions for the Windows standalone installer consistent across README and documentation (#​8125)
  • Update pip compatibility guide to note transitive URL dependency support (#​8081)
  • Document --reinstall with --exclude-newer to ensure downgrades (#​6721)

Configuration

📅 Schedule: Branch creation - "before 5am on saturday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (rebase) October 18, 2024 20:09
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.4%. Comparing base (1210c0d) to head (d594ef7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #896   +/-   ##
=====================================
  Coverage   92.4%   92.4%           
=====================================
  Files         37      37           
  Lines        994     994           
  Branches      96      96           
=====================================
  Hits         919     919           
  Misses        60      60           
  Partials      15      15           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit cbe75ae into main Oct 18, 2024
22 checks passed
@renovate renovate bot deleted the renovate/patch-uv-version branch October 18, 2024 20:28
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.

1 participant