Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-gssapi for openSUSE:Factory 
checked in at 2026-03-17 19:02:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gssapi (Old)
 and      /work/SRC/openSUSE:Factory/.python-gssapi.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gssapi"

Tue Mar 17 19:02:09 2026 rev:18 rq:1339152 version:1.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gssapi/python-gssapi.changes      
2025-11-12 21:42:31.861024046 +0100
+++ /work/SRC/openSUSE:Factory/.python-gssapi.new.8177/python-gssapi.changes    
2026-03-17 19:02:18.603240877 +0100
@@ -1,0 +2,12 @@
+Sun Mar 15 19:20:44 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.11.1:
+  * Add Free-Threading and Limited API/Stable ABI
+  * Fix up classifier from typo
+- update to 1.11.0:
+  * Add Free-Threading and Limited API/Stable ABI
+  * Bug: This was never pushed to PyPI due to a bug in the
+    `setup.py` classifiers. The `v1.11.1` release contains the
+    same changes here.
+
+-------------------------------------------------------------------

Old:
----
  gssapi-1.10.1.tar.gz

New:
----
  gssapi-1.11.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-gssapi.spec ++++++
--- /var/tmp/diff_new_pack.OXnQ5I/_old  2026-03-17 19:02:19.139262858 +0100
+++ /var/tmp/diff_new_pack.OXnQ5I/_new  2026-03-17 19:02:19.143263022 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gssapi
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,9 @@
 #
 
 
-%define skip_python2 1
 %{?sle15_python_module_pythons}
 Name:           python-gssapi
-Version:        1.10.1
+Version:        1.11.1
 Release:        0
 Summary:        A Python interface to RFC 2743/2744 (plus common extensions)
 License:        ISC

++++++ gssapi-1.10.1.tar.gz -> gssapi-1.11.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gssapi-1.10.1/PKG-INFO new/gssapi-1.11.1/PKG-INFO
--- old/gssapi-1.10.1/PKG-INFO  2025-10-03 04:45:32.914945400 +0200
+++ new/gssapi-1.11.1/PKG-INFO  2026-01-26 21:47:23.494654700 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: gssapi
-Version: 1.10.1
+Version: 1.11.1
 Summary: Python GSSAPI Wrapper
 Home-page: https://github.com/pythongssapi/python-gssapi
 Author: The Python GSSAPI Team
@@ -16,6 +16,7 @@
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
 Classifier: Programming Language :: Python :: 3.14
+Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
 Classifier: Intended Audience :: Developers
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Cython
@@ -199,6 +200,18 @@
 
 * Kerberos specific extensions
 
+Python Free-Threading (PEP 779)
+-------------------------------
+
+This library supports Python Free-Threading and will build
+free-threading-compatible extension files if installed under a free-threading
+interpreter. Python 3.14t is tested in CI and a wheel will be created for
+3.14t+. Python 3.13t is not officially tested or supported but may or may not
+work. There is limited testing for free-threading in this library and it does
+not aim to be thread safe out of the box. If you encounter any issues or
+problems with this scenario please raise an issue and we can look at possible
+options to fix this.
+
 The Team
 ========
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gssapi-1.10.1/README.rst new/gssapi-1.11.1/README.rst
--- old/gssapi-1.10.1/README.rst        2025-10-03 04:45:21.000000000 +0200
+++ new/gssapi-1.11.1/README.rst        2026-01-26 21:47:14.000000000 +0100
@@ -161,6 +161,18 @@
 
 * Kerberos specific extensions
 
+Python Free-Threading (PEP 779)
+-------------------------------
+
+This library supports Python Free-Threading and will build
+free-threading-compatible extension files if installed under a free-threading
+interpreter. Python 3.14t is tested in CI and a wheel will be created for
+3.14t+. Python 3.13t is not officially tested or supported but may or may not
+work. There is limited testing for free-threading in this library and it does
+not aim to be thread safe out of the box. If you encounter any issues or
+problems with this scenario please raise an issue and we can look at possible
+options to fix this.
+
 The Team
 ========
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gssapi-1.10.1/README.txt new/gssapi-1.11.1/README.txt
--- old/gssapi-1.10.1/README.txt        2025-10-03 04:45:21.000000000 +0200
+++ new/gssapi-1.11.1/README.txt        2026-01-26 21:47:14.000000000 +0100
@@ -161,6 +161,18 @@
 
 * Kerberos specific extensions
 
+Python Free-Threading (PEP 779)
+-------------------------------
+
+This library supports Python Free-Threading and will build
+free-threading-compatible extension files if installed under a free-threading
+interpreter. Python 3.14t is tested in CI and a wheel will be created for
+3.14t+. Python 3.13t is not officially tested or supported but may or may not
+work. There is limited testing for free-threading in this library and it does
+not aim to be thread safe out of the box. If you encounter any issues or
+problems with this scenario please raise an issue and we can look at possible
+options to fix this.
+
 The Team
 ========
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gssapi-1.10.1/gssapi.egg-info/PKG-INFO 
new/gssapi-1.11.1/gssapi.egg-info/PKG-INFO
--- old/gssapi-1.10.1/gssapi.egg-info/PKG-INFO  2025-10-03 04:45:32.000000000 
+0200
+++ new/gssapi-1.11.1/gssapi.egg-info/PKG-INFO  2026-01-26 21:47:23.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: gssapi
-Version: 1.10.1
+Version: 1.11.1
 Summary: Python GSSAPI Wrapper
 Home-page: https://github.com/pythongssapi/python-gssapi
 Author: The Python GSSAPI Team
