- Update to 1.8.3:
- Added Python 3.12 wheel - Fix Cython 3 compatibility - Remove upstreamed patch d9200d1018ac916b30433da23898c8c5fbde0f28.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gssapi?expand=0&rev=29
This commit is contained in:
parent
850d01accd
commit
3e0bb0e928
@ -1,53 +0,0 @@
|
|||||||
From d9200d1018ac916b30433da23898c8c5fbde0f28 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jordan Borean <jborean93@gmail.com>
|
|
||||||
Date: Tue, 18 Jul 2023 08:57:11 +1000
|
|
||||||
Subject: [PATCH] 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 <jborean93@gmail.com>
|
|
||||||
---
|
|
||||||
gssapi/raw/_enum_extensions/ext_dce.pyx | 2 +-
|
|
||||||
pyproject.toml | 2 +-
|
|
||||||
setup.py | 2 +-
|
|
||||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/gssapi/raw/_enum_extensions/ext_dce.pyx b/gssapi/raw/_enum_extensions/ext_dce.pyx
|
|
||||||
index fd2989ae..190c8285 100644
|
|
||||||
--- a/gssapi/raw/_enum_extensions/ext_dce.pyx
|
|
||||||
+++ b/gssapi/raw/_enum_extensions/ext_dce.pyx
|
|
||||||
@@ -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":
|
|
||||||
diff --git a/pyproject.toml b/pyproject.toml
|
|
||||||
index 2f5c208c..5ee26df6 100644
|
|
||||||
--- a/pyproject.toml
|
|
||||||
+++ b/pyproject.toml
|
|
||||||
@@ -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"
|
|
||||||
diff --git a/setup.py b/setup.py
|
|
||||||
index 36c7aafa..881b9f9f 100755
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -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='jborean93@gmail.com',
|
|
||||||
packages=['gssapi', 'gssapi.raw', 'gssapi.raw._enum_extensions',
|
|
BIN
gssapi-1.8.2.tar.gz
(Stored with Git LFS)
BIN
gssapi-1.8.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
gssapi-1.8.3.tar.gz
Normal file
3
gssapi-1.8.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:aa3c8d0b1526f52559552bb2c9d2d6be013d76a8e5db00b39a1db5727e93b0b0
|
||||||
|
size 94190
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 20 21:30:09 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 1.8.3:
|
||||||
|
- Added Python 3.12 wheel
|
||||||
|
- Fix Cython 3 compatibility
|
||||||
|
- Remove upstreamed patch
|
||||||
|
d9200d1018ac916b30433da23898c8c5fbde0f28.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 14 06:41:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Mon Aug 14 06:41:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -16,17 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-gssapi
|
Name: python-gssapi
|
||||||
Version: 1.8.2
|
Version: 1.8.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python interface to RFC 2743/2744 (plus common extensions)
|
Summary: A Python interface to RFC 2743/2744 (plus common extensions)
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: https://github.com/pythongssapi/python-gssapi
|
URL: https://github.com/pythongssapi/python-gssapi
|
||||||
Source: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%{version}.tar.gz
|
||||||
Patch1: https://github.com/pythongssapi/python-gssapi/commit/d9200d1018ac916b30433da23898c8c5fbde0f28.patch
|
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module decorator}
|
BuildRequires: %{python_module decorator}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
@ -67,7 +65,8 @@ mv gssapi gssapi_temp
|
|||||||
mv gssapi_temp gssapi
|
mv gssapi_temp gssapi
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitearch}/gssapi*
|
%{python_sitearch}/gssapi
|
||||||
|
%{python_sitearch}/gssapi-%{version}*-info
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user