Skip to content

Commit

Permalink
Test and build on Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Aug 19, 2023
1 parent e174a15 commit 67c8d04
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
pyver: [cp37, cp38, cp39, cp310, cp311]
pyver: [cp37, cp38, cp39, cp310, cp311, cp312]

steps:
- name: Checkout repos
uses: actions/checkout@v3

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.1
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BUILD: ${{matrix.pyver}}-*
CIBW_ARCHS_LINUX: auto
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
strategy:
fail-fast: false
matrix:
pyver: [cp37, cp38, cp39, cp310, cp311]
pyver: [cp37, cp38, cp39, cp310, cp311, cp312]
arch: [aarch64, ppc64le]

steps:
Expand All @@ -74,7 +74,7 @@ jobs:
uses: docker/setup-qemu-action@v2

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.1
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BUILD: ${{matrix.pyver}}-*
CIBW_ARCHS: ${{matrix.arch}}
Expand All @@ -99,7 +99,7 @@ jobs:
uses: actions/checkout@v3

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.1
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BUILD: pp*
CIBW_TEST_EXTRAS: test
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
uses: docker/setup-qemu-action@v2

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.1
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BUILD: pp*

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]

steps:
- name: Checkout repos
Expand All @@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
architecture: ['x64', 'x86']

steps:
Expand All @@ -64,7 +64,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- name: Checkout repos
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = 3.7, 3.8, 3.9, 3.10, 3.11, pypy-3.8
envlist = 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, pypy-3.8

[testenv]
commands =
Expand All @@ -22,6 +22,9 @@ basepython = python3.10
[testenv:3.11]
basepython = python3.11

[testenv:3.12]
basepython = python3.12

[testenv:pypy-3.8]
basepython = pypy3.8

Expand Down

0 comments on commit 67c8d04

Please sign in to comment.