@@ -16,6 +16,7 @@
 Classifier: Programming Language :: Python :: 3.12
 Classifier: Programming Language :: Python :: 3.13
 Classifier: Programming Language :: Python :: 3.14
+Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
 Classifier: Intended Audience :: Developers
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Cython
@@ -199,6 +200,18 @@
 
 * Kerberos specific extensions
 
+Python Free-Threading (PEP 779)
+-------------------------------
+
+This library supports Python Free-Threading and will build
+free-threading-compatible extension files if installed under a free-threading
+interpreter. Python 3.14t is tested in CI and a wheel will be created for
+3.14t+. Python 3.13t is not officially tested or supported but may or may not
+work. There is limited testing for free-threading in this library and it does
+not aim to be thread safe out of the box. If you encounter any issues or
+problems with this scenario please raise an issue and we can look at possible
+options to fix this.
+
 The Team
 ========
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gssapi-1.10.1/pyproject.toml 
new/gssapi-1.11.1/pyproject.toml
--- old/gssapi-1.10.1/pyproject.toml    2025-10-03 04:45:21.000000000 +0200
+++ new/gssapi-1.11.1/pyproject.toml    2026-01-26 21:47:14.000000000 +0100
@@ -1,6 +1,6 @@
 [build-system]
 requires = [
-    "Cython == 3.1.3",
+    "Cython == 3.2.4",
     "setuptools >= 40.6.0",  # Start of PEP 517 support for setuptools
 ]
 build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gssapi-1.10.1/setup.py new/gssapi-1.11.1/setup.py
--- old/gssapi-1.10.1/setup.py  2025-10-03 04:45:21.000000000 +0200
+++ new/gssapi-1.11.1/setup.py  2026-01-26 21:47:14.000000000 +0100
@@ -3,6 +3,7 @@
 import platform
 import re
 import sys
+import sysconfig
 import os
 import shutil
 import shlex
@@ -18,6 +19,17 @@
 from Cython.Build import cythonize  # noqa: E402
 
 
+# Enable limited API for Python 3.11+
+USE_LIMITED_API = sys.version_info >= (3, 11)
+LIMITED_API_VERSION = 0x030B0000  # Python 3.11 ABI
+
+IS_FREE_THREADED = False
+if sysconfig.get_config_var("Py_GIL_DISABLED") == 1:
+    # Free-threaded Python does not support the limited API.
+    USE_LIMITED_API = False
+    IS_FREE_THREADED = True
+
+
 def get_output(*args, **kwargs):
     res = subprocess.check_output(*args, shell=True, **kwargs)
     decoded = res.decode('utf-8')
@@ -215,6 +227,11 @@
     source = name_fmt.replace('.', '/') % module + '.pyx'
     if not os.path.exists(source):
         raise OSError(source)
+
+    define_macros = kwargs.pop('define_macros', [])
+    if USE_LIMITED_API:
+        define_macros.append(('Py_LIMITED_API', LIMITED_API_VERSION))
+
     return Extension(
         name_fmt % module,
         extra_link_args=link_args,
@@ -222,6 +239,8 @@
         library_dirs=library_dirs,
         libraries=libraries,
         sources=[source],
+        define_macros=define_macros,
+        py_limited_api=USE_LIMITED_API,
         **kwargs
     )
 
@@ -264,7 +283,16 @@
     # add in any present enum extension files
     res.extend(ENUM_EXTS)
 
-    return cythonize(res, language_level=2)
+    compiler_directives = {}
+    if IS_FREE_THREADED:
+        # Enable free-threading support in Cython
+        compiler_directives["freethreading_compatible"] = True
+
+    return cythonize(
+        res,
+        language_level=2,
+        compiler_directives=compiler_directives,
+    )
 
 
 long_desc = re.sub(r'\.\. role:: \w+\(code\)\s*\n\s*.+', '',
@@ -276,9 +304,13 @@
     'decorator',
 ]
 
+setup_options = {}
+if USE_LIMITED_API:
+    setup_options["bdist_wheel"] = {"py_limited_api": "cp311"}
+
 setup(
     name='gssapi',
-    version='1.10.1',
+    version='1.11.1',
     author='The Python GSSAPI Team',
     author_email='[email protected]',
     packages=['gssapi', 'gssapi.raw', 'gssapi.raw._enum_extensions',
@@ -304,6 +336,7 @@
         'Programming Language :: Python :: 3.12',
         'Programming Language :: Python :: 3.13',
         'Programming Language :: Python :: 3.14',
+        "Programming Language :: Python :: Free Threading :: 2 - Beta",
         'Intended Audience :: Developers',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Cython',
@@ -344,6 +377,7 @@
 
         extension_file('krb5', 'gss_krb5_ccache_name'),
     ]),
+    options=setup_options,
     keywords=['gssapi', 'security'],
     install_requires=install_requires
 )

Reply via email to