Skip to content

Commit 714c5ab

Browse files
Add CI for Python 3.11 and 3.12
Had to update the setup-python version to allow a version of cibuildwheel that supports python 3.12.
1 parent 11ba85f commit 714c5ab

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/code.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Python
2323
uses: actions/setup-python@v2
2424
with:
25-
python-version: "3.7"
25+
python-version: "3.12"
2626

2727
- name: Install Python Dependencies
2828
run: pip install flake8
@@ -54,7 +54,7 @@ jobs:
5454
fail-fast: false
5555
matrix:
5656
os: [ubuntu-latest, windows-latest, macos-13]
57-
python: [cp37, cp38, cp39, cp310]
57+
python: [cp37, cp38, cp39, cp310, cp311, cp312]
5858

5959
include:
6060
# Put coverage and results files in the project directory for mac
@@ -84,11 +84,10 @@ jobs:
8484
- name: Install Python
8585
uses: actions/setup-python@v2
8686
with:
87-
python-version: "3.7"
87+
python-version: "3.12"
8888

8989
- name: Install Python Dependencies
90-
# Pin cibuildwheel due to https://github.com/pypa/cibuildwheel/issues/962
91-
run: pip install build cibuildwheel>=2.3.1
90+
run: pip install build cibuildwheel>=2.16.2
9291

9392
- name: Build Wheel
9493
run: cibuildwheel --output-dir dist
@@ -131,7 +130,7 @@ jobs:
131130
fail-fast: false
132131
matrix:
133132
os: [ubuntu-latest, windows-latest, macos-13]
134-
python: [cp37, cp38, cp39, cp310]
133+
python: [cp37, cp38, cp39, cp310, cp311, cp312]
135134

136135
runs-on: ${{ matrix.os }}
137136

0 commit comments

Comments
 (0)