gnu: python-pytest-6: Update to 6.2.4 and propagate iniconfig.
* gnu/packages/check.scm (python-pytest-6): Update to 6.2.4. Fix typo. Removing trailing #t. [native-inputs]: Delete the extraneous python-mock input. Move python-iniconfig to... [propagated-inputs]: ... here.
This commit is contained in:
parent
97a675df1b
commit
66071cd85e
1 changed files with 11 additions and 11 deletions
|
@ -1002,14 +1002,14 @@ and many external plugins.")
|
||||||
(define-public python-pytest-6
|
(define-public python-pytest-6
|
||||||
(package
|
(package
|
||||||
(inherit (strip-python2-variant python-pytest))
|
(inherit (strip-python2-variant python-pytest))
|
||||||
(version "6.1.2")
|
(version "6.2.4")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pytest" version))
|
(uri (pypi-uri "pytest" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0gl2sdm322vzmsh5k4f8kj9raiq2y7kdinnca4m45ifvii5fk9y0"))))
|
"0jy5f83la1864ss42dhsi1mcm5nl79d8bjg7wk474nlw1c5avg2h"))))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -1019,24 +1019,24 @@ and many external plugins.")
|
||||||
(if tests?
|
(if tests?
|
||||||
(invoke "pytest" "-vv" "-k"
|
(invoke "pytest" "-vv" "-k"
|
||||||
(string-append
|
(string-append
|
||||||
;; This test involve the /usr directory, and fails.
|
;; This test involves the /usr directory, and fails.
|
||||||
" not test_argcomplete"
|
" not test_argcomplete"
|
||||||
;; These test do not honor the isatty detection and
|
;; These test do not honor the isatty detection and
|
||||||
;; fail.
|
;; fail.
|
||||||
" and not test_code_highlight"
|
" and not test_code_highlight"
|
||||||
" and not test_color_yes"))
|
" and not test_color_yes"))
|
||||||
(format #t "test suite not run~%"))
|
(format #t "test suite not run~%")))))))
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(append (alist-delete "python-py"
|
(append (alist-delete "python-py"
|
||||||
(package-propagated-inputs python-pytest))
|
(package-propagated-inputs python-pytest))
|
||||||
`(("python-py" ,python-py-next))))
|
`(("python-iniconfig" ,python-iniconfig)
|
||||||
|
("python-py" ,python-py-next))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(append (alist-delete "python-pytest"
|
(append (fold alist-delete (package-native-inputs python-pytest)
|
||||||
(package-native-inputs python-pytest))
|
'("python-mock"
|
||||||
`(("python-pytest" ,python-pytest-6-bootstrap)
|
"python-pytest"))
|
||||||
("python-toml" ,python-toml)
|
`(("python-pytest" ,python-pytest-6-bootstrap)
|
||||||
("python-iniconfig" ,python-iniconfig))))))
|
("python-toml" ,python-toml))))))
|
||||||
|
|
||||||
;; Pytest 4.x are the last versions that support Python 2.
|
;; Pytest 4.x are the last versions that support Python 2.
|
||||||
(define-public python2-pytest
|
(define-public python2-pytest
|
||||||
|
|
Reference in a new issue