Skip to content

Update CI to build CPython 3.13 wheels & drop 3.7 #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
fail-fast: false
matrix:
include:
- os: macOS-12
version: cp313-macosx_x86_64
- os: macOS-12
version: cp313-macosx_arm64
- os: macOS-12
version: cp312-macosx_x86_64
- os: macOS-12
Expand All @@ -63,9 +67,11 @@ jobs:
version: cp38-macosx_x86_64
- os: macOS-12
version: cp38-macosx_arm64
- os: macOS-12
version: cp37-macosx_x86_64

- os: windows-2022
version: cp313-win_amd64
- os: windows-2022
version: cp313-win32
- os: windows-2022
version: cp312-win_amd64
- os: windows-2022
Expand All @@ -86,10 +92,6 @@ jobs:
version: cp38-win_amd64
- os: windows-2022
version: cp38-win32
- os: windows-2022
version: cp37-win_amd64
- os: windows-2022
version: cp37-win32

steps:
- name: Set up environment
Expand Down Expand Up @@ -121,7 +123,7 @@ jobs:
rm gssapi-*.tar.gz

- name: Build wheel
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.21.0
env:
CIBW_ARCHS: all
CIBW_TEST_SKIP: '*_arm64'
Expand Down Expand Up @@ -225,18 +227,20 @@ jobs:
fail-fast: false
matrix:
name:
- win-py-3.13
- win-py-3.12
- win-py-3.11
- win-py-3.10
- win-py-3.9
- win-py-3.8
- win-py-3.7
arch:
- x64
- x86
include:
- name: win-py-3.13
pyenv: '3.13.0-rc.2'
- name: win-py-3.12
pyenv: '3.12.0-rc.1'
pyenv: '3.12'
- name: win-py-3.11
pyenv: '3.11'
- name: win-py-3.10
Expand All @@ -245,8 +249,6 @@ jobs:
pyenv: '3.9'
- name: win-py-3.8
pyenv: '3.8'
- name: win-py-3.7
pyenv: '3.7'

steps:
- name: Check out code
Expand Down
4 changes: 2 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Basic

* a C compiler (such as GCC)

* Python 3.7+ (older releases support older versions, but are unsupported)
* Python 3.8+ (older releases support older versions, but are unsupported)

* the `decorator` python package

Compiling from Scratch
----------------------

To compile from scratch, you will need Cython >= 0.29.29 which is automatically
To compile from scratch, you will need Cython ``>= 3.0.3, < 4.0.0`` which is automatically
installed by pip in an isolated build virtual environment.

For Running the Tests
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[build-system]
requires = [
# 0.29.29 includes fixes for Python 3.11
"Cython >= 3.0.3, < 4.0.0",
"setuptools >= 40.6.0", # Start of PEP 517 support for setuptools
]
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def gssapi_modules(lst):

setup(
name='gssapi',
version='1.8.4',
version='1.9.0',
author='The Python GSSAPI Team',
author_email='[email protected]',
packages=['gssapi', 'gssapi.raw', 'gssapi.raw._enum_extensions',
Expand All @@ -291,17 +291,17 @@ def gssapi_modules(lst):
long_description=long_desc,
license='LICENSE.txt',
url="https://github.com/pythongssapi/python-gssapi",
python_requires=">=3.7",
python_requires=">=3.8",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Programming Language :: Python :: Implementation :: CPython',
Expand Down