Skip to content

Commit bbd4de5

Browse files
authored
ci: fix for ubuntu 24.04, use Python 3.13 for scripts (#1484)
1 parent 10374e2 commit bbd4de5

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: set up python
3434
uses: actions/setup-python@v5
3535
with:
36-
python-version: '3.11'
36+
python-version: '3.13'
3737

3838
- run: pip install -r tests/requirements.txt
3939

@@ -124,7 +124,7 @@ jobs:
124124
- name: set up python
125125
uses: actions/setup-python@v5
126126
with:
127-
python-version: '3.11'
127+
python-version: '3.13'
128128

129129
- run: pip install -r tests/requirements.txt
130130

@@ -148,7 +148,7 @@ jobs:
148148
- name: set up python
149149
uses: actions/setup-python@v5
150150
with:
151-
python-version: '3.11'
151+
python-version: '3.13'
152152

153153
- name: resolve MSRV
154154
id: resolve-msrv
@@ -183,7 +183,7 @@ jobs:
183183
fail-fast: false
184184
matrix:
185185
python-version:
186-
- '3.11'
186+
- '3.13'
187187
- 'pypy3.10'
188188

189189
steps:
@@ -222,7 +222,7 @@ jobs:
222222
- name: set up python
223223
uses: actions/setup-python@v5
224224
with:
225-
python-version: '3.11'
225+
python-version: '3.13'
226226

227227
- name: install rust stable
228228
uses: dtolnay/rust-toolchain@stable
@@ -264,7 +264,7 @@ jobs:
264264

265265
- uses: actions/setup-python@v5
266266
with:
267-
python-version: '3.11'
267+
python-version: '3.13'
268268

269269
# used to lint js code
270270
- uses: actions/setup-node@v4
@@ -310,7 +310,7 @@ jobs:
310310

311311
- uses: actions/setup-python@v5
312312
with:
313-
python-version: '3.10'
313+
python-version: '3.13'
314314

315315
- run: pip install typing_extensions
316316

@@ -325,7 +325,7 @@ jobs:
325325
id: setup-python
326326
uses: actions/setup-python@v5
327327
with:
328-
python-version: '3.11'
328+
python-version: '3.13'
329329

330330
- name: install rust nightly
331331
uses: dtolnay/rust-toolchain@nightly
@@ -383,6 +383,9 @@ jobs:
383383
runs-on: ubuntu-latest
384384
steps:
385385
- uses: actions/checkout@v4
386+
- uses: actions/setup-python@v5
387+
with:
388+
python-version: '3.13'
386389
- uses: PyO3/maturin-action@v1
387390
with:
388391
command: sdist
@@ -475,7 +478,7 @@ jobs:
475478
- name: set up python
476479
uses: actions/setup-python@v5
477480
with:
478-
python-version: '3.11'
481+
python-version: '3.13'
479482
architecture: ${{ matrix.python-architecture || 'x64' }}
480483

481484
- run: pip install -U twine 'ruff==0.5.0' typing_extensions
@@ -697,7 +700,7 @@ jobs:
697700
- name: set up python
698701
uses: actions/setup-python@v5
699702
with:
700-
python-version: '3.11'
703+
python-version: '3.13'
701704

702705
- name: get dist artifacts
703706
uses: actions/download-artifact@v4
@@ -721,7 +724,7 @@ jobs:
721724
- name: set up python
722725
uses: actions/setup-python@v5
723726
with:
724-
python-version: '3.10'
727+
python-version: '3.13'
725728

726729
- run: pip install -U twine
727730

.github/workflows/codspeed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-python@v5
2020
with:
21-
python-version: '3.12'
21+
python-version: '3.13'
2222

2323
- uses: actions/cache@v4
2424
id: cache-py

0 commit comments

Comments
 (0)