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-pandas-2: Skip one more test group.
* gnu/packages/python-science.scm (python-pandas-2) [arguments]
<test-flags>: Skip one more test group failing with Pytest@8.4.1, fixed
on main branch.
Change-Id: I0f4cb3bf310a7efff7112fdfcdf04a5a7fc16aa5
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-time-machine: Fix build.
* gnu/packages/python-check.scm (python-time-machine): During check
phase it fails to find test backend but PyPI archive provides no tests.
[arguments] <tests?>: Visually disable them.
Change-Id: Ic39e39a520678c79249a326c4b14b523fab21638
gnu: python-pytest-env: Update to 1.1.5.
* gnu/packages/python-check.scm (python-pytest-env): Update to 1.1.5.
[build-system]: Use pyproject.
[native-inputs]: Add python-hatch-vcs and python-hatchling.
Change-Id: I0acc2884a71969ed9827e439319298f3c48509e2
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-argon2-cffi: Update to 25.1.0.
* gnu/packages/python-crypto.scm (python-argon2-cffi): Update to 25.1.0.
[source] <snippet>: No longer required.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'build and 'check.
[inputs]: Remove argon2.
[propagated-inputs]: Remove python-cffi and python-typing-extensions;
add python-argon2-cffi-bindings.
[native-inputs]: Remove python-hypothesis; add
python-hatch-fancy-pypi-readme, python-hatch-vcs, and
python-hatchling.
Change-Id: Ia9f544acbfa2e915afd73b6ed24516be18dd1803