gnu: python-pytest-runner: Update to 4.2.
* gnu/packages/check.scm (python-pytest-runner): Update to 4.2. [arguments]: Remove.
This commit is contained in:
parent
d0205dfd92
commit
fb4c6115f5
|
@ -729,26 +729,15 @@ supports coverage of subprocesses.")
|
||||||
(define-public python-pytest-runner
|
(define-public python-pytest-runner
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-runner")
|
(name "python-pytest-runner")
|
||||||
(version "2.11.1")
|
(version "4.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pytest-runner" version))
|
(uri (pypi-uri "pytest-runner" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1cw978kqqcq916b9gfns1qjqvg33c5ail5jhw9054dsynkm32flq"))))
|
"1gkpyphawxz38ni1gdq1fmwyqcg02m7ypzqvv46z06crwdxi2gyj"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
|
||||||
`(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
;; The fancy way of setting the version with setuptools_scm does not
|
|
||||||
;; seem to work here.
|
|
||||||
(add-after 'unpack 'set-version
|
|
||||||
(lambda _
|
|
||||||
(substitute* "docs/conf.py"
|
|
||||||
(("version = setuptools_scm\\.get_version\\(root='\\.\\.')")
|
|
||||||
(string-append "version = \"" ,version "\"")))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest-bootstrap)
|
`(("python-pytest" ,python-pytest-bootstrap)
|
||||||
("python-setuptools-scm" ,python-setuptools-scm)))
|
("python-setuptools-scm" ,python-setuptools-scm)))
|
||||||
|
|
Loading…
Reference in New Issue