Skip to content

Commit 6f33217

Browse files
committed
ci: use python 3.12 as the reference version for tests
1 parent 0371f28 commit 6f33217

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/build-wheels.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
if: startsWith(matrix.os, 'macos')
2828
uses: actions/setup-python@v2
2929
with:
30-
python-version: 3.11
30+
python-version: 3.12
3131

3232
- name: Cache dependencies
3333
uses: actions/cache@v4
@@ -64,9 +64,8 @@ jobs:
6464
run: |
6565
/tmp/venv/bin/python3 -m pip install dist/aleph_sdk_python-*.whl
6666
67-
- name: Install `setuptools` on systems where it is missing by default
67+
- name: Install/upgrade `setuptools`
6868
run: /tmp/venv/bin/python3 -m pip install --upgrade setuptools
69-
if: matrix.os == 'ubuntu-24.04'
7069

7170
- name: Import and use the package
7271
run: |

.github/workflows/pytest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: [ "3.9", "3.10", "3.11" ]
19+
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
2020
# An issue with secp256k1 prevents Python 3.12 from working
2121
# See https://github.com/baking-bad/pytezos/issues/370
2222
runs-on: ubuntu-latest
@@ -37,13 +37,13 @@ jobs:
3737
/tmp/venv/bin/pip freeze
3838
/tmp/venv/bin/hatch run testing:pip freeze
3939
/tmp/venv/bin/hatch run testing:test
40-
if: matrix.python-version != '3.11'
40+
if: matrix.python-version != '3.12'
4141
4242
- run: /tmp/venv/bin/hatch run testing:cov
43-
if: matrix.python-version == '3.11'
43+
if: matrix.python-version == '3.12'
4444

4545
- uses: codecov/[email protected]
46-
if: matrix.python-version == '3.11'
46+
if: matrix.python-version == '3.12'
4747
with:
4848
token: ${{ secrets.CODECOV_TOKEN }}
4949
slug: aleph-im/aleph-sdk-python

0 commit comments

Comments
 (0)