gnu: python-pyvo: Update to 1.2.1.

* gnu/packages/astronomy.scm (python-pyvo): Update to 1.2.1.
[arguments]: Remove obsolete workaround.
This commit is contained in:
Marius Bakke 2022-02-18 21:31:11 +01:00
parent 57bfc7233b
commit 144d9232bd
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -826,21 +826,20 @@ of astronomical sources.")
(define-public python-pyvo (define-public python-pyvo
(package (package
(name "python-pyvo") (name "python-pyvo")
(version "1.2") (version "1.2.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pyvo" version)) (uri (pypi-uri "pyvo" version))
(sha256 (sha256
(base32 "1lap703wxbyxqlbk85myirp4pkdnc6cg10xhfajfsvz5k0hm5ffw")))) (base32 "1ri5yp6903386lkn79mdcmlax7zsfrrrjbcvb91wxydcc9yasc1n"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python" "-m" "pytest" "--pyargs" "pyvo" "-k" (invoke "python" "-m" "pytest" "--pyargs" "pyvo" "-k"
(string-append ; these tests use the network (string-append ; these tests use the network
"not test_access_with_string" "not test_access_with_string"