ci: bump Python to 3.13 across build and docs workflows
Adopts upstream's 3.13 bump. Also renames the uv cache key from py311 to py313 so a 3.11-built .venv is not restored under the 3.13 interpreter, and updates .python-version so local uv runs match CI. pyproject requires-python stays >=3.11; 3.13 satisfies it and the existing uv.lock resolves unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2358245c04
commit
24fdc70acc
@@ -9,9 +9,9 @@ runs:
|
||||
path: |
|
||||
~/.cache/uv
|
||||
.venv
|
||||
key: ${{ runner.os }}-py311-uv-${{ hashFiles('uv.lock', 'pyproject.toml') }}
|
||||
key: ${{ runner.os }}-py313-uv-${{ hashFiles('uv.lock', 'pyproject.toml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-py311-uv-
|
||||
${{ runner.os }}-py313-uv-
|
||||
|
||||
- name: Restore PlatformIO Cache
|
||||
uses: actions/cache@v5
|
||||
@@ -28,7 +28,7 @@ runs:
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.13"
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v8.0.0
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v6.2.0
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.13"
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v8.0.0
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
3.11
|
||||
3.13
|
||||
|
||||
Reference in New Issue
Block a user