From afd816f3cd93f7438f26d7e0ba21d5f6e61d02d3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 07:51:23 +0000 Subject: [PATCH] Update astral-sh/setup-uv action to v7.5.0 (#18432) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | minor | `v7.3.1` β†’ `v7.5.0` | --- ### Release Notes
astral-sh/setup-uv (astral-sh/setup-uv) ### [`v7.5.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.5.0): 🌈 Use `astral-sh/versions` as version provider [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.4.0...v7.5.0) ### No more rate-limits This release addresses a long-standing source of timeouts and rate-limit failures in setup-uv. Previously, the action resolved version identifiers like 0.5.x by iterating over available uv releases via the GitHub API to find the best match. In contrast, latest and exact versions such as 0.5.0 skipped version resolution entirely and downloaded uv directly. The `manifest-file` input was an earlier attempt to improve this. It allows providing an url to a file that lists available versions, checksums, and even custom download URLs. The action also shipped with such a manifest. However, because that bundled file could become outdated whenever new uv releases were published, the action still had to fall back to the GitHub API in many cases. This release solves the problem by sourcing version data from Astral’s versions repository via the raw content endpoint: By using the raw endpoint instead of the GitHub API, version resolution no longer depends on API authentication and is much less likely to run into rate limits or timeouts. *** > \[!TIP] > The next section is only interesting for users of the `manifest-file` input The `manifest-file` input lets you override that source with your own URL, for example to test custom uv builds or alternate download locations. The manifest file must be in NDJSON format, where each line is a JSON object representing a version and its artifacts. For example: ```json {"version":"0.10.7","artifacts":[{"platform":"x86_64-unknown-linux-gnu","variant":"default","url":"https://example.com/uv-x86_64-unknown-linux-gnu.tar.gz","archive_format":"tar.gz","sha256":"..."}]} {"version":"0.10.6","artifacts":[{"platform":"x86_64-unknown-linux-gnu","variant":"default","url":"https://example.com/uv-x86_64-unknown-linux-gnu.tar.gz","archive_format":"tar.gz","sha256":"..."}]} ``` > \[!WARNING]\ > The old format still works but is deprecated. A warning will be logged when you use it. #### Changes - docs: replace copilot instructions with AGENTS.md [@​eifinger](https://redirect.github.com/eifinger) ([#​794](https://redirect.github.com/astral-sh/setup-uv/issues/794)) #### πŸš€ Enhancements - Use astral-sh/versions as primary version provider [@​eifinger](https://redirect.github.com/eifinger) ([#​802](https://redirect.github.com/astral-sh/setup-uv/issues/802)) #### πŸ“š Documentation - docs: add cross-client dependabot rollup skill [@​eifinger](https://redirect.github.com/eifinger) ([#​793](https://redirect.github.com/astral-sh/setup-uv/issues/793)) ### [`v7.4.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.4.0): 🌈 Add riscv64 architecture support to platform detection [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3.1...v7.4.0) ##### Changes Thank you [@​luhenry](https://redirect.github.com/luhenry) for adding support for riscv64 arch ##### πŸš€ Enhancements - Add riscv64 architecture support to platform detection [@​luhenry](https://redirect.github.com/luhenry) ([#​791](https://redirect.github.com/astral-sh/setup-uv/issues/791)) ##### 🧰 Maintenance - Delete .github/workflows/dependabot-build.yml [@​eifinger](https://redirect.github.com/eifinger) ([#​789](https://redirect.github.com/astral-sh/setup-uv/issues/789)) - Harden Dependabot build workflow [@​eifinger](https://redirect.github.com/eifinger) ([#​788](https://redirect.github.com/astral-sh/setup-uv/issues/788)) - Fix: check PR author instead of event sender for Dependabot detection [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​787](https://redirect.github.com/astral-sh/setup-uv/issues/787)) - chore: update known checksums for 0.10.9 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​783](https://redirect.github.com/astral-sh/setup-uv/issues/783)) - Add workflow to auto-build dist on Dependabot PRs [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​782](https://redirect.github.com/astral-sh/setup-uv/issues/782)) - chore: update known checksums for 0.10.8 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​779](https://redirect.github.com/astral-sh/setup-uv/issues/779)) - chore: update known checksums for 0.10.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​775](https://redirect.github.com/astral-sh/setup-uv/issues/775)) ##### ⬆️ Dependency updates - chore(deps): bump versions [@​eifinger](https://redirect.github.com/eifinger) ([#​792](https://redirect.github.com/astral-sh/setup-uv/issues/792)) - Bump actions/setup-node from 6.2.0 to 6.3.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​790](https://redirect.github.com/astral-sh/setup-uv/issues/790)) - Bump eifinger/actionlint-action from 1.10.0 to 1.10.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​778](https://redirect.github.com/astral-sh/setup-uv/issues/778))
--- ### Configuration πŸ“… **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/uv). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/build-release-binaries.yml | 2 +- .github/workflows/check-docs.yml | 2 +- .github/workflows/check-fmt.yml | 2 +- .github/workflows/check-lint.yml | 6 +++--- .github/workflows/publish-docs.yml | 2 +- .github/workflows/publish-pypi.yml | 4 ++-- .github/workflows/publish-versions.yml | 2 +- .github/workflows/sync-python-releases.yml | 2 +- .github/workflows/test-windows-trampolines.yml | 2 +- .github/workflows/test.yml | 6 +++--- 10 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index 49b377fbf..9d163a2a5 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -1186,7 +1186,7 @@ jobs: with: persist-credentials: false - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: pattern: wheels_*-* diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index 21f924615..7d3a909a7 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -13,7 +13,7 @@ jobs: with: fetch-depth: 0 persist-credentials: false - - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + - uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9" diff --git a/.github/workflows/check-fmt.yml b/.github/workflows/check-fmt.yml index 935d38d20..a5af4a2a9 100644 --- a/.github/workflows/check-fmt.yml +++ b/.github/workflows/check-fmt.yml @@ -32,7 +32,7 @@ jobs: with: persist-credentials: false - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9" - run: uvx ruff format --diff . diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml index b0a74a4cf..ab34dc84e 100644 --- a/.github/workflows/check-lint.yml +++ b/.github/workflows/check-lint.yml @@ -26,7 +26,7 @@ jobs: with: persist-credentials: false - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9" - run: uvx ruff check . @@ -39,7 +39,7 @@ jobs: with: persist-credentials: false - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9" - run: | @@ -73,7 +73,7 @@ jobs: with: persist-credentials: false - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9" - run: uvx --from 'validate-pyproject[all,store]' validate-pyproject pyproject.toml diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 038ef6246..849a928b4 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -71,7 +71,7 @@ jobs: echo "TIMESTAMP=$timestamp" >> $GITHUB_ENV - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9" diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 2c2664f5d..a498bb29d 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -21,7 +21,7 @@ jobs: id-token: write # For PyPI's trusted publishing steps: - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: pattern: wheels_uv-* @@ -39,7 +39,7 @@ jobs: id-token: write # For PyPI's trusted publishing steps: - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 with: pattern: wheels_uv_build-* diff --git a/.github/workflows/publish-versions.yml b/.github/workflows/publish-versions.yml index 2cf970b51..bf668b9c4 100644 --- a/.github/workflows/publish-versions.yml +++ b/.github/workflows/publish-versions.yml @@ -30,7 +30,7 @@ jobs: run: git clone https://${{ secrets.ASTRAL_VERSIONS_PAT }}@github.com/astral-sh/versions.git astral-versions - name: "Install uv" - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 - name: "Update versions" env: diff --git a/.github/workflows/sync-python-releases.yml b/.github/workflows/sync-python-releases.yml index f830463d5..be69c03ad 100644 --- a/.github/workflows/sync-python-releases.yml +++ b/.github/workflows/sync-python-releases.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + - uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "latest" enable-cache: true diff --git a/.github/workflows/test-windows-trampolines.yml b/.github/workflows/test-windows-trampolines.yml index 85a620fe8..c85e3f66b 100644 --- a/.github/workflows/test-windows-trampolines.yml +++ b/.github/workflows/test-windows-trampolines.yml @@ -20,7 +20,7 @@ jobs: with: persist-credentials: false - - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + - uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 - name: "Check windows crate versions match" run: uv run --no-project scripts/check-trampoline-version-consistency.py diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2234882f6..62b11c782 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: - name: "Install Rust toolchain" run: rustup show - - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + - uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9" @@ -142,7 +142,7 @@ jobs: hdiutil attach /tmp/noreflink.dmg echo "HFS_MOUNT=/Volumes/NoReflink" >> "$GITHUB_ENV" - - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + - uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9" @@ -206,7 +206,7 @@ jobs: run: | Copy-Item -Path "${{ github.workspace }}" -Destination "$Env:UV_WORKSPACE" -Recurse - - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + - uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0 with: version: "0.10.9"