gnu: python-docopt: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-docopt)
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.
Change-Id: I9ab05b07d55ebaad946361535a7853a48b87ec45
gnu: python-pymongo: Update to 4.14.0.
* gnu/packages/python-xyz.scm (python-pymongo): Update to 4.14.0.
[build-system]: Use pyproject.
[arguments] <test-flags>: Skip prolematic test.
[propagated-inputs]: Add python-dnspython.
[native-inputs]: Add python-hatch-requirements-txt, python-hatchling,
python-pytest, python-pytest-asyncio, and python-setuptools.
Change-Id: If292db8d2e00339048f553a199315d5497173b53
gnu: python-executing: Update to 2.2.0.
* gnu/packages/python-xyz.scm (python-executing): Update to 2.2.0.
[arguments] <phases>: Add 'fix-tests.
[native-inputs]: Remove python-toml; add python-rich.
Change-Id: Ic03771d27d7602799619bc962426697a2e7aac19
gnu: python-littleutils: Update to 0.2.4.
* gnu/packages/python-xyz.scm (python-littleutils): Update to 0.2.4.
[build-system]: Use pypojrect.
[native-inputs]: Add python-setuptools, python-setuptools-scm, and
python-wheel.
Change-Id: I577e1a929b674908c70b807fd2fbc844810172ce
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