gnu: python-fastjsonschema: Update to 2.21.1.
* gnu/packages/python-xyz.scm (python-fastjsonschema): Update to 2.21.1.
[native-inputs]: Remove python-colorama, python-pytest-cache, and python-wheel.
Change-Id: I059d6792b2d9573a05140f2657f86427914347bb
gnu: python-tomlkit: Update to 0.13.3.
* gnu/packages/python-xyz.scm (python-tomlkit): Update to 0.13.3.
[build-system]; Use pyproject.
[native-inputs]: Add python-poetry-core.
Change-Id: I5c7acc84e0390d621483cbcff81d83ac339960de
gnu: python-json-spec: Update to 0.12.0.
* gnu/packages/python-xyz.scm (python-json-spec): Update to 0.12.0.
[source]: Switch to git-fetch providing tests.
[build-system]: Use pyproject.
[propagated-inputs]: Remove python-importlib-metadata.
[native-inputs]: Add python-poetry-core.
Change-Id: Ie6fdb0a96b164b89f07a2fa5ff7f153439449d54
gnu: python-asttokens: Update to 3.0.0.
* gnu/packages/python-xyz.scm (python-asttokens): Update to 3.0.0.
[propagated-inputs]: Remove python-six.
Change-Id: I289e2675c5d72b7f016d2bc791f75c0e4da29112
gnu: python-msgpack: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-msgpack): Update to 1.1.1.
[build-system]: Use pyproject.
[arguments]: Drop them.
[native-inputs]: Add python-setuptools.
Change-Id: I4ba8061c95916daa03db8f269ee8019826991de5
gnu: python-astroid: Update to 3.3.11.
* gnu/packages/python-xyz.scm (python-astroid): Update to 3.3.11.
[native-inputs]: Add python-mypy-minimal.
Change-Id: Ic0bbe5bb59260fe1445aceb09f5cea6bfb2c82fd
gnu: python-lazy-object-proxy: Update to 1.11.0.
* gnu/packages/python-xyz.scm (python-lazy-object-proxy): Update to 1.11.0.
[native-inputs]: Remove python-pip; add python-pytest and python-pytest-benchmark.
Change-Id: I8bee8c95755ad89733f03291a8403689b2a52125
gnu: python-openpyxl: Reduce closure size.
* gnu/packages/python-xyz.scm (python-openpyxl):
[propagated-inputs]: Remove python-jdcal - not listed in install
dependencies.
[native-inputs]: Remove python-wheel.
Change-Id: I862613faafe2c4fae4c85b26b38a882ea84f12b5
gnu: python-xlrd: Update to 2.0.2.
* gnu/packages/python-xyz.scm (python-xlrd): Update to 2.0.2.
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.
Change-Id: I7622d787dd9f6c516952a5680e1028707406817a
gnu: python-et-xmlfile: Update to 2.0.0.
* gnu/packages/python-xyz.scm (python-et-xmlfile): Update to 2.0.0.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[native-inputs]: Add python-setuptools.
Change-Id: I8275f0b9980b1aa70785dcb4d60ff86b6a9053b9
gnu: python-argcomplete: Fix tests.
* gnu/packages/python-xyz.scm (python-argcomplete)
[arguments] <test-backend>: Use custom.
<test-flags>: Move option here from custom 'check phase..
<phases>: Use default 'check; add disable-pip-tests..
[native-inputs]: Remove python-coverage, python-mypy, and python-wheel.
Change-Id: Ica763b449ebef64000181fe192cad691be39db73
gnu: python-matplotlib: Reduce closure size.
* gnu/packages/python-xyz.scm (python-matplotlib):
[native-inputs]: Remove python-setuptools-scm-git-archive.
Change-Id: I0db74e40f935b76e49d9cb8f0214513fb41fa8b8
gnu: python-matplotlib: Set the default backend to TkAgg.
The interactive backend TkAgg works out of the box (i.e. without requiring
changes to user Python code) since commit
d5d790b5e0f7690d6bef9224932909a68f4fccbe.
* gnu/packages/python-xyz.scm (python-matplotlib) [arguments]
<#:phases>{configure-environment}: Change rc_options backend from Agg to
TkAgg.
Change-Id: I5614e37e674838ba8ad3ebc76c0ed42973d5ec29
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-matplotlib: Patch dlopen so MPLBACKEND is not overridden.
Fixes <https://issues.guix.gnu.org/70687>.
In Python, importing 'matplotlib.pyplot' sets the backend used by Matplotlib
to Agg unless it was set to WebAgg or nbAgg. This is because it incorrectly
determines that no event loop can be started due to a failed dlopen call for
'libX11.so.6'. This is fixed by patching the dlopen path.
* gnu/packages/python-xyz.scm (python-matplotlib) [arguments]
<#:phases>: Add 'patch-dlopen.
Change-Id: I3e45c9a2921374e3b16cfcbd8e3e1e91780da306
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-cycler: Update to 0.12.1.
* gnu/packages/python-xyz.scm (python-cycler): Update to 0.12.1.
[build-system]: Use pyporject.
[propagated-inputs]: Remove python-six.
[native-inputs]: Add python-pytest and python-setuptools.
Change-Id: I220e869568761cdcbf8ba0219207c42de0271ab0
gnu: python-cppy: Update to 1.3.1.
* gnu/packages/python-xyz.scm (python-cppy): Update to 1.3.1.
[native-inputs]: Add python-pytest and python-setuptools-scm.
Change-Id: I45f88d7efd3cb20bfb7b8f14b90d15ddcc081a6d
gnu: python-wurlitzer: Update to 3.1.1.
* gnu/packages/python-xyz.scm (python-wurlitzer): Update to 3.1.1.
[native-inputs]: Remove python-mock; add python-setuptools.
Change-Id: Ie56041f27f6a8f0b707decde2423ffcd00f640de
gnu: python-rich: Ignore more failing tests.
* gnu/packages/python-xyz.scm (python-rich)[arguments][test-flags}:
Ignore more failing tests.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-commonmark: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-commonmark):
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[native-inputs]: Add python-setuptools.
Change-Id: I820373fc3e23ccb3222a6409e0ea7b977376e776
gnu: python-flit: Reduce closure size.
* gnu/packages/python-xyz.scm (python-flit): Documentation is not built,
remove dependencies on Sphinx.
[propagated-inputs]: Remove python-pypa-build.
[native-inputs]: Remove python-pygments-github-lexers,
python-pytest-cov, python-sphinx, and python-sphinxcontrib-github-alt.
Change-Id: Iba62d2c1c52b64db65e29cbdd0381f470ee3116d