summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-16 22:43:42 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-17 00:57:38 +0100
commit158010b350f01c177aa0ed29dbe94965b691ab07 (patch)
tree7bcf1ebe0c5b87f0f128c63b4122c2dd39a350fa
parent5c45c0ac4232182e2050223e7b0ff6e2d6984e25 (diff)
gnu: python-xmlschema: Update to 4.1.0.
* gnu/packages/xml.scm (python-xmlschema): Update to 4.1.0. [build-system]: Use pyproject. [arguments] <test-backend>: Use 'unittest. <phases>: Use default 'check. [native-inputs]: Add python-setuptools. Change-Id: Ia7fd7d8af9981e19566be05d85cf8288a772a7e9
-rw-r--r--gnu/packages/xml.scm22
1 files changed, 6 insertions, 16 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 96ad4e3e6a..db0f8f23fb 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -2002,7 +2002,7 @@ XML document to a Python object.")
(define-public python-xmlschema
(package
(name "python-xmlschema")
- (version "1.2.5")
+ (version "4.1.0")
(source (origin
;; Unit tests are not distributed with the PyPI archive.
(method git-fetch)
@@ -2012,22 +2012,12 @@ XML document to a Python object.")
(file-name (git-file-name name version))
(sha256
(base32
- "0rsa75x86gdjalvy4riq7613szb616hff80crx006chyppzdkxmq"))))
- (build-system python-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- ;; Disable test_export_remote__issue_187, which is known to
- ;; fail (see:
- ;; https://github.com/sissaschool/xmlschema/issues/206).
- (invoke "python" "-m" "unittest" "-v"
- "-k" "not test_export_remote__issue_187")
- (format #t "test suite not run~%")))))))
+ "1bgih9vad1iij8lffddas74gx8kx7qn0b5hr056hmhg5vbiyayyy"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'unittest))
(native-inputs
- (list python-lxml)) ;for tests
+ (list python-lxml
+ python-setuptools))
(propagated-inputs
(list python-elementpath))
(home-page "https://github.com/sissaschool/xmlschema")