gnu: python-pytest: Propagate python-iniconfig, python-toml.

Based on a reading of the install_requires field of its setup.cfg file.

* gnu/packages/check.scm (python-pytest)[native-inputs]: Move
python-iniconfig...
[propagated-inputs]: ... to here.  Add python-toml.  Remove
python-atomicwrites, apparently only required on the win32 platform.
This commit is contained in:
Maxim Cournoyer 2021-01-14 22:22:21 -05:00
parent 9837bc5e35
commit be7061cea3
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -67,6 +67,7 @@ (define-module (gnu packages check)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages time)
@ -907,19 +908,19 @@ (define-public python-pytest
" and not test_color_yes"))
(format #t "test suite not run~%")))))))
(propagated-inputs
`(("python-atomicwrites" ,python-atomicwrites)
("python-attrs" ,python-attrs-bootstrap)
`(("python-attrs" ,python-attrs-bootstrap)
("python-iniconfig" ,python-iniconfig)
("python-more-itertools" ,python-more-itertools)
("python-packaging" ,python-packaging-bootstrap)
("python-pluggy" ,python-pluggy)
("python-py" ,python-py)
("python-six" ,python-six-bootstrap)
("python-toml" ,python-toml)
("python-wcwidth" ,python-wcwidth)))
(native-inputs
`(;; Tests need the "regular" bash since 'bash-final' lacks `compgen`.
("bash" ,bash)
("python-hypothesis" ,python-hypothesis)
("python-iniconfig" ,python-iniconfig)
("python-nose" ,python-nose)
("python-mock" ,python-mock)
("python-pytest" ,python-pytest-bootstrap)