[packages/python3-gssapi] Rel 2.
arekm
arekm at pld-linux.org
Thu Nov 12 11:53:18 CET 2026
commit a7a5af6b7dcab4e5957d1c8e89b7b7c717cf0e59
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 12 11:52:36 2026 +0100
Rel 2.
Relax the exact Cython == 3.3.0 build pin to >= 3.1.
gssapi-cython-pin.patch | 13 +++++++++++++
python3-gssapi.spec | 6 ++++--
2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/python3-gssapi.spec b/python3-gssapi.spec
index 14c326a..75891e1 100644
--- a/python3-gssapi.spec
+++ b/python3-gssapi.spec
@@ -8,19 +8,20 @@ Summary: Python GSSAPI Wrapper
Summary(pl.UTF-8): Pythonowy interfejs do GSSAPI
Name: python3-%{module}
Version: 1.12.0
-Release: 1
+Release: 2
License: ISC
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/gssapi/
Source0: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz
# Source0-md5: a139f609d073d0eb6734e68248b6832a
+Patch0: gssapi-cython-pin.patch
URL: https://pypi.org/project/gssapi/
%if %{with krb5}
BuildRequires: krb5-devel
%else
BuildRequires: heimdal-devel
%endif
-BuildRequires: python3-Cython = 3.3.0
+BuildRequires: python3-Cython >= 3.1
BuildRequires: python3-build
BuildRequires: python3-devel >= 1:3.9
BuildRequires: python3-installer
@@ -47,6 +48,7 @@ Kerberos, powinien dać się używać także z innymi mechanizmami GSSAPI.
%prep
%setup -q -n %{module}-%{version}
+%patch -P0 -p1
%build
%py3_build_pyproject
diff --git a/gssapi-cython-pin.patch b/gssapi-cython-pin.patch
new file mode 100644
index 0000000..249e781
--- /dev/null
+++ b/gssapi-cython-pin.patch
@@ -0,0 +1,13 @@
+upstream pins the exact Cython it builds release wheels with; any 3.1+
+(freethreading_compatible directive) works
+
+--- gssapi-1.12.0/pyproject.toml.orig
++++ gssapi-1.12.0/pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+ requires = [
+- "Cython == 3.3.0",
++ "Cython >= 3.1",
+ "setuptools >= 40.6.0", # Start of PEP 517 support for setuptools
+ ]
+ build-backend = "setuptools.build_meta"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-gssapi.git/commitdiff/a7a5af6b7dcab4e5957d1c8e89b7b7c717cf0e59
More information about the pld-cvs-commit
mailing list