diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d89559dd..69c8d4f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' arch: - 'x86' - 'x64' diff --git a/.github/workflows/typing.yml b/.github/workflows/typing.yml index 9bc0fdab..dd21710b 100644 --- a/.github/workflows/typing.yml +++ b/.github/workflows/typing.yml @@ -13,6 +13,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' runs-on: 'ubuntu-22.04' steps: - name: Set up Python diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index 8b4e9250..b8863ad2 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -18,6 +18,7 @@ jobs: - 'cp39-cp39' - 'cp310-cp310' - 'cp311-cp311' + - 'cp312-cp312' runs-on: 'ubuntu-22.04' steps: - uses: actions/checkout@v4 @@ -44,6 +45,7 @@ jobs: - 'cp39-*' - 'cp310-*' - 'cp311-*' + - 'cp312-*' arch: ['x86_64'] include: - py: 'cp38-*' @@ -54,6 +56,8 @@ jobs: arch: 'arm64' - py: 'cp311-*' arch: 'arm64' + - py: 'cp312-*' + arch: 'arm64' runs-on: 'macos-12' env: CIBW_ARCHS: ${{ matrix.arch }} @@ -91,6 +95,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' arch: - 'x86' - 'x64' diff --git a/docs/news.rst b/docs/news.rst index ab87dd7c..4ef64133 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -85,6 +85,8 @@ Changes * ``pyproject.toml`` now declares a ``[build-system]`` section saying to build with setuptools. * CI now builds wheels with pip instead of ``setup.py`` directly. +* Official support for CPython 3.12. Binary wheels for 3.12 are now published + during releases. There were no meaningful code changes to support Python 3.12. 0.21.0 (released 2023-04-16) ============================ diff --git a/setup.py b/setup.py index a5e0b022..7cc1f4f6 100755 --- a/setup.py +++ b/setup.py @@ -141,6 +141,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], keywords=["zstandard", "zstd", "compression"], packages=["zstandard"],