From 5367bbdc431d701e33d0fc0ebb6afe0490f25a59 Mon Sep 17 00:00:00 2001 From: Vytautas Liuolia Date: Sat, 14 Oct 2023 12:37:05 +0200 Subject: [PATCH] chore: add basic CPython 3.12 definitions and CI jobs --- .github/workflows/create-wheels.yaml | 5 ++++- .github/workflows/tests.yaml | 6 ++++++ setup.cfg | 1 + tox.ini | 7 +++++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-wheels.yaml b/.github/workflows/create-wheels.yaml index a82642075..2a469dee4 100644 --- a/.github/workflows/create-wheels.yaml +++ b/.github/workflows/create-wheels.yaml @@ -29,7 +29,8 @@ jobs: - "3.8" - "3.9" - "3.10" - - "3.11.0-rc - 3.11" + - "3.11" + - "3.12" architecture: - x64 @@ -99,6 +100,7 @@ jobs: - cp39-cp39 - cp310-cp310 - cp311-cp311 + - cp312-cp312 architecture: - x64 @@ -230,6 +232,7 @@ jobs: - cp39-cp39 - cp310-cp310 - cp311-cp311 + - cp312-cp312 architecture: - aarch64 - s390x diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 398fd0046..6a0ddbe40 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -76,6 +76,12 @@ jobs: - python-version: "3.11" os: ubuntu-latest toxenv: py311_cython + - python-version: "3.12" + os: ubuntu-latest + toxenv: py312 + - python-version: "3.12" + os: ubuntu-latest + toxenv: py312_cython - python-version: "3.10" os: macos-latest toxenv: py310_nocover diff --git a/setup.cfg b/setup.cfg index 15de77818..e7c308429 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,6 +29,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Cython keywords = asgi diff --git a/tox.ini b/tox.ini index 98ba87223..3040215a3 100644 --- a/tox.ini +++ b/tox.ini @@ -216,6 +216,13 @@ deps = {[with-cython]deps} setenv = {[with-cython]setenv} commands = {[with-cython]commands} +[testenv:py312_cython] +basepython = python3.12 +install_command = {[with-cython]install_command} +deps = {[with-cython]deps} +setenv = {[with-cython]setenv} +commands = {[with-cython]commands} + # -------------------------------------------------------------------- # WSGI servers (Cythonized Falcon) # --------------------------------------------------------------------