summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-16 22:43:42 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:37 +0100
commita49c2fb668fe0a3979c072ad111b8fd3d78b2088 (patch)
tree3ebc2a05431fd8fd79c67ece1dd828b9efd54ca7 /gnu/packages
parent0d0211a113323fcc53d7c6cc936ca7143b16d370 (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
Diffstat (limited to 'gnu/packages')
-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 84c2077d440..ae2c9ee8cb1 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -2047,7 +2047,7 @@ XML document to a Python object.")
2047(define-public python-xmlschema 2047(define-public python-xmlschema
2048 (package 2048 (package
2049 (name "python-xmlschema") 2049 (name "python-xmlschema")
2050 (version "1.2.5") 2050 (version "4.1.0")
2051 (source (origin 2051 (source (origin
2052 ;; Unit tests are not distributed with the PyPI archive. 2052 ;; Unit tests are not distributed with the PyPI archive.
2053 (method git-fetch) 2053 (method git-fetch)
@@ -2057,22 +2057,12 @@ XML document to a Python object.")
2057 (file-name (git-file-name name version)) 2057 (file-name (git-file-name name version))
2058 (sha256 2058 (sha256
2059 (base32 2059 (base32
2060 "0rsa75x86gdjalvy4riq7613szb616hff80crx006chyppzdkxmq")))) 2060 "1bgih9vad1iij8lffddas74gx8kx7qn0b5hr056hmhg5vbiyayyy"))))
2061 (build-system python-build-system) 2061 (build-system pyproject-build-system)
2062 (arguments 2062 (arguments (list #:test-backend #~'unittest))
2063 '(#:phases
2064 (modify-phases %standard-phases
2065 (replace 'check
2066 (lambda* (#:key tests? #:allow-other-keys)
2067 (if tests?
2068 ;; Disable test_export_remote__issue_187, which is known to
2069 ;; fail (see:
2070 ;; https://github.com/sissaschool/xmlschema/issues/206).
2071 (invoke "python" "-m" "unittest" "-v"
2072 "-k" "not test_export_remote__issue_187")
2073 (format #t "test suite not run~%")))))))
2074 (native-inputs 2063 (native-inputs
2075 (list python-lxml)) ;for tests 2064 (list python-lxml
2065 python-setuptools))
2076 (propagated-inputs 2066 (propagated-inputs
2077 (list python-elementpath)) 2067 (list python-elementpath))
2078 (home-page "https://github.com/sissaschool/xmlschema") 2068 (home-page "https://github.com/sissaschool/xmlschema")