diff --git a/fix-lxml-incompat.patch b/fix-lxml-incompat.patch deleted file mode 100644 index cf248be..0000000 --- a/fix-lxml-incompat.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 67cd4ac73e4fceac4b4eb6a320067cad33f79213 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= -Date: Wed, 19 Jun 2024 17:43:07 +0200 -Subject: [PATCH] Explicitly cast the pointer type in - PyXmlSec_ClearReplacedNodes - -Fixes https://github.com/xmlsec/python-xmlsec/issues/323 ---- - src/enc.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/enc.c b/src/enc.c -index 5453ef9..c2bc94b 100644 ---- a/src/enc.c -+++ b/src/enc.c -@@ -204,7 +204,7 @@ static void PyXmlSec_ClearReplacedNodes(xmlSecEncCtxPtr ctx, PyXmlSec_LxmlDocume - PYXMLSEC_DEBUGF("clear replaced node %p", n); - nn = n->next; - // if n has references, it will not be deleted -- elem = PyXmlSec_elementFactory(doc, n); -+ elem = (PyXmlSec_LxmlElementPtr*)PyXmlSec_elementFactory(doc, n); - if (NULL == elem) - xmlFreeNode(n); - else diff --git a/python-xmlsec.changes b/python-xmlsec.changes index adaa8d9..377bfae 100644 --- a/python-xmlsec.changes +++ b/python-xmlsec.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Mar 18 11:49:45 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.3.15 + * Explicitly cast the pointer type in PyXmlSec_ClearReplacedNodes + * Fix sdist CI workflow + * Build wheels for Python 3.13 + * Fix linuxbrew workflow + * Fix macosx CI workflow + * Fix type mismatch in PyXmlSec_ClearReplacedNodes + for Python 3.13 compatibility +- Drop fix-lxml-incompat.patch, merged upstream + ------------------------------------------------------------------- Thu Aug 29 04:40:55 UTC 2024 - Steve Kowalik diff --git a/python-xmlsec.spec b/python-xmlsec.spec index 7fb4597..ef18861 100644 --- a/python-xmlsec.spec +++ b/python-xmlsec.spec @@ -1,7 +1,7 @@ # # spec file for package python-xmlsec # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,12 @@ %{?sle15_python_module_pythons} Name: python-xmlsec -Version: 1.3.14 +Version: 1.3.15 Release: 0 Summary: Python bindings for the XML Security Library License: MIT URL: https://github.com/mehcode/python-xmlsec Source: https://files.pythonhosted.org/packages/source/x/xmlsec/xmlsec-%{version}.tar.gz -# PATCH-FIX-UPSTREAM gh#xmlsec/python-xmlsec#325 -Patch0: fix-lxml-incompat.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module lxml >= 3.8.0} diff --git a/xmlsec-1.3.14.tar.gz b/xmlsec-1.3.14.tar.gz deleted file mode 100644 index 96c6f34..0000000 --- a/xmlsec-1.3.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:934f804f2f895bcdb86f1eaee236b661013560ee69ec108d29cdd6e5f292a2d9 -size 68854 diff --git a/xmlsec-1.3.15.tar.gz b/xmlsec-1.3.15.tar.gz new file mode 100644 index 0000000..beced8f --- /dev/null +++ b/xmlsec-1.3.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:baa856b83d0012e278e6f6cbec96ac8128de667ca9fa9a2eeb02c752e816f6d8 +size 114117