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 fa05c89 commit 0c7bb7b
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 @@ -18,6 +18,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 @@ -14,6 +14,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 @@ -19,6 +19,7 @@ jobs:
- 'cp39-cp39'
- 'cp310-cp310'
- 'cp311-cp311'
- 'cp312-cp312'
runs-on: 'ubuntu-22.04'
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:
- 'cp39-*'
- 'cp310-*'
- 'cp311-*'
- 'cp312-*'
arch: ['x86_64']
include:
- py: 'cp38-*'
Expand All @@ -56,6 +58,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 @@ -113,6 +117,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 @@ -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)
============================
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 0c7bb7b

Please sign in to comment.