* gnu/packages/python-xyz.scm (python-dulwich): Update to 0.20.30.
[arguments]: Remove workaround. Patch one more file.
[native-inputs]: Add GNUPG and PYTHON-GPG.
* gnu/packages/python-xyz.scm (python-lazr-delegates)[arguments]: Invoke
'nosetests' directly instead of through setup.py. While at it, respect
'--without-tests'.
It was reported by abrenon and zimoun in #guix that python-dbusmock would fail
to build on their systems.
* gnu/packages/python-xyz.scm (python-dbusmock)
[imported-modules, modules]: New arguments.
[native-inputs]: Use new style.
[phases]{check}: Override phase to run it via a dumb init that can handle
signals and reap dead processes correctly. This prevents test suite failures
in some cases (though it is still unknown why it was working on some systems
and not on others before the change).
* gnu/packages/python-xyz.scm (python-pydbus): New variable.
Co-authored-by: Aleksandr Vityazev <avityazev@posteo.org>
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/python-xyz.scm (python-cftime): Update to 1.5.1.1.
[native-inputs]: Add python-check-manifest, python-coverage, python-sphinx,
python-twine, python-wheel.
[home-page]: Use page linked in the GitHub repository.
[license]: Change to expat according to the GitHub repository.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/python-xyz.scm (python-beautifulsoup4): Update to 4.10.0.
[propagated-inputs]{python-html5lib, python-lxml}: New inputs.
[arguments]: Delete field.
(python2-beautifulsoup4): Peg at version 4.9.3.
* gnu/packages/python-xyz.scm (python2-matplotlib): Update to 2.2.5.
[phases]: Use G-exp.
{install-jquery-ui}: Delete phase. JQuery is bundled in this release.
[native-inputs]: Remove all exception pkg-config.
[propagated-inputs]: Sort and explicitly specify all inputs to ease
maintenance.
* gnu/packages/python-xyz.scm (python-matplotlib): Update to 3.5.1.
[propagated-inputs]: Add python-fonttools, python-wxpython
and python-packaging.
[native-inputs]: Remove python-mock, python-wheel, unzip and jquery-ui.
Add python-pytest-timeout, python-pytest-xdist, python-setuptools-scm and
python-setuptools-scm-git-archive.
[phases]: Delete trailing #t.
{pretend-version}: New phase.
{install-jquery-ui}: Delete phase.
{check}: Honor TESTS?. Do not skip webagg tests anymore. Invoke using
'-n' argument to run tests in parallel via pytest-xdist.
{configure-environment}: Do not set LD_LIBRARY_PATH nor HOME. Rename
setup.cfg to mplsetup.cfg. Set the backend to Agg.
* gnu/packages/python-xyz.scm (python-fonttools): Update to 4.28.5 and hide
the package.
[properties]: New field.
(python-fonttools-with-tests): New variable.
* gnu/packages/python-xyz.scm (python-platformdirs): Update to 2.4.0.
[phases]{pretend-version}: New phase.
{check}: Override to run tests.
[native-inputs]{python-setuptools-scm}: New input.
* gnu/packages/python-xyz.scm (python-flit)[origin]: Fetch from pypi-uri, to
ease updating the package.
[phases]{bootstrap}: Delete phase.
{build, install}: Do a PEP 517 build using pypa-build.
{check}: New phase.
[tests?]: Enable.
[propagated-inputs]{python-pytoml, python-toml}: Remove.
{python-pypa-build, python-tomli-w, python-flit-core, python-requests}: New
inputs.
{python-docutils}: New input, moved from...
[native-inputs]: ... here. Apply guix style.
{python-testpath}: Use the regular python-testpath package.
[synopsis, description]: Re-indent.
* gnu/packages/python-xyz.scm (python-piexif): New variable.
* gnu/packages/patches/python-piexif-fix-tests-with-pillow-7.2.patch: New file.
* gnu/packages/python-xyz.scm (dist_patch_DATA): Add it.
* gnu/packages/python-xyz.scm (autokey): Add comments on the disabled tests
and GI_TYPELIB_PATH wrapping.
[inputs]: Add ipython.
[phases]{fix-paths}: Use paths to ipython3 and python3 in autokey-shell
script.
{wrap-autokey}: Change name to...
{wrap-autokey-gi}: ...this and move to before wrap for clarity.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/python-xyz.scm (python-qtconsole)[arguments]: Remove #:tests?.
<#:phases>: Set HOME and skip a failing test in the 'pre-check phase.
[native-inputs]: Add python-flaky.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>