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
gnu: Add python-argon2-cffi-bindings.
* gnu/packages/python-crypto.scm (python-argon2-cffi-bindings): New variable.
Change-Id: I5e4e77ba3aba7b35352b556a514a46ff8b735af6
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-panflute: Update to 2.3.1.
* gnu/packages/textutils.scm (python-panflute): Update to 2.3.1.
[build-system]: Use pyproject.
[arguments] <tests?>: Disable as requiring Pandoc in PATH.
[native-inputs]: Remove python-configparser, python-coverage,
python-flake8, python-pandocfilters, python-pytest, python-pytest-cov,
and python-requests; add python-setuptools.
Change-Id: I1914ed63535da1930f9161b1b7e2975e849fcd92
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