Skip to content

Commit

Permalink
global: add Python 3.12 support
Browse files Browse the repository at this point in the history
Updated setup.py metadata and added 3.12 jobs to CI to ensure things
work. Pretty straightforward.
  • Loading branch information
indygreg committed Oct 23, 2023
1 parent f0890a3 commit ca6acf5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
arch:
- 'x86'
- 'x64'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
runs-on: 'ubuntu-22.04'
steps:
- name: Set up Python
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- 'cp39-cp39'
- 'cp310-cp310'
- 'cp311-cp311'
- 'cp312-cp312'
runs-on: 'ubuntu-22.04'
steps:
- uses: actions/checkout@v4
Expand All @@ -44,6 +45,7 @@ jobs:
- 'cp39-*'
- 'cp310-*'
- 'cp311-*'
- 'cp312-*'
arch: ['x86_64']
include:
- py: 'cp38-*'
Expand All @@ -54,6 +56,8 @@ jobs:
arch: 'arm64'
- py: 'cp311-*'
arch: 'arm64'
- py: 'cp312-*'
arch: 'arm64'
runs-on: 'macos-12'
env:
CIBW_ARCHS: ${{ matrix.arch }}
Expand Down Expand Up @@ -110,6 +114,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
arch:
- 'x86'
- 'x64'
Expand Down
2 changes: 2 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Changes
nominally only impact developers of this project and not end-users.
* ``pyproject.toml`` now declares a ``[build-system]`` section saying to build
with setuptools.
* 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)
============================
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit ca6acf5

Please sign in to comment.