This is an indirect requirement and propagated by python-sphinx already.
* gnu/packages/python.scm(python-sphinx-repoze-autointerface)
[propagated-inputs]: Remove python-docutils.
These are indirect requirements and propagated by python-kombu.
* gnu/packages/python.scm(python-celery)[propagated-inputs] Remove python-amqp
and python-anyjson.
* gnu/packages/python.scm (python-redis, python2-redis) Comment out
[native-inputs] since these are used only for running tests, which
is disabled since it requires a Redis server.
Remove last additional [native-inputs] python-mock, thus there is no
need to inherit python-scikit-image package. Simply use
package-with-python2.
* gnu/packages/python.scm: (python-scikit-image): [properties]: Remove
python2-variant. (python2-scikit-image) Use simply
"package-with-python2" after removing last [native-inputs] python-mock.
The package does not provide tests, but there is no need to disable them.
Having them enabled allows running them if some newer version may provide
tests.
* gnu/package/python.scm (python-blinker, python2-blinker):
[arguments]: Remove.
This is not listed as an requirement and is already propagated by
python-pytest.
* gnu/packages/python.scm (python-pytest-mock, python2-pytest-mock):
[propagated-inputs]: Remove python-py.
This does not occur in the source.
* gnu/packages/python.scm (python-testscenarios, python2-testscenarios)
[propagated-inputs]: Remove python-mimeparse.
These are used to build self-extracting installers for Windows.
* gnu/packages/python.scm (python-setuptools, python2-setuptools) [source]:
Add snippet to delete *.exe files.
python-pytest is only required for testing, not at run-time.
* gnu/packages/python.scm (python-singledispatch, python2-singledispatch):
[propagated-inputs] Move python-pytest to [native-inputs].
Requires setuptools >= 17.1 due to some features used, while our
python currently only includes 12.0.
* gnu/packages/admin.scm (thefuck): Add setuptools to native-inputs.
* gnu/packages/python.scm (python-numpy-bootstrap): Correct inputs, use
modify-phases, add dummy newlines character to string to make emacs happy,
set PYTHONPATH prior to running tests. (python-numpy): propagate inputs, set
PYTHONPATH prior to building docs.
dateutil, pytz, and six do not occur in the code.
Remove python-dateutil, python-pytz, python-six from inputs;
Move python-cython to native-inputs; move python-pandas to
propagated-inputs.
python-six is only required for conversion, not at run-time
* gnu/packages/python.scm (python-singledispatch, python2-singledispatch):
[inputs] Move python-six to [native-inputs].
For breaking the cyclic build, formerly a separate (older) version was used
for bootstrapping. Now we use the same version just without tests and without
test dependencies.
* gnu/packages/python.scm (python-pbr-0.11, python2-pbr-0.11):
replace by … (python-pbr-minimal, python2-pbr-minimal).
(python-pbr) inherit from python-pbr-minimal, adding the requirements for
testing and building the documentation.
(python-fixtures) [native-inputs] Use python-pbr-minimal here.
(python-testrepository): [native-inputs] Add it here, it was a missing
dependency.
python-fixtures is required only for building.
* gnu/packages/python.scm (python-testrepository) [propagated-inputs] move
python-fixtures to [native-inputs].