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

commit 51232fa0146c57ea2b7cddbc7afbcf76a9bec47c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Aug 9 23:47:53 2025 +0100

    gnu: python-untangle: Update to 1.2.1-2.7eec044.
    
    * gnu/packages/xml.scm (python-untangle): Update to 1.2.1-2.7eec044.
      [build-system]: Use pyproject.
      [arguments]: Dropp them.
      [propagated-inputs]: Add python-defusedxml.
      [native-inputs]: Add python-poetry-core and python-pytest.
    
    Change-Id: I811928c729e6c89034734b3998c52d6aa1e4b94d
---
 gnu/packages/xml.scm | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 407c1c0e23..4ea40f369c 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -2019,13 +2019,12 @@ content, it is not appropriate for security sensitive 
environments.")
     (license license:bsd-3)))
 
 (define-public python-untangle
-  ;; The latest tagged release is from 2014; use the latest commit.
-  (let ((revision "1")
-        (commit "fb916a9621175d000a3b0ca9322d3b3ebf8570c0"))
+  ;; The latest tagged release is from 2022; use the latest commit.
+  (let ((revision "2")
+        (commit "7eec044b6c78f58cc6d8f183b2f9a511bfc334f8"))
     (package
       (name "python-untangle")
-      ;; PyPI currently offers some untagged 1.1.1 version.
-      (version (git-version "1.1.1" revision commit))
+      (version (git-version "1.2.1" revision commit))
       (source
        (origin
          (method git-fetch)             ;no tests in pypi archive
@@ -2034,13 +2033,13 @@ content, it is not appropriate for security sensitive 
environments.")
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "0dn2jz9ajncbqx3pdlgqaxmngl6pdiaz03nj8mkddasckdq9lbrh"))))
-      (build-system python-build-system)
-      (arguments (list #:phases #~(modify-phases %standard-phases
-                                    (replace 'check
-                                      (lambda* (#:key tests? 
#:allow-other-keys)
-                                        (when tests?
-                                          (invoke "python" 
"tests/tests.py")))))))
+          (base32 "0pcwcrga8cgrqyyzfj01vkqv3xrzl0a8xa5yfi06byk6d85rv6zf"))))
+      (build-system pyproject-build-system)
+      (native-inputs
+       (list python-poetry-core
+             python-pytest))
+      (propagated-inputs
+       (list python-defusedxml))
       (home-page "http://0chris.com/untangle";)
       (synopsis "XML to Python objects conversion library")
       (description "@code{untangle} is a tiny Python library which converts an

Reply via email to