gnu: python-pytest-remotedata: Update to 0.4.0.
* gnu/packages/python-check.scm (python-pytest-remotedata): Update to 0.4.0. [build-system]: Use pyproject-build-system. [arguments]<phases>: Simplify by removing not required phase modification and use <test-flags> instead. [native-inputs]: Add python-setuptools-scm. [propagated-inputs]: Delete python-six, add python-packaging. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
a1baa54b8a
commit
16e83296d7
1 changed files with 9 additions and 16 deletions
|
@ -735,30 +735,23 @@ were inadvertently left open at the end of a unit test.")
|
||||||
(define-public python-pytest-remotedata
|
(define-public python-pytest-remotedata
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-remotedata")
|
(name "python-pytest-remotedata")
|
||||||
(version "0.3.2")
|
(version "0.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pytest-remotedata" version))
|
(uri (pypi-uri "pytest-remotedata" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1h6g6shib6z07azf12rnsa053470ggbd7hy3bnbw8nf3nza5h372"))))
|
(base32 "1j5106j331cfdyfcwzrbs3yby84mq1b0kddfysq12z2dwdcca8dy"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:test-flags #~(list "-k" (string-append
|
||||||
(replace 'check
|
"not test_default_behavior"
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
" and not test_strict_with_decorator"))))
|
||||||
;; Make the installed plugin discoverable by Pytest.
|
|
||||||
(add-installed-pythonpath inputs outputs)
|
|
||||||
(invoke "pytest" "-vv" "-k"
|
|
||||||
(string-append
|
|
||||||
;; These tests require internet access. Disable them.
|
|
||||||
"not test_default_behavior"
|
|
||||||
" and not test_strict_with_decorator")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest python-setuptools-scm))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-six))
|
(list python-packaging))
|
||||||
(home-page "https://github.com/astropy/pytest-remotedata")
|
(home-page "https://github.com/astropy/pytest-remotedata")
|
||||||
(synopsis "Pytest plugin for controlling remote data access")
|
(synopsis "Pytest plugin for controlling remote data access")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue