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.

Anacanda didn't work for some reason. So I didn't add 3.12 builds to it.
  • Loading branch information
indygreg committed Oct 27, 2023
1 parent cfbd3e7 commit bd6f2ef
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 @@ -91,6 +95,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 @@ -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)
============================
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 bd6f2ef

Please sign in to comment.