1
0
forked from pool/python-xmlsec

4 Commits

Author SHA256 Message Date
641e5ef518 Accepting request 1297456 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1297456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlsec?expand=0&rev=13
2025-08-04 13:25:46 +00:00
0af8a33acd - Update to 1.3.16
* This release provides binary wheels that are fully compatible
    with lxml v6.0.0. The compatibility is ensured by using the
    same underlying libxml2 version in both python-xmlsec and lxml.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlsec?expand=0&rev=35
2025-08-04 10:14:12 +00:00
fa0e2f49bf Accepting request 1254100 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1254100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xmlsec?expand=0&rev=12
2025-03-18 16:42:24 +00:00
d5daa827ca - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlsec?expand=0&rev=33
2025-03-18 12:13:06 +00:00
5 changed files with 27 additions and 31 deletions

View File

@@ -1,24 +0,0 @@
From 67cd4ac73e4fceac4b4eb6a320067cad33f79213 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
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

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Mon Aug 4 09:57:31 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.3.16
* This release provides binary wheels that are fully compatible
with lxml v6.0.0. The compatibility is ensured by using the
same underlying libxml2 version in both python-xmlsec and lxml.
-------------------------------------------------------------------
Tue Mar 18 11:49:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <steven.kowalik@suse.com>

View File

@@ -1,7 +1,8 @@
#
# spec file for package python-xmlsec
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 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
@@ -18,14 +19,12 @@
%{?sle15_python_module_pythons}
Name: python-xmlsec
Version: 1.3.14
Version: 1.3.16
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}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:934f804f2f895bcdb86f1eaee236b661013560ee69ec108d29cdd6e5f292a2d9
size 68854

3
xmlsec-1.3.16.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b6c70544c6d1d4ca006aaa314958e0ef3514dc81fffde1b23f2ec41a5791f9d
size 114202