guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit cf3d2ea7a422e9fa6a4bb228be60aebdfae5f105
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jan 27 16:05:33 2026 +0100

    gnu: python-xmlsec: Update to 1.3.17.
    
    * gnu/packages/python-xyz.scm (python-xmlsec): Update to 1.3.17.
    [source]: Switch to git-fetch.
    [arguments]<#:phases>: Drop phase 'pre-check.
    
    Change-Id: I9b5220f9acba1f53e444bd60d60e8d8d5ae4afd3
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c4484a0ed6..0c044ff147 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -40396,29 +40396,21 @@ similar XML files, in the same way the @command{diff} 
utility does it.")
 (define-public python-xmlsec
   (package
     (name "python-xmlsec")
-    (version "1.3.16")
+    (version "1.3.17")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "xmlsec" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/xmlsec/python-xmlsec";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "178zg6jl3v7j4cdxxzqzr16m3wqfisai98xa0sh4q7bd9ia70v1b"))))
+        (base32 "1kd34c248jz603jisamxcs18xchyyizkzaqnfv5668yl6bj7nxd7"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       ;; See https://github.com/xmlsec/python-xmlsec/issues/210
-      #:test-flags '(list "-n" "1"
-                          ;; This causes other tests to segfault.
-                          "-k" "not test_reinitialize_module")
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; FIXME: This is very unfortunate.  I can't seem to find a way to
-          ;; hardcode the location of this library, so users will also need to
-          ;; set LD_LIBRARY_PATH.
-          (add-before 'check 'pre-check
-            (lambda* (#:key inputs #:allow-other-keys)
-              (setenv "LD_LIBRARY_PATH"
-                      (dirname (search-input-file inputs 
"lib/libxmlsec1-openssl.so.1.3.7"))))))))
+      #:test-flags #~(list "-n" "1")))
     (inputs (list openssl libltdl libxslt libxml2))
     (propagated-inputs (list python-lxml xmlsec-openssl))
     (native-inputs (list pkg-config

Reply via email to