This prevents conflicting variants of python-prompt-toolkit from being
installed, which prevented jupyter from being installed.
* gnu/packages/python-xyz.scm (python-ipython)[propagated-inputs]: Replace
python-prompt-toolkit with python-prompt-toolkit-2.
(python-widgetsnbextension)[propagated-inputs]: Do not use
prompt-toolkit-2-instead-of-prompt-toolkit on python-ipykernel.
(python-ipywidgets)[propagated-inputs]: Do not use
prompt-toolkit-2-instead-of-prompt-toolkit on python-ipython.
(python-jupyter-console)[propagated-inputs]: Do not use
prompt-toolkit-2-instead-of-prompt-toolkit on python-ipykernel.
(prompt-toolkit-2-instead-of-prompt-toolkit): Remove variable.
* gnu/packages/machine-learning.scm (python-iml)[propagated-inputs]: Do not
use prompt-toolkit-2-instead-of-prompt-toolkit on python-ipython.
* gnu/packages/python-xyz.scm (python2-mechanize): Rename to ...
(python-mechanize): ... this. Update to 0.4.5.
[arguments]: Remove.
[propagated-inputs]: Add PYTHON-HTML5LIB.
[home-page]: Update to current.
[license]: Set to LICENSE:BSD-3.
(python2-mechanize): Define in terms of PACKAGE-WITH-PYTHON2.
This fixes the build of python-can, which is very exacting w.r.t. to its
dependencies.
* gnu/packages/python-xyz.scm (python-can): Update to 3.3.3.
[phases]{relax-version-requirements}: New phase.
[native-inputs]: Add python-coverage.
[license]: Correct the license to lgpl3+.
* gnu/packages/machine-learning.scm (python-iml)[propagated-inputs]: Pin
implicit python-prompt-toolkit dependency to version 2.
* gnu/packages/python-xyz.scm (python-widgetsnbextension)[propagated-inputs]:
Pin implicit python-prompt-toolkit dependency to version 2.
(python-ipywidgets)[propagated-inputs]: Pin implicit python-prompt-toolkit
dependency to version 2.
(python-jupyter-console)[propagated-inputs]: Pin explicit
python-prompt-toolkit dependency to version 2.
(python-prompt-toolkit): Update to version 3.0.5.
[propagated-inputs]: Remove PYTHON-SIX and PYTHON-PYGMENTS.
[home-page]: Adjust to current.
(python-prompt-toolkit-2): New variable.
(prompt-toolkit-2-instead-of-prompt-toolkit): New variable.
(python2-prompt-toolkit): Keep at version 2.
(python-prompt-toolkit-1): Inherit from version 2.
Signed-off-by: Marius Bakke <marius@gnu.org>
There are newer releases on a gitlab.com repository compared to PyPI. Make an
attempt at getting the tests to work, they don't yet I believe because DBus
isn't working properly. This update is a step towards getting a Python 3
variant of the package, which can be used to test virt-manager.
* gnu/packages/python-xyz.scm (python2-dogtail): Update to 0.9.11.
[source]: Switch from PyPI to gitlab.com, as gitlab.com contains newer
releases.
[arguments]: Replace the check phase, and update comment about disabling the
tests.
[propagated-inputs,native-inputs]: Add relevant packages.
[home-page]: Change to https://gitlab.com/dogtail/dogtail/
* gnu/packages/python-xyz.scm (python-ujson): Update to 2.0.3.
[source]: Remove bundled source.
[arguments]: Add phase to link to system double-conversion. Add custom
'check phase.
[native-inputs]: Add double-conversion, python-setuptools-scm,
python-pytest.
[home-page]: Update to new home-page.
[description]: Drop reference to python-2 support.
(python-ujson-1): New variable.
(python2-ujson): Rename to python2-ujson-1.
(python-jsonrpc-server)[propagated-inputs]: Replace python-ujson with
python-ujson-1.