1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00
Commit Graph

156363 Commits

Author SHA1 Message Date
Sharlatan Hellseher
81be2eef0d 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
2025-09-25 09:35:56 +01:00
Sharlatan Hellseher
f20e543db7 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
2025-09-25 09:35:56 +01:00
Sharlatan Hellseher
e15771f1fc gnu: python-matplotlib: Reduce closure size.
* gnu/packages/python-xyz.scm (python-matplotlib):
  [native-inputs]: Remove python-setuptools-scm-git-archive.

Change-Id: I0db74e40f935b76e49d9cb8f0214513fb41fa8b8
2025-09-25 09:35:56 +01:00
Jake Forster
1056e4697c 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>
2025-09-25 09:35:56 +01:00
Jake Forster
ebeb9707d5 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>
2025-09-25 09:35:56 +01:00
Sharlatan Hellseher
d1775507d1 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
2025-09-25 09:35:56 +01:00
Sharlatan Hellseher
eb308effb0 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
2025-09-25 09:35:56 +01:00
Sharlatan Hellseher
5b69d15eee 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
2025-09-25 09:35:56 +01:00
Sharlatan Hellseher
c2e9f2701c 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
2025-09-25 09:35:56 +01:00
Sharlatan Hellseher
50bb215478 gnu: Add python-argon2-cffi-bindings.
* gnu/packages/python-crypto.scm (python-argon2-cffi-bindings): New variable.

Change-Id: I5e4e77ba3aba7b35352b556a514a46ff8b735af6
2025-09-25 09:35:55 +01:00
Nicolas Graves
995071641b 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>
2025-09-25 09:35:55 +01:00
Sharlatan Hellseher
767d351abe 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
2025-09-25 09:35:55 +01:00
Sharlatan Hellseher
eff7e1db41 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
2025-09-25 09:35:55 +01:00
Sharlatan Hellseher
98b4c5d529 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
2025-09-25 09:35:55 +01:00
Nguyễn Gia Phong
6416a324d7 gnu: python-flit: Update to 3.12.0.
* gnu/packages/python-xyz.scm (python-flit): Update to 3.12.0.

Change-Id: I24833e303dcda9613b2ab76761b29347a603d0dc
2025-09-25 09:35:55 +01:00
Sharlatan Hellseher
4af6c9fa78 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
2025-09-25 09:35:55 +01:00
Sharlatan Hellseher
f62318a6d3 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
2025-09-25 09:35:55 +01:00
Sharlatan Hellseher
a0944caf66 gnu: python-cchardet: Fix indentation.
* gnu/packages/freedesktop.scm (python-cchardet): Fix indentation.

Change-Id: If16042b079995d24f628ca67447f8165a15a7418
2025-09-25 09:35:55 +01:00
Sharlatan Hellseher
7c4cb10ac7 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
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
1afb94ae48 gnu: Add python-beautifulsoup4-bootstrap.
* gnu/packages/python-xyz.scm (python-beautifulsoup4-bootstrap): New variable.

Change-Id: I776b58a6290c9d7b20e27281dccfc9ad6d333a6e
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
d3f38201d1 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
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
cb828a2d2c 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
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
11a549bdd7 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
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
a1ba87484d gnu: python-sphinx: Update to 7.4.7.
* gnu/packages/sphinx.scm (python-sphinx): Update to 7.4.7.
[native-inputs]: Remove python-cython; add python-cython-3,
python-defusedxml and python-pytest-xdist.
[propagated-inputs]: Remove python-colorama, python-filelock,
python-html5lib, python-importlib-metadata,
python-sphinxcontrib-websupport, and python-types-requests.

(python-sphinx-6): New variable, inherit from python-sphinx.

Change-Id: Ifcb65d26b5dbba00bdc96b01308d960047febddf
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
b36b48e725 gnu: python-sphinx-alabaster-theme: Update to 0.7.16.
* gnu/packages/sphinx.scm (python-sphinx-alabaster-theme): Update to 0.7.16.
[arguments] <tests?>: No tests in PyPI or Git.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-flit-core.

Change-Id: I818a033a7faec3c9048ac9b79043c95fd451d85d
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
5f80f32e74 gnu: python-sphinxcontrib-applehelp: Update to 2.0.0.
* gnu/packages/sphinx.scm (python-sphinxcontrib-applehelp): Update to 2.0.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-flit-core.

Change-Id: I657c0bacf26eccbca75035fad57f68c5876d661c
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
406513d63b gnu: python-sphinxcontrib-devhelp: Update to 2.0.0.
* gnu/packages/sphinx.scm (python-sphinxcontrib-devhelp): Update to 2.0.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-flit-core.

