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
gnu: python-flit: Update to 3.12.0.
* gnu/packages/python-xyz.scm (python-flit): Update to 3.12.0.
Change-Id: I24833e303dcda9613b2ab76761b29347a603d0dc
gnu: python-beautifulsoup4: Update to 4.13.4.
* gnu/packages/python-xyz.scm (python-beautifulsoup4): Update to 4.13.4.
[propagated-inputs]: Add python-typing-extensions, python-cchardet,
python-chardet, and python-charset-normalizer.
Change-Id: I90db98f1547455732eb21d0efba865e351537336
gnu: python-cchardet: Fix tests.
* gnu/packages/freedesktop.scm (python-cchardet) [arguments]
<test-flags>: Deselect tests requiring test data file.
[native-inputs]: Remove python-wheel; add python-pytest.
Change-Id: I6e506740c45ffc802d3a85a2d9edb6d53423055f
gnu: python-cchardet: Fix indentation.
* gnu/packages/freedesktop.scm (python-cchardet): Fix indentation.
Change-Id: If16042b079995d24f628ca67447f8165a15a7418
gnu: python-soupsieve: Update to 2.7.
* gnu/packages/python-xyz.scm (python-soupsieve): Update to 2.7.
[build-system]: Use pyproject.
[arguments] <tests?>: Enable.
<phases>: Keep 'sanity-check.
[native-inputs]: Add python-beautifulsoup4-bootstrap,
python-hatchling, and python-pytest.
Change-Id: Iaf299e23c70832e1d90b7dcaec4a2ab0f058c5af
gnu: Add python-beautifulsoup4-bootstrap.
* gnu/packages/python-xyz.scm (python-beautifulsoup4-bootstrap): New variable.
Change-Id: I776b58a6290c9d7b20e27281dccfc9ad6d333a6e
gnu: python-html5lib: Switch to pyproject-build-system.
* gnu/packages/python-web.scm (python-html5lib):
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.
Change-Id: If4df2b32c95a23252063e0826f27bc99fb2f5530
gnu: python-webencodings: Switch to pyproject-build-system.
* gnu/packages/python-web.scm (python-webencodings)
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[description]: Fix fill-column indentation.
Change-Id: I543193509591b46fa176575bf0c82a98c66e8d28
gnu: python-tomli-w: Update to 1.2.0.
* gnu/packages/python-build.scm (python-tomli-w): Update to 1.2.0.
[native-inputs]: Remove python-pypa-build.
Change-Id: If2293b88fefb2e9b57b9742659c61950d71ac73d