diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f00e1043..54614516 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,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 8442c48b..0c1fc865 100644 --- a/.github/workflows/typing.yml +++ b/.github/workflows/typing.yml @@ -14,6 +14,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 d452e00e..aba9cc48 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -19,6 +19,7 @@ jobs: - 'cp39-cp39' - 'cp310-cp310' - 'cp311-cp311' + - 'cp312-cp312' runs-on: 'ubuntu-22.04' steps: - uses: actions/checkout@v3 @@ -46,6 +47,7 @@ jobs: - 'cp39-*' - 'cp310-*' - 'cp311-*' + - 'cp312-*' arch: ['x86_64'] include: - py: 'cp38-*' @@ -56,6 +58,8 @@ jobs: arch: 'arm64' - py: 'cp311-*' arch: 'arm64' + - py: 'cp312-*' + arch: 'arm64' runs-on: 'macos-12' env: CIBW_ARCHS: ${{ matrix.arch }} @@ -113,6 +117,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' arch: - 'x86' - 'x64' diff --git a/docs/news.rst b/docs/news.rst index 7af484cd..7e820369 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -65,6 +65,8 @@ Changes boolean named argument to control whether to transparently read across multiple zstd frames. It defaults to ``False`` to preserve existing behavior. +* 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 549a8542..9cee7ce7 100755 --- a/setup.py +++ b/setup.py @@ -142,6 +142,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"],