Change-Id: Idf02a5c618aede563d170e7d4f8fec8247073456
2025-09-25 09:35:54 +01:00
Sharlatan Hellseher
4875dfbe4c gnu: python-sphinxcontrib-htmlhelp: Update to 2.1.0.
* gnu/packages/sphinx.scm (python-sphinxcontrib-htmlhelp): Update to 2.1.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-flit-core.

Change-Id: I94bca8fc2455e4935614637d969ff96a71a5aa47
2025-09-25 09:35:53 +01:00
Sharlatan Hellseher
4dde481a10 gnu: python-sphinxcontrib-jsmath: Switch to pyproject-build-system.
* gnu/packages/sphinx.scm (python-sphinxcontrib-jsmath) [buld-system]:
  Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: I5102c58d9f9bcf0e898bca636f84d0189c4a0625
2025-09-25 09:35:53 +01:00
Sharlatan Hellseher
53c98321ab gnu: python-sphinxcontrib-qthelp: Update to 2.0.0.
* gnu/packages/sphinx.scm (python-sphinxcontrib-qthelp): Update to 2.0.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-flit-core.

Change-Id: I1d2308e65024ca776b53238db63b4dadb261f4de
2025-09-25 09:35:53 +01:00
Sharlatan Hellseher
f229f007ef gnu: python-imagesize: Set test-backend.
* gnu/packages/python-xyz.scm (python-imagesize) [arguments]
  <test-backend>: Set to 'unittest.

Change-Id: I3bdc531fc38f6b9b2ab5f461f89dcfba4d71f696
2025-09-25 09:35:53 +01:00
Sharlatan Hellseher
ec2375d2dc gnu: python-sphinxcontrib-serializinghtml: Update to 2.0.0.
* gnu/packages/sphinx.scm (python-sphinxcontrib-serializinghtml): Update to 2.0.0.
[build-system]: Use pyproject.
[native-inputs]: Add python-flit-core.

Change-Id: I181900fdbb66441ee939a9d025a45937958f3bbd
2025-09-25 09:35:53 +01:00
Sharlatan Hellseher
254fdd04b9 gnu: python-olefile: Update to 0.47.
* gnu/packages/python-xyz.scm (python-olefile): Update to 0.47.
  [source]: Switch to git-fetch.
  [build-system]: Use pypproject.
  [native-inputs]: Add python-pytest and python-setuptools.

Change-Id: Ia74e58310f6810a888b7d20b44aed2bfa0a6e2c7
2025-09-25 09:35:53 +01:00
Sharlatan Hellseher
50caf2b5e3 gnu: python-markdown2: Update to 2.5.3.
* gnu/packages/python-xyz.scm (python-markdown2): Update to 2.5.3.
  [arguments] <test-backend>: Use 'custom.
  <test-flags>: Provides options as seen in project's Makefile.
  [native-inputs]: Remove python-pygments, python-pytest, and
  python-wheel.

Change-Id: I502c32abd249a1b3b8532e01621dc36ce7b74734
2025-09-25 09:35:53 +01:00
Sharlatan Hellseher
f7f6e2955b gnu: python-anytree: Update to 2.13.0.
* gnu/packages/python-xyz.scm (python-anytree): Update to 2.13.0.
  [propagated-inputs]: Remove python-six.
  [native-inputs]: Remove python-poetry-core; add python-pdm-backend,
  python-pytest-cov, python-pyyaml and python-test2ref.

Change-Id: I013875d693c0bc910544d0edbae0764103165b50
2025-09-25 09:35:53 +01:00
Sharlatan Hellseher
032e2e49bb gnu: Add python-test2ref.
* gnu/packages/python-check.scm (python-test2ref): New variable.

Change-Id: Id3253057b0a162a8e2a1348c11d7182db572e19d
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
15fb90edc9 gnu: python-binaryornot: Switch to pyproejct-build-system.
* gnu/packages/python-xyz.scm (python-binaryornot):
  [build-system]: Use pyproejct.
  [arguments] <test-backend>: Use custom unittest.
  <phases>: Remove trailing #t from lambdas.
  [propagated-inputs]: Remove python-hypothesis.
  [native-inputs]: Add python-hypothesis and python-setuptools.

Change-Id: Ic6e24e1bbfae846bc9b0ab9195556fcf86af9c25
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
ccd86b711f gnu: python-scour: Switch to pyproject-build-system.
This project is unmaintained since 2020, the only user is Inkscape, and
the development has been moved to GitLab.

See: <https://gitlab.com/inkscape/inkscape-docs/documentation/-/issues/43>,
     <https://github.com/scour-project/scour/issues/321>.

