Skip to content

Commit c9f7ae5

Browse files
authored
ci: use Python 3.13 final + default to Python 3.13 (#883)
* ci: use Python 3.13 final * ci: default to Python 3.13 * ci: match coverage against `env.PYTHON_VERSION`
1 parent 5f407ad commit c9f7ae5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1212

1313
env:
14-
PYTHON_VERSION: '3.12'
14+
PYTHON_VERSION: '3.13'
1515
# renovate: datasource=pypi depName=uv
1616
UV_VERSION: '0.4.18'
1717

@@ -57,7 +57,7 @@ jobs:
5757
image: macos-15
5858
- name: windows
5959
image: windows-2022
60-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13-dev', 'pypy3.10']
60+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.10']
6161
fail-fast: false
6262
runs-on: ${{ matrix.os.image }}
6363
name: ${{ matrix.os.name }} (${{ matrix.python-version }})
@@ -94,7 +94,7 @@ jobs:
9494
uses: codecov/codecov-action@v4
9595
env:
9696
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
97-
if: ${{ matrix.os.name == 'linux' && matrix.python-version == '3.12' }}
97+
if: ${{ matrix.os.name == 'linux' && matrix.python-version == env.PYTHON_VERSION }}
9898

9999
check-docs:
100100
runs-on: ubuntu-24.04

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
env:
9-
PYTHON_VERSION: '3.12'
9+
PYTHON_VERSION: '3.13'
1010
# renovate: datasource=pypi depName=uv
1111
UV_VERSION: '0.4.18'
1212

@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
matrix:
4242
target: [x86_64, aarch64]
43-
python: ['3.12', 'pypy3.10']
43+
python: ['3.13', 'pypy3.10']
4444
steps:
4545
- name: Check out
4646
uses: actions/checkout@v4
@@ -75,10 +75,10 @@ jobs:
7575
strategy:
7676
matrix:
7777
target: [x64]
78-
python: ['3.12', 'pypy3.10']
78+
python: ['3.13', 'pypy3.10']
7979
# PyPy doesn't support Windows ARM64.
8080
include:
81-
- python: '3.12'
81+
- python: '3.13'
8282
target: aarch64
8383
steps:
8484
- name: Check out
@@ -114,7 +114,7 @@ jobs:
114114
strategy:
115115
matrix:
116116
target: [x86_64, aarch64]
117-
python: ['3.12', 'pypy3.10']
117+
python: ['3.13', 'pypy3.10']
118118
steps:
119119
- name: Check out
120120
uses: actions/checkout@v4

0 commit comments

Comments
 (0)