Skip to content

Commit d9200d1

Browse files
committed
Fix Cython 3 Compatibility
Fixes compatibility with Cython 3 by fixing up the import so it doesn't try and do a recursive import. This also increases the upper bound for Cython to 4.0.0 now that 3.0.0 is compatible. Signed-off-by: Jordan Borean <[email protected]>
1 parent 86e9957 commit d9200d1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gssapi/raw/_enum_extensions/ext_dce.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from gssapi.raw.cython_types cimport OM_uint32
22

3-
import gssapi.raw._enum_extensions as ext_registry
3+
from gssapi.raw import _enum_extensions as ext_registry
44

55

66
cdef extern from "python_gssapi_ext.h":

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"Cython >= 0.29.29, < 3.0.0", # 0.29.29 includes fixes for Python 3.11
3+
"Cython >= 0.29.29, < 4.0.0", # 0.29.29 includes fixes for Python 3.11
44
"setuptools >= 40.6.0", # Start of PEP 517 support for setuptools
55
]
66
build-backend = "setuptools.build_meta"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def gssapi_modules(lst):
274274

275275
setup(
276276
name='gssapi',
277-
version='1.8.2',
277+
version='1.8.3',
278278
author='The Python GSSAPI Team',
279279
author_email='[email protected]',
280280
packages=['gssapi', 'gssapi.raw', 'gssapi.raw._enum_extensions',

0 commit comments

Comments
 (0)