mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 05:20:09 -05:00
> [!NOTE] > Mend has cancelled [the proposed renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842) of the Renovate GitHub app being renamed to `mend[bot]`. > > This notice will be removed on 2025-10-07. <hr> 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.7.0` -> `v6.8.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.8.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v6.8.0): 🌈 Add **/*.py.lock to cache-dependency-glob [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v6.7.0...v6.8.0) #### Changes Thanks to [@​parched](https://redirect.github.com/parched) the default `cache-dependency-glob` now also find all lock files generated by `uv lock --script` #### 🚀 Enhancements - Always show prune cache output [@​eifinger](https://redirect.github.com/eifinger) ([#​597](https://redirect.github.com/astral-sh/setup-uv/issues/597)) - Add \*\*/\*.py.lock to cache-dependency-glob [@​parched](https://redirect.github.com/parched) ([#​590](https://redirect.github.com/astral-sh/setup-uv/issues/590)) #### 🧰 Maintenance - persist credentials for version update [@​eifinger](https://redirect.github.com/eifinger) ([#​584](https://redirect.github.com/astral-sh/setup-uv/issues/584)) #### 📚 Documentation - README.md: Fix Python versions and update checkout action [@​cclauss](https://redirect.github.com/cclauss) ([#​572](https://redirect.github.com/astral-sh/setup-uv/issues/572)) #### ⬆️ Dependency updates - Bump zizmorcore/zizmor-action from 0.1.2 to 0.2.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​571](https://redirect.github.com/astral-sh/setup-uv/issues/571)) </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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
52 lines
1.7 KiB
YAML
52 lines
1.7 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: {}
|
|
|
|
jobs:
|
|
sync:
|
|
if: github.repository == 'astral-sh/uv'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
persist-credentials: false
|
|
- uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.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: Sync Sysconfig Targets
|
|
run: ${GITHUB_WORKSPACE}/crates/uv-dev/sync_sysconfig_targets.sh
|
|
working-directory: ./crates/uv-dev
|
|
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
|
|
crates/uv-dev/src/generate_sysconfig_mappings.rs
|
|
crates/uv-python/src/sysconfig/generated_mappings.rs
|
|
branch: "sync-python-releases"
|
|
title: "Sync latest Python releases"
|
|
body: "Automated update for Python releases."
|
|
base: "main"
|