* gnu/packages/python-xyz.scm (python-scour): Add a maintenance note on
  the upstream status.
  [source] <url>: Switch to Inkscape's GitLab page.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom.
  [native-inputs]: Add python-setuptools.
  [home-page]: Switch URL to Inkscape's GitLab page.
  [description]: Start from a new line, fix fill column.

Change-Id: I56d94188b8a69a6739e5d2a5550bb0a3ee8b9247
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
7809bebb39 gnu: python-appdirs: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-appdirs):
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'unittest.
  [native-inputs]: Add python-setuptools.

Change-Id: I234b65a99870f0e7e373681719b1ba61e2da85fb
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
de14383ed5 gnu: python-pylsqpack: Update to 0.3.22.
* gnu/packages/python-compression.scm (python-pylsqpack): Update to 0.3.22.
[native-inputs]: Add python-pytest.

Change-Id: Ib3c31c3678a8b7bf7866fc693518a33c263214a5
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
707c3fc212 gnu: python-httpx: Rearange inputs, fix tests.
* gnu/packages/python-web.scm (python-httpx): Refresh test flags for
  skipped tests.
  [arguments]: Apply G-expressions.
  <test-flags>: Remove not existing tests from the ignore list.
  [propagated-inputs]: Remove python-charset-normalizer, python-chardet,
  and python-rfc3986; add python-anyio, python-h2, python-socksio, and
  python-zstandard.
  [native-inputs]: Remove python-trio-typing, python-wheel, and
  python-zstandard; add python-chardet.

Change-Id: I62f668ee3659220938b268ac17fdf594a95d076c
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
4fd060a0b2 gnu: python-httpcore: Update to 1.0.9.
* gnu/packages/python-web.scm (python-httpcore): Update to 1.0.9.

Change-Id: Iea53b554e9ad0687e5529ec32e8aad69dc3a553f
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
3c9365204c gnu: python-uvicorn: Fix build.
* gnu/packages/python-web.scm (python-uvicorn):
  [native-inputs]: Remove python-pytest-asyncio; add
  python-pytest-asyncio-0.26.

Change-Id: I1066aef6557eec3a173d88535e14cbd847ae36f3
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
7674e46b19 gnu: python-flasgger: Reduce closure size.
* gnu/packages/python-xyz.scm (python-flasgger): Update to 0.9.7.1.
  [arguments] <test-flags>: Skip example tests to reduce closure size
  from native inputs.
  <phases>: Remove 'prepare-check.
  [native-inputs]: Remove python-apispec, python-apispec-webframeworks,
  python-decorator, python-flask-restful, python-flex,
  python-marshmallow, python-pytest-cov, and python-wheel.

Change-Id: I724855c2cdd22d9d36c0f7716ae183cf3b7db382
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
ebf301e359 gnu: python-brotlicffi: Fix tests.
* gnu/packages/python-compression.scm (python-brotlicffi): Fix tests.
  [arguments] <phases>: Add 'set-brotli-source.
  [native-inputs]: Add python-pytest.

Change-Id: I50555c234d4dbf20f2cdd846f8191c8da7349247
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
106221968b gnu: python-brotlicffi: Fix indentation.
* gnu/packages/python-compression.scm (python-brotlicffi): Fix indentation.

Change-Id: I1d19faaa147595159eff380f45bb2989ea2cf587
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
d9e7b0f316 gnu: python-httptools: Update to 0.6.4.
* gnu/packages/python-web.scm (python-httptools): Update to 0.6.4.
  [source] <snippet>: Remove vendor.
  [arguments] <test-flags>: Skip only one test.
  <phases>: Remove 'preparation; add 'configure-build-ext.
  [build-system]: Use pyproject.
  [inputs]: Add llhttp.
  [native-inputs]: Add python-setuptools.

Change-Id: I81eaa61c96e2f41519648cccc625f2bc0a731269
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
aeeca3ff48 gnu: python-socksio: Switch to pyproject-build-system.
* gnu/packages/python-web.scm (python-socksio):
  [build-system]: Use pyproject.
  [native-inputs]: Add python-flit-core, python-pytest, and
  python-pytest-cov.

Change-Id: I31a304fdc71d8b2b0d5522bff100eb292ff76ab4
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
a59e2c863c gnu: python-hpack: Update to 4.1.0.
* gnu/packages/python-web.scm (python-hpack): Update to 4.1.0.
[native-inputs]: Add python-setuptools.

Change-Id: I7a99bea38de197cbe98750cf6910b0f70d286cce
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
7af0a21b95 gnu: python-hyperframe: Update to 6.1.0.
* gnu/packages/python-web.scm (python-hyperframe): Update to 6.1.0.
[native-inputs]: Add python-setuptools.

Change-Id: I7cc520ca49131e973632a6f37a0d8ad5fb33cebd
2025-09-25 09:35:51 +01:00