Skip to content

Commit

Permalink
Fix Cython 3 Compatibility
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jborean93 committed Jul 20, 2023
1 parent 86e9957 commit d9200d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gssapi/raw/_enum_extensions/ext_dce.pyx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from gssapi.raw.cython_types cimport OM_uint32

import gssapi.raw._enum_extensions as ext_registry
from gssapi.raw import _enum_extensions as ext_registry


cdef extern from "python_gssapi_ext.h":
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"Cython >= 0.29.29, < 3.0.0", # 0.29.29 includes fixes for Python 3.11
"Cython >= 0.29.29, < 4.0.0", # 0.29.29 includes fixes for Python 3.11
"setuptools >= 40.6.0", # Start of PEP 517 support for setuptools
]
build-backend = "setuptools.build_meta"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def gssapi_modules(lst):

setup(
name='gssapi',
version='1.8.2',
version='1.8.3',
author='The Python GSSAPI Team',
author_email='[email protected]',
packages=['gssapi', 'gssapi.raw', 'gssapi.raw._enum_extensions',
Expand Down

0 comments on commit d9200d1

Please sign in to comment.