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

6500 Commits

Author SHA1 Message Date
Sharlatan Hellseher
2ee606e3ff gnu: python-future: Skip more tests.
* gnu/packages/python-xyz.scm (python-future)[arguments] <test-flags>:
Skip more tests failing on Python 3.12.

Relates-to: https://codeberg.org/guix/guix/issues/6904
Change-Id: I36f62a53a81ed08e9982fe7fbcc0971c070dca60
2026-04-10 09:16:39 +01:00
Nicolas Graves
284e3d30d1 gnu: python-psutil: Update to 7.2.2.
* gnu/packages/python-xyz.scm (python-psutil): Update to 7.2.2.
[source]: Switch to git-fetch.
[arguments]<#:tests?>: Drop keyword.
<#:test-flags>: Ignore failing tests.
<#:phases>: Add phase 'prepare-tests.
[native-inputs]: Add procps, python-packaging, python-pytest,
python-pytest-instafail, python-pytest-xdist.

Change-Id: Ie2f094d1f8d039a9692de4075aa1a0f17745cd22
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:38 +01:00
Sharlatan Hellseher
bada1bebea gnu: python-pyzmq: Update to 27.1.0.
* gnu/packages/python-xyz.scm (python-pyzmq): Update to 27.1.0.
[source]: Switch to git-fetch.

Change-Id: I96e23eb0b01233213d8aebdc216ff5f473dae1b1
2026-04-10 09:16:37 +01:00
Sharlatan Hellseher
fca38970bd gnu: python-celery: Adjust inputs.
* gnu/packages/python-xyz.scm (python-celery):
[propagated-inputs]: Remove python-click and python-click-plugins-1; add
python-click-8.1 and python-click-plugins.

Change-Id: I1654705099e03db4762d129377ff3fdf61f61ec2
2026-04-10 09:16:37 +01:00
Nicolas Graves
edf6898cf4 guix: build-system: Set pypi-uri in pyproject, drop python module.
After this commit, when both modules are imported:

- if pyproject is imported before, the warning is 'pypi-uri' is
deprecated, use '(@ (guix build-system pyproject) pypi-uri)' instead

