me
/
guix
Archived
1
0
Fork 0

gnu: python-xmlschema: Update to 1.2.5.

* gnu/packages/xml.scm (python-xmlschema): Update to 1.2.5.
[phases]{check}: Skip the failing test 'test_export_remote__issue_187'.
master
Maxim Cournoyer 2020-10-19 16:06:18 -04:00
parent b865a21c34
commit 82d1e90aaa
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 7 additions and 3 deletions

View File

@ -2258,7 +2258,7 @@ libxml2 and libxslt.")
(define-public python-xmlschema (define-public python-xmlschema
(package (package
(name "python-xmlschema") (name "python-xmlschema")
(version "1.1.2") (version "1.2.5")
(source (origin (source (origin
;; Unit tests are not distributed with the PyPI archive. ;; Unit tests are not distributed with the PyPI archive.
(method git-fetch) (method git-fetch)
@ -2268,7 +2268,7 @@ libxml2 and libxslt.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"03bz5mp45y4shmlc1gxq1h69vjx60z1acg9cy4kq7fczgx8qg9jw")))) "0rsa75x86gdjalvy4riq7613szb616hff80crx006chyppzdkxmq"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -2280,7 +2280,11 @@ libxml2 and libxslt.")
(setenv "PYTHONPATH" (setenv "PYTHONPATH"
(string-append "./build/lib:" (string-append "./build/lib:"
(getenv "PYTHONPATH"))) (getenv "PYTHONPATH")))
(invoke "python" "-m" "unittest" "-v")) ;; 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~%")) (format #t "test suite not run~%"))
#t))))) #t)))))
(native-inputs (native-inputs