* gnu/packages/patches/python-pycodestyle-stdlib-tokenize-fix.patch: New
patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pycodestyle)[source]: Use it.
The -j flag is passed in through #:make-flags and EXTRATESTOPTS. This is
combined with the TESTOPTS, and in Python 2, that includes the -l flag by
default.
The -l flag, is for finding memory leaks in tests, and is incompatible with
the -j flag, and the build previously failed at the start of the 'check
phase. Therefore, remove the -l flag from the Python 2 testsuite, as it
doesn't sound like a useful thing to do when building the package for Guix.
* gnu/packages/python.scm (python-2.7): Add 'remove-findleaks-from-testopts
phase.
This is an attempt to get the package building after the update to Python
3.7. I'm not sure this totally works, as the tests detect an incompatibility
with Python 3.7 due to use of "async". But with the tests disabled, you can at
least import the celery module, which is a start.
* gnu/packages/python.scm (python-celery): Update to 4.2.1.
[arguments]: Switch to py.test, from nose, disable the tests and loosen the
requirements on pytest.
[native-inputs]: Remove python-nose, add python-pytest and python-case.
[home-page]: Change from HTTP to HTTPS.
This is to enable updating python-celery.
* gnu/packages/python.scm (python-billiard): Update to 3.5.0.5.
[native-inputs]: Remove python-nose, add python-case and python-pytest.
Jedi test suite fails when run with Python 3.7.
* gnu/packages/python.scm (python-jedi): Update to 0.13.1
[tests?] Disable.
[phases] Add condition check for the tests? argument to run the tests.
Remove the replacement, as version 3.7.1 includes the fix for this issue.
* gnu/packages/python.scm (python-3.7): Update to 3.7.1.
(python-3/fixed): Remove this.
Also add explicit Python2 variants for its dependency closure.
* gnu/packages/python.scm (python-scikit-image): Update to 0.14.1.
[source](uri): Use PYPI-URI.
[propagated-inputs]: Add PYTHON-CLOUDPICKLE, PYTHON-DASK, PYTHON-MATPLOTLIB
and PYTHON-PYWAVELETS.
(python2-toolz, python2-cloudpickle, python2-locket, python2-blosc,
python2-partd, python2-dask): New public variables.
* gnu/packages/python.scm (python-gevent)[arguments]: Add (ice-9 match)
to #:modules. In 'do-not-use-bundled-sources' phase, use 'scandir' to
avoid hard-coded include directory name.
[properties]: New field.
(python2-gevent): Add 'native-inputs' and 'arguments' fields.
Fixes <https://bugs.gnu.org/25634>.
* gnu/packages/python.scm (python-waf): Replace custom 'install phase to
install "waf" binary into the bin directory. Remove the 'wrap phase.
* gnu/packages/video.scm (mpv)[arguments]: Adjust the 'setup-waf phase
accordingly.
Fixes <https://bugs.gnu.org/25634>.
* gnu/packages/python.scm (python-waf): Replace custom 'install phase to
install "waf" binary into the bin directory. Remove the 'wrap phase.
* gnu/packages/video.scm (mpv)[arguments]: Adjust the 'setup-waf phase
accordingly.