- if python is imported before, the warning is `pypi-uri' imported from
both (guix build-system python) and (guix build-system pyproject)

This seems convenient enough to warn for deprecation in the short term,
while avoiding any breaking changes.

* guix/build-system/pyproject.scm (pypi-uri): Move the procedure from
(guix build-system python) here.

* guix/build-system/python (pypi-uri): Drop definition, import it
from (guix build-system pyproject) and deprecate it.

* gnu/packages/openldap.scm: Reorder modules to get the right warning.

* gnu/packages/pypy.scm: Likewise.

* gnu/packages/*.scm : Drop module (guix build-system python).

* tests/import/pypi.scm: Likewise.

Merges: https://codeberg.org/guix/guix/pulls/7448
Change-Id: Ib42f53bc545052eb7918a25afe9db6d5fc2cb834
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:36 +01:00
Sharlatan Hellseher
0507f75bf4 gnu: packages: Remove python-build-system comments.
Rephrase or remove comments completely mentioning python-build-system to
prepare it for depreciation. It helps to search code for the rest
relevant entries of python-build-system.

Change-Id: I98ee81b4b0e0f826fd236fec20e77546e1567f80
2026-04-10 09:16:36 +01:00
Sharlatan Hellseher
55770b0e9d gnu: python-regex: Update to 2026.2.28.
* gnu/packages/python-xyz.scm (python-regex): Update to 2026.2.28.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Run tests from installed module.
<phases>: Add 'remove-local-source.
[home-page]: Fix it as seen on https://pypi.org/project/regex/.

Change-Id: Id304acc12704aff63a6230b882250c3c824a9fbe
2026-04-10 09:16:35 +01:00
Sharlatan Hellseher
e0f06685df gnu: python-dbus-1.2: Fix build on python-3.12.
* gnu/packages/python-xyz.scm: (python-dbus-1.2)[native-inputs]: Add
python-setuptools.

Change-Id: Id93ac8629e22c66ddbeb67e5d0ff71ba1e54bae1
2026-04-10 09:16:34 +01:00
Nicolas Graves
58cc4507da gnu: python-mysql-connector-python: Relocate and rename.
* gnu/packages/python-xyz.scm (python-mysql-connector-python): Move from here…
* gnu/packages/databases.scm (mysql-connector-python): …to here.
(python-mysql-connector-python): Deprecate package.

* gnu/packages/bioinformatics.scm (python-genomepy)[propagated-inputs]:
Replace python-mysql-connector-python by mysql-connector-python.

Change-Id: Ib48e3b998d3bf946d03d2c7aaf246a8251776402
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:32 +01:00
Nicolas Graves
fd87e38092 gnu: python-mysql-connector-python: Update to 8.3.0.
* gnu/packages/python-xyz.scm (python-mysql-connector-python): Update to 8.3.0.
[source]: Switch to git-fetch.
[arguments]<#:configure-flags>: Drop them.
<#:phases>: Add phase 'chdir and 'prepare-build.  Refresh phases
'compatibility and 'check.
[native-inputs]: Add python-setuptools.

Fixes: #3881
Change-Id: I75cfdfb880e3b4f8245ef24d8340440393245f33
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:32 +01:00
Sharlatan Hellseher
8716191741 gnu: python-click-repl: Update to 0.3.0-0.9a05fe9.
* gnu/packages/python-xyz.scm (python-click-repl): Update to
9a05fe9e58f768ce446f2777d13b4162211131e0 commit.
[propagated-inputs]: Remove python-click; add python-click-8.1.
[native-inputs]: Remove python-wheel.

Change-Id: Ia9fccd250c8a6a4bd38fce87e1847bbd95f34adc
2026-04-10 09:16:31 +01:00
Sharlatan Hellseher
81be0fe723 gnu: Add python-click-8.1.
* gnu/packages/python-xyz.scm (python-click-8.1): New variable.

Change-Id: Ib574dc4b1ec0d4dc06bb1fd844afbdbea345fc17
2026-04-10 09:16:31 +01:00
Sharlatan Hellseher
8e6518c3bf gnu: python-click-plugins: Downgrade to 1.1.1.2.
* gnu/packages/python-xyz.scm (python-click-plugins): 1.1.1.2.
[arguments] <tests?>: Disable them.
<phases>: Remove 'mkdir-tests.
[native-inputs]: Remove python-pytest.
(python-click-plugins-1): Deprecate in favor of python-click-plugins.

Fixes: guix/guix#7404
Change-Id: I51783a9013f1ee06f9445519203147751da47ee3
2026-04-10 09:16:31 +01:00
Nicolas Graves
7449dd0222 gnu: packages: Remove python-pytest-html native-input.
* gnu/packages/check.scm (behave)[native-inputs]: Remove
python-pytest-html.
* gnu/packages/python-check.scm (python-cucumber-tag-expressions):
Likewise.
* gnu/packages/python-xyz.scm (python-parse-type): Likewise.

Change-Id: Ic6369532bb9846d81718deeb3a63f35e2609f4ac
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:30 +01:00
Nicolas Graves
265d32f377 gnu: packages: Remove some comments.
The previous commit removed some packages without proper handling of
comments.  This commit correct those comments.

* gnu/packages/django.scm
(python-django-extensions, python-django-cleanup): Correct comments.
* gnu/packages/jupyter.scm (python-ipykernel-7): Likewise.
* gnu/packages/python-check.scm
(python-hypothesmith, python-pytest-celery): Likewise.
* gnu/packages/python-xyz.scm
(python-mir-eval, python-click-repl, python-nb-clean): Likewise.
* gnu/packages/statistics.scm (python-dcor): Likewise.

Change-Id: I1ee52361f627a71716c20ccff3a0cd1678a00b7d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:30 +01:00
Nicolas Graves
99a9dec0e2 gnu: packages: Remove python-pytest-cov native-inputs.
Obtained with
./pre-inst-env guix style -S remove-native-inputs -t python-pytest-cov
on top of https://codeberg.org/guix/guix/pulls/5862

For this reason, I don't think it's relevant to generate a GNU Style
Changelog.

Change-Id: I58fe10452d7eaf2e8bb4dc88dfac5b4a5ee46165
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:29 +01:00
Nicolas Graves
709aed0936 gnu: python-diskcache: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-diskcache)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.
<#:test-flags>: Keep ignoring addopts, as it also has other uneeded
flags.

Change-Id: I584128eed904c0d134e3a7292ffb65977b9f36b6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:29 +01:00
Nicolas Graves
0bd0398630 gnu: python-utils: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-utils)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I73f8a857d234b542a0ecf078cbb809403d5a9c7a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:29 +01:00
Nicolas Graves
065e64c8f9 gnu: python-strenum: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-strenum)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I7b19876d98916098b90b9352f8c42c98fc7f708e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:29 +01:00
Nicolas Graves
891b320dd0 gnu: nikola: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (nikola)[arguments]<#:phases>:
Drop phase 'fix-pytest-config.

Change-Id: Ia18548523bf4cca435ab0a42d42e8f2a19961ac8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:28 +01:00
Nicolas Graves
02bd87470f gnu: python-async-timeout: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-async-timeout)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I06cafe55f35351110409ffdf5cd74e3c0e677139
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:28 +01:00
Nicolas Graves
4c982cca22 gnu: python-rich-click: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-rich-click)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I9c675aa0f90a45f336dc24e59cd631060e798d96
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:28 +01:00
Nicolas Graves
bc5adef6b0 gnu: python-codespell: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-codespell)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Ic2287d6aa5e1dab0da960e0912ef363a33f9c088
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:28 +01:00
Nicolas Graves
7960a067ed gnu: python-quantlaw: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-quantlaw)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: If109ea44922411a3a45b9bfd8a34e0265b550eb9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:28 +01:00
Nicolas Graves
9ccf2c1350 gnu: python-diskcache: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-diskcache)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Idb05bb437377878cefb639e7f8537b4837e63fe9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:28 +01:00
Nicolas Graves
f0a3025615 gnu: python-pytokens: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-pytokens)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: Iac4637403844c62d4bfd40dae2ca908469ef15a1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:27 +01:00
Nicolas Graves
b5fc5c2289 gnu: python-conda-content-trust: Drop phase 'fix-pytest-config.
* gnu/packages/python-web.scm (python-conda-content-trust)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.

Change-Id: I1e613f9f52c2c004b7b64115d1288a75c051c03c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:27 +01:00
Nicolas Graves
ca8c84a4c0 gnu: python-anaconda-cli-base: Drop phase 'fix-pytest-config.
* gnu/packages/python-xyz.scm (python-anaconda-cli-base)[arguments]
<#:phases>: Drop phase 'fix-pytest-config.
[native-inputs]: Replace python-pytest-8 by python-pytest.  Add
python-types-requests.

Change-Id: Ie2f8c35497a0e17fd045166a34ea5a3269052e12
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:27 +01:00
Nicolas Graves
f58ad57fd9 gnu: python-multidict: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-multidict):
[arguments] <#:phases>: Drop phase 'fix-pytest-config.
<#:test-flags>: Adapt accordingly.

Change-Id: Iff6ce80523e20dcec92eba70f7ede010d7199054
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:23 +01:00
Nicolas Graves
dd529fc4f6 gnu: python-propcache: Improve python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-propcache):
[arguments] <#:phases>: Drop phase 'avoid-pytest-cov-preload.
<#:test-flags>: Adapt accordingly.

Change-Id: I55eadb85860b06bf0567d59d4474c6235741983d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:23 +01:00
Nicolas Graves
e3c927e1de gnu: python-cftime: Cleanup python-pytest-cov removal.
* gnu/packages/python-xyz.scm (python-cftime):
[arguments]<#:phases>: Drop them.

Change-Id: I25c102e09412686ff26ffeae18128b5cce4cc251
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:23 +01:00
Nicolas Graves
7369ea29fd gnu: python-loguru: Remove python-pytest-mypy-plugins.
* gnu/packages/python-xyz.scm (python-loguru)
[arguments]: Add in {test-flags} to skip the concerned test file.
[native-inputs]: Remove python-pytest-mypy-plugins.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:22 +01:00
Nicolas Graves
fc9317c5ec build-system/pyproject: Stop hiding options.
* gnu/packages/python-crypto.scm (python-keyring)
[arguments]<#:test-flags>: Remove arguments hiding coverage options.

* gnu/packages/python-web.scm (python-asgi-lifespan,
python-openapi-schema-validator, python-openapi-spec-validator,
python-openapi-core)[arguments]<#:test-flags>: Remove arguments hiding
coverage options.
(python-openapi-schema-validator, python-openapi-spec-validator)
[arguments]<#:phases>: Remove 'remove-coverage-pytest-options phase.
(python-cssselect2)[arguments]: Remove uneeded field.
(python-quart)[arguments]: Remove uneeded field.
(python-jsonpickle)[arguments]<#:test-flags>: Remove uneeded
test-flags.

* gnu/packages/python-xyz.scm (python-cattrs)
[arguments]<#:phases>: Remove arguments hiding coverage options.
(python-blessed)[arguments]: Remove uneeded field.

python-pytest-cov remove option

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:22 +01:00
Nicolas Graves
829e9021b3 build-system/pyproject: Remove python-pytest-mypy inputs.
* gnu/packages/check.scm (python-pytest-perf)[native-inputs]: Remove
python-pytest-mypy.

* gnu/packages/python-xyz.scm (python-portalocker)
[native-inputs]: Remove python-pytest-mypy.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:16:22 +01:00
Nicolas Graves
6fced28165 build-system/pyproject: Remove python-pytest-cov native-input.
* gnu/packages/astronomy.scm (python-wiimatch)
* gnu/packages/audio.scm (python-resampy, python-librosa)
* gnu/packages/backup.scm (borgmatic)
* gnu/packages/bioinformatics.scm (python-bed-reader, python-pysnptool)
(python-pairtools):
* gnu/packages/check.scm (python-pytest-nunit, python-pytest-perf)
* gnu/packages/dav.scm (vdirsyncer, radicale)
* gnu/packages/django.scm (python-django-redis)
* gnu/packages/engineering.scm (python-scikit-rf)
* gnu/packages/fediverse.scm (python-mastodon-py)
* gnu/packages/fontutils.scm (psautohint)
* gnu/packages/geo.scm (python-pyogrio)
* gnu/packages/graphviz.scm (python-uqbar)
* gnu/packages/jupyter.scm (python-jupyterlab-server python-nbclient,
python-jupyterlite-core, python-ipydatawidgets)
* gnu/packages/machine-learning.scm
(python-pymanopt, python-tensorly, python-torchmetrics)
* gnu/packages/maths.scm (python-libensemble)
* gnu/packages/music.scm (stargate)
* gnu/packages/python-check.scm (python-atpublic, python-vcrpy)
* gnu/packages/python-compression.scm (python-zipstream-ng)
* gnu/packages/python-science.scm (python-plotnine,
python-pandaparallel, python-pyts, python-pingouin)
* gnu/packages/python-web.scm (python-devpi-process, python-cheroot,
python-jsonpickle, python-flask-babel, python-url-normalize,
python-elasticsearch, python-hupper, python-simple-websocket,
python-apiron, python-huggingface-hub, python-aiosignal, python-ovh,
python-cbor2, python-zeep, hypercorn, python-warcio, python-aioftp,
python-oauthlib, python-tinycss2, python-cssselect2, python-httpcore,
python-wsgiprox, python-venusian, gunicorn)
* gnu/packages/python-xyz.scm (python-janus, python-affine,
python-contourpy, python-echo, python-rasterio, python-rich-tables,
python-babel, python-pymarshal, python-portalocker, python-expandvars,
python-mizani, python-cligj, autokey,
python-robotframework-pythonlibcore, python-lsp-jsonrpc,
python-numpydoc, python-pillow, python-manimpango, python-cairocffi,
python-pubmed-parser, python-sentry-sdk, python-prettytable,
python-sniffio, python-ipywidgets, python-pyproject-api,
python-pymemcache, python-async-lru, python-numcodecs, python-mwclient,
python-cmd2, python-pyan3, python-platformdirs, python-multipart,
python-shtab, python-scooby)
* gnu/packages/rdf.scm (python-rdflib-6)
* gnu/packages/simulation.scm (python-fenics-dijitso)
* gnu/packages/sphinx.scm (python-sphinx-design)
* gnu/packages/statistics.scm (python-patsy, python-rchitect)
* gnu/packages/task-management.scm (todoman)
* gnu/packages/vpn.scm (sshuttle)
* gnu/packages/web.scm (anonip, python-tibanna)
[native-inputs]: Remove python-pytest-cov.

Change-Id: I32f027794e90333c27fdff5871180779f603846c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:14:51 +01:00
Nicolas Graves
883b2d0e67 gnu: python-wcwidth: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-wcwidth)
[native-inputs]: Remove python-pytest-cov, python-wheel.
[description]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:36 +01:00
Nicolas Graves
4a0dbfbdba gnu: python-watchdog: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-watchdog)
[native-inputs]: Remove python-pytest-cov, python-pytest-timeout.
[description]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:36 +01:00
Nicolas Graves
7e6737ddcc gnu: python-numcodecs: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-numcodecs)
[native-inputs]: Remove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:35 +01:00
Nicolas Graves
97522206ea gnu: python-semver: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-semver)
[native-inputs]: Remove python-pytest-cov, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:35 +01:00
Nicolas Graves
5e1db18f70 gnu: python-numpydoc: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-numpydoc)
[native-inputs]: Remove python-pytest-cov and python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:35 +01:00
Nicolas Graves
08538ba60e gnu: python-anytree: Remove coverage inputs.
* gnu/packages/python-xyz.scm (python-anytree)[native-inputs]:
Remove python-pytest-cov.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:35 +01:00
Nicolas Graves
af9866fae9 gnu: python-propcache: Remove python-pytest-cov requirement.
* gnu/packages/python-web.scm (python-propcache)[arguments]<#:phases>:
Add phase 'avoid-pytest-cov-preload.
[native-inputs]: Remove python-covdefaults, python-pytest-cov,
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:34 +01:00
Nicolas Graves
ec99dd971f gnu: python-docstring-to-markdown: Remove uneeded native-inputs.
* gnu/packages/python-xyz.scm (python-docstring-to-markdown)
[arguments]: Remove field.

Change-Id: I7790a8a12ab60f366b6a7af9a53aca6208e19eee
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:33 +01:00
Nguyễn Gia Phong
9417ee5f85 gnu: Remove phase done by set-version in pyproject-build-system.
* gnu/packages/astronomy.scm (python-kanon)[arguments]<#:phases>:
  Remove 'relax-requirements and 'set-version.
  (python-stpipe)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/machine-learning.scm
  (python-botorch)[arguments]<#:phases>: Remove 'pretend-version.
* gnu/packages/openstack.scm
  (python-os-testr, python-requestsexceptions)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/package-management.scm
  (python-conda-libmamba-solver)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/patchutils.scm (pwclient)[arguments]<#:phases>:
  Remove 'set-PBR_VERSION.
* gnu/packages/python-check.scm
  (python-aioresponses)[arguments]<#:phases>: Remove 'set-pbr-version.
* gnu/packages/python-science.scm
  (python-modin, python-plotly, python-pytensor)[arguments]<#:phases>:
  Remove 'versioneer.
  (snakemake-5, snakemake-6, snakemake-7)[arguments]<#:phases>:
  Remove 'patch-version.
* gnu/packages/python-web.scm (python-alpaca-py)[arguments]<#:phases>:
  Remove 'set-version.
* gnu/packages/python-xyz.scm
  (python-logical-unification)[arguments]<#:phases>:
  Remove 'versioneer.
  (python-debugpy, python-strenum)[arguments]<#:phases>:
  Remove 'fix-version.
  (python-qstylizer)[arguments]<#:phases>: Remove 'set-pbr-version.
  (python-retry)[arguments]<#:phases>: Remove 'set-version.
* gnu/packages/statistics.scm (python-pymc)[arguments]<#:phases>:
  Remove 'versioneer.

Change-Id: I7b4557c576730e47575305f4f03bfe2523412c6c
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:33 +01:00
Sharlatan Hellseher
693050efa5 gnu: python-openstep-plist: Update to 0.5.2.
* gnu/packages/python-xyz.scm (python-openstep-plist): Update to 0.5.2.
[native-inputs]: Remove python-cython-0; add python-cython.

Change-Id: I8fa859a2ef0fd156c90773a5aced929b6335214c
2026-04-10 09:13:33 +01:00
Sharlatan Hellseher
731cda7174 gnu: python-dnspython: Update to 2.8.0.
* gnu/packages/python-xyz.scm (python-dnspython): Update to 2.8.0.
[arguments] <test-flags>: Clean up redundant skip options.

Change-Id: Ieb1f10fb99f10ec9ab6ae8e169a351ef652b6bac
2026-04-10 09:13:33 +01:00
Hugo Buddelmeijer
cd1a8ffa89 gnu: python-pillow: Update to 12.1.1 [security-fixes].
Release notes since 11.1.0 (2025-01-02):
- 12.1.1 (2026-02-11)
  <https://pillow.readthedocs.io/en/stable/releasenotes/12.1.1.html>.
- 12.1.0 (2026-01-02)
  <https://pillow.readthedocs.io/en/stable/releasenotes/12.1.0.html>.
- 12.0.0 (2025-10-15)
  <https://pillow.readthedocs.io/en/stable/releasenotes/12.0.0.html>.
- 11.3.0 (2025-07-01)
  <https://pillow.readthedocs.io/en/stable/releasenotes/11.3.0.html>.
- 11.2.1 (2025-04-12)
  <https://pillow.readthedocs.io/en/stable/releasenotes/11.2.1.html>.

Containes fixes for:
CVE-2026-25990: Out-of-bounds write vulnerability in Pillow (Python
                imaging library) affecting versions 10.3.0 through
                12.1.0. The vulnerability can be triggered when loading
                specially crafted PSD image files.
CVE 2025-48379: Write buffer overflow on BCn encoding.
CVE-2021-25289: Heap-based Buffer Overflow.

* gnu/packages/python-xyz.scm (python-pillow): Update to 12.1.1.
[source]: Switch to git-fetch.
[native-inputs]: Add pybind11.
[home-page]: Update URL.
[license]: Switch to MIT-CMU license.

Merges: https://codeberg.org/guix/guix/pulls/7218
Change-Id: I5b13dca66aeb7efdfcc44c8c144b6c64601d9b1e
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:32 +01:00
Sharlatan Hellseher
476ecbf79d gnu: python-fonttools: Swap inheritance, simplify.
* gnu/packages/python-xyz.scm (python-fonttools): Don't  inherit from
python-fonttools-miniaml.
[arguments]<test-flags>: Rework skipped tests.
[propagated-inputs]: Remove python-fs, python-lz4, and python-scipy.
(python-fonttools-minimal): Inherit from python-fonttools, simplify.

Relates-to: https://codeberg.org/guix/guix/issues/7195
Change-Id: I1da5dd67f41a90c291a48ec236e7e463acf65785
2026-04-10 09:13:32 +01:00
Sharlatan Hellseher
58493fab74 gnu: python-rich-click: Update to 1.9.7.
* gnu/packages/python-xyz.scm (python-rich-click): Update to 1.9.7.
[phases]{fix-pytest-config}: New phase.
[propagated-inputs]: Remove python-typing-extensions.
[native-inputs]: Add python-inline-snapshot and python-typer.

Change-Id: I8f22ce7e79d6aae367474c1b609ed43d9ab38167
2026-04-10 09:13:31 +01:00
Sharlatan Hellseher
5895176e60 gnu: python-dirty-equals: Update to 0.11.0.
* gnu/packages/python-xyz.scm (python-dirty-equals): Update to 0.11.0.
[source]: Switch to git-fetch.
[arguments]: Drap all.
[propagated-inputs]: Remove python-pytz.
[native-inputs]: Add python-pydantic, python-pytest-examples, and
tzdata-for-tests.

Change-Id: Iff4b844ec8544d463806ff5c4fbd8c19deadd1c4
2026-04-10 09:13:31 +01:00