mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 13:30:11 -05:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | minor | `v6.0.1` -> `v6.1.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary> ### [`v6.1.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v6.1.0): 🌈 [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v6.0.1...v6.1.0) #### Changes This release adds the input `server-url` which defaults to `https://github.com`. You can set this to a custom url to control where this action downloads the uv release from. This is useful for users of gitea and comparable solutions. [@​sebadevo](https://redirect.github.com/sebadevo) pointed out that we don't invalidate the cache when the `prune-cache` input is changed. This leads to unnessecarily big caches. The input is now used to compute the cache key, properly invalidating the cache when it is changed. > \[!NOTE]\ > For most users this release will invalidate the cache once. > You will see the known warning [no-github-actions-cache-found-for-key](https://redirect.github.com/astral-sh/setup-uv?tab=readme-ov-file#why-do-i-see-warnings-like-no-github-actions-cache-found-for-key) > This is expected and will only appear once. #### 🐛 Bug fixes - Purge cache in cache key [@​eifinger](https://redirect.github.com/eifinger) ([#​423](https://redirect.github.com/astral-sh/setup-uv/issues/423)) #### 🚀 Enhancements - feat: support custom github url [@​Zoupers](https://redirect.github.com/Zoupers) ([#​414](https://redirect.github.com/astral-sh/setup-uv/issues/414)) #### 🧰 Maintenance - chore: update known versions for 0.7.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​422](https://redirect.github.com/astral-sh/setup-uv/issues/422)) - chore: update known versions for 0.7.6 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​415](https://redirect.github.com/astral-sh/setup-uv/issues/415)) - chore: update known versions for 0.7.5 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​412](https://redirect.github.com/astral-sh/setup-uv/issues/412)) - chore: update known versions for 0.7.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​410](https://redirect.github.com/astral-sh/setup-uv/issues/410)) - chore: update known versions for 0.7.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​405](https://redirect.github.com/astral-sh/setup-uv/issues/405)) - Fix path to known-checksums.ts [@​eifinger](https://redirect.github.com/eifinger) ([#​404](https://redirect.github.com/astral-sh/setup-uv/issues/404)) - Fix update-known-versions workflow argument [@​eifinger](https://redirect.github.com/eifinger) ([#​401](https://redirect.github.com/astral-sh/setup-uv/issues/401)) - Fix update-known-versions workflow [@​eifinger](https://redirect.github.com/eifinger) ([#​400](https://redirect.github.com/astral-sh/setup-uv/issues/400)) - Create version-manifest.json on uv release [@​eifinger](https://redirect.github.com/eifinger) ([#​399](https://redirect.github.com/astral-sh/setup-uv/issues/399)) - Run infrastructure workflows on arm runners [@​eifinger](https://redirect.github.com/eifinger) ([#​396](https://redirect.github.com/astral-sh/setup-uv/issues/396)) - chore: update known checksums for 0.7.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​395](https://redirect.github.com/astral-sh/setup-uv/issues/395)) - chore: update known checksums for 0.7.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​390](https://redirect.github.com/astral-sh/setup-uv/issues/390)) #### 📚 Documentation - Add section to README explaining if packages are installed by setup-uv [@​pirate](https://redirect.github.com/pirate) ([#​398](https://redirect.github.com/astral-sh/setup-uv/issues/398)) #### ⬆️ Dependency updates - Bump dependencies [@​eifinger](https://redirect.github.com/eifinger) ([#​424](https://redirect.github.com/astral-sh/setup-uv/issues/424)) - Bump typescript from 5.8.2 to 5.8.3 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​393](https://redirect.github.com/astral-sh/setup-uv/issues/393)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (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. --- - [ ] <!-- rebase-check -->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). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4xNi4wIiwidXBkYXRlZEluVmVyIjoiNDAuMTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
# Sync Python releases and create a pull request.
|
|
#
|
|
# Based on: https://github.com/astral-sh/rye/blob/57b7c089e494138aae29a130afb2e17f447970bf/.github/workflows/sync-python-releases.yml
|
|
name: "Sync Python downloads"
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
sync:
|
|
if: github.repository == 'astral-sh/uv'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6.1.0
|
|
with:
|
|
version: "latest"
|
|
enable-cache: true
|
|
- name: Sync Python Releases
|
|
run: |
|
|
uv run -- fetch-download-metadata.py
|
|
working-directory: ./crates/uv-python
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: "Create Pull Request"
|
|
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
|
|
with:
|
|
commit-message: "Sync latest Python releases"
|
|
add-paths: |
|
|
crates/uv-python/download-metadata.json
|
|
branch: "sync-python-releases"
|
|
title: "Sync latest Python releases"
|
|
body: "Automated update for Python releases."
|
|
base: "main"
|