From efb5d50ed716228298f43460f2b119f67bf87766 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Tue, 29 Aug 2023 05:04:04 +1000 Subject: [PATCH] Added Python 3.12 wheels Adds wheels for Python 3.12 on macOS and Windows. There are no wheels for Linux due to policies around linking libraries not included in the wheel itself. Signed-off-by: Jordan Borean --- .github/workflows/ci.yml | 15 +++++++++++++-- setup.py | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0032f9c4..a499cadc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Check out code uses: actions/checkout@v3 - + - name: Select python uses: actions/setup-python@v4 with: @@ -43,6 +43,10 @@ jobs: fail-fast: false matrix: include: + - os: macOS-12 + version: cp312-macosx_x86_64 + - os: macOS-12 + version: cp312-macosx_arm64 - os: macOS-12 version: cp311-macosx_x86_64 - os: macOS-12 @@ -62,6 +66,10 @@ jobs: - os: macOS-12 version: cp37-macosx_x86_64 + - os: windows-2022 + version: cp312-win_amd64 + - os: windows-2022 + version: cp312-win32 - os: windows-2022 version: cp311-win_amd64 - os: windows-2022 @@ -113,7 +121,7 @@ jobs: rm gssapi-*.tar.gz - name: Build wheel - uses: pypa/cibuildwheel@v2.11.1 + uses: pypa/cibuildwheel@v2.15.0 env: CIBW_ARCHS: all CIBW_TEST_SKIP: '*_arm64' @@ -179,6 +187,7 @@ jobs: fail-fast: false matrix: name: + - win-py-3.12 - win-py-3.11 - win-py-3.10 - win-py-3.9 @@ -188,6 +197,8 @@ jobs: - x64 - x86 include: + - name: win-py-3.12 + pyenv: '3.12.0-rc.1' - name: win-py-3.11 pyenv: '3.11' - name: win-py-3.10 diff --git a/setup.py b/setup.py index 881b9f9f..ea8b9145 100755 --- a/setup.py +++ b/setup.py @@ -297,6 +297,7 @@ def gssapi_modules(lst): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Intended Audience :: Developers', 'License :: OSI Approved :: ISC License (ISCL)', 'Programming Language :: Python :: Implementation :: CPython',