Skip to content

Commit

Permalink
ci: fix for ubuntu 24.04, use Python 3.13 for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Oct 15, 2024
1 parent 10374e2 commit 817e135
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

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

Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

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

Expand All @@ -148,7 +148,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

- name: resolve MSRV
id: resolve-msrv
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.11'
- '3.13'
- 'pypy3.10'

steps:
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

- name: install rust stable
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -264,7 +264,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

# used to lint js code
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.13'

- run: pip install typing_extensions

Expand All @@ -325,7 +325,7 @@ jobs:
id: setup-python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

- name: install rust nightly
uses: dtolnay/rust-toolchain@nightly
Expand Down Expand Up @@ -383,6 +383,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- uses: PyO3/maturin-action@v1
with:
command: sdist
Expand Down Expand Up @@ -475,7 +478,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
architecture: ${{ matrix.python-architecture || 'x64' }}

- run: pip install -U twine 'ruff==0.5.0' typing_extensions
Expand Down Expand Up @@ -697,7 +700,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

- name: get dist artifacts
uses: actions/download-artifact@v4
Expand All @@ -721,7 +724,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.13'

- run: pip install -U twine

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- uses: actions/cache@v4
id: cache-py
Expand Down

0 comments on commit 817e135

Please sign in to comment.