Nicolas Graves
8b9f3a2885
gnu: python-envs: Propagate necessary packages.
...
* gnu/packages/python-xyz.scm (python-envs)
[native-inputs]: Add python-packaging.
[propagated-inputs]: Add python-jinja2, python-terminaltables.
Change-Id: I5a66592a0af7f3567d0313bdc9c3752267033079
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:16 +00:00
Nicolas Graves
f827ab9208
gnu: python-twisted: Propagate python:tk.
...
* gnu/packages/python-xyz.scm (python-twisted)[propagated-inputs]: Add
python:tk.
Change-Id: I20376d69683d2ba312a565c930639f401f73ab19
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:16 +00:00
Nicolas Graves
7b2359868d
gnu: python-duniterpy: Relax requirements.
...
* gnu/packages/finance.scm (python-duniterpy)[arguments]<#:phases>:
Add phase 'relax-requirements.
Change-Id: I0fa9514267270396eecd8b11bf05bbfdf4db5fcd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:16 +00:00
Nicolas Graves
bd874978a5
gnu: python-pytest-sugar: Update to 1.1.1-0.4b1cd8d.
...
* gnu/packages/check.scm (python-pytest-sugar): Update to 1.1.1-0.4b1cd8d.
[source]: Switch to git-fetch.
[propagated-inputs]: Remove python-packaging.
[native-inputs]: Remove python-wheel.
[home-page]: Update it.
[description]: Update it.
Change-Id: If9105648373c39465cbbc08f4721bf4c25d8491d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:15 +00:00
Sharlatan Hellseher
7365a63e57
gnu: python-anyio: Update to 4.10.0.
...
* gnu/packages/python-xyz.scm (python-anyio): Update to 4.10.0.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Add python-truststore.
Change-Id: Ib0aab1c2dfbb7518756d5cd1eb8f21e203f5519f
2026-01-24 23:15:15 +00:00
Nicolas Graves
e13f435a57
gnu: python-anyio: Improve style.
...
* gnu/packages/python-xyz.scm (python-anyio)[arguments]
<#:phases>: Migrate to <#test-flags>, improve style, use gexps, and
string-join.
Change-Id: I99b144390e5503b149d9b469bf71ad53c61ba829
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:15 +00:00
Nicolas Graves
43e2710e01
gnu: python-trio: Improve style.
...
* gnu/packages/python-xyz.scm (python-trio)[arguments]: Improve style,
use gexps and string-join, put conditional arguments first.
Change-Id: I14a3bffa2137fbadd9aebc9a64ac2c6d027806d5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:15 +00:00
Nicolas Graves
38e2e59c5e
gnu: python-numpy: Drop uneeded native-inputs.
...
* gnu/packages/python-xyz.scm (python-numpy)[native-inputs]: Remove
python-mypy, duplicate python-setuptools, and python-wheel.
Change-Id: I94a5a51a4eff4620809af9c4a0abbd649c0768c5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:15 +00:00
Nicolas Graves
ba6743caee
gnu: python-curio: Flag the package as deprecated.
...
* gnu/packages/python-xyz.scm (python-curio): Flag the package as
deprecated.
Change-Id: I484f852cc6ecb59eb2e3638a7b32442752e98faa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:15 +00:00
Nicolas Graves
c30a49e900
gnu: python-ipython: Drop python-curio native-input.
...
* gnu/packages/python-xyz.scm (python-ipython)[native-inputs]: Drop
python-curio.
Change-Id: Id6183bc95711899171e3d3941423400ba001592a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:15 +00:00
Nicolas Graves
f773e000d4
gnu: python-certauth: Fix tests.
...
* gnu/packages/python-crypto.scm (python-certauth)[native-inputs]: Add
python-pytest, drop python-wheel.
Change-Id: Ia2ffaabdfb8943bc19bac75561268186bbb10fb7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:15 +00:00
Nicolas Graves
4d78da17fd
gnu: python-syrupy: Fix tests.
...
* gnu/packages/python-check.scm (python-syrupy)
[arguments]<#:test-backend>: Drop it.
<#:test-flags>: Ignore expected failing test.
[native-inputs]: Drop python-invoke.
Change-Id: Ie3e92293d7bd96aa7edbf81b577c9413bd988dfd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:15 +00:00
Nicolas Graves
857a484bd0
gnu: pybind11: Add python-setuptools native-inputs, improve style.
...
* gnu/packages/python-xyz.scm (pybind11)
[native-inputs]: Drop labels, add python-setuptools.
[arguments]<#:configure-flags>: Adapt for catch label change.
<#:phases>: Improve style.
Change-Id: I3171c79e079be0ebeda072412b3a9173c61713ff
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:14 +00:00
Nicolas Graves
f7959521cf
gnu: python-dependency-groups: Correct package.
...
* gnu/packages/python-web.scm (python-dependency-groups)
[native-inputs]: Add python-pytest, as tests were not run using unittests.
Change-Id: I966ea4dad232ad514bcf10cfd37a89c5244ca0b5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:14 +00:00
Nicolas Graves
00568c7fe2
gnu: python-sniffio: Drop python-curio native-input.
...
* gnu/packages/python-xyz.scm (python-sniffio):
[arguments] <test-flags>: Skip test requiring curio.
[native-inputs]: Remove python-curio.
Change-Id: I96678566359cbbfc1ee268c73952b1de6a147959
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:14 +00:00
Nicolas Graves
d8a17c774e
gnu: python-frozenlist: Update to 1.8.0.
...
* gnu/packages/python-web.scm (python-frozenlist): Update to 1.8.0.
[source]: Switch to git-fetch.
[outputs]: Add "wheel" output.
[arguments]<#:test-flags>: Ignore configuration.
[native-inputs]: Add python-cython, python-pytest, python-tomli.
Remove python-wheel.
Change-Id: I3ff9f502960c8dd1ff304b90499d4c1370869b20
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:14 +00:00
Nicolas Graves
ca1f34ce82
gnu: python-pytest-asyncio: Switch to git-fetch.
...
* gnu/packages/check.scm (python-pytest-asyncio):
[source]: Switch to git-fetch.
[arguments]<#:phases>: Add phase 'set-version.
Change-Id: I448406ec79ceca892a1204a948ce2b91a573114b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:14 +00:00
Nicolas Graves
c444406b14
gnu: python-expandvars: Simplify.
...
* gnu/packages/python-xyz.scm (python-expandvars):
[arguments]<#:phases>: Drop them.
<#:test-flags>: Add flag to ignore configuration that is
too old for pytest@9 compatiblity.
Change-Id: I1aed3c1c60110cf39262686a235eccc0f570e41e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:14 +00:00
Nicolas Graves
1801f3c03a
gnu: python-pyproject-metadata: Update to 0.10.0.
...
* gnu/packages/python-xyz.scm (python-pyproject-metadata): Update to 0.10.0.
[native-inputs]: Replace python-pypa-build by python-flit-core.
Remove python-setuptools.
Change-Id: Ibbc17d14b182a1513e5492aee138ac721710db16
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:14 +00:00
Nicolas Graves
b5341fa01d
gnu: python-phpserialize: Fix tests.
...
* gnu/packages/python-xyz.scm (python-phpserialize)
[arguments]: Remove <#:test-backend>, update <#:test-flags>.
[native-inputs]: Add python-pytest.
Change-Id: I72536b16f56ad7e9050828f2c77d70abf16ce639
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:14 +00:00
Nicolas Graves
fbee6e09b1
gnu: python-openpyxl: Disable failing tests.
...
* gnu/packages/python-xyz.scm (python-openpyxl)[arguments]
<#:test-flags>: Disable failing tests.
Change-Id: I5d8c9a02377dcd3a04ae4db886bebdf0743db028
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
f6d2590bbd
gnu: python-semantic-version: Set test-backend to nose2.
...
* gnu/packages/python-xyz.scm (python-semantic-version)[arguments]
<#:tests?>: Set it.
Change-Id: I09c84e3658fb6ff61255893a25332638192690b8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
9b2d946261
gnu: python-termcolor: Relax coverage requirements.
...
* gnu/packages/python-xyz.scm (python-termcolor)[arguments]
<#:phases>: Add phase 'relax-coverage-requirements.
(python-termcolor-next)[name, arguments]: Set them.
Change-Id: Icd184f39b0f9da33cfa9306c33639467dbf0cf80
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
f4a57704b2
gnu: python-flit: Relax python-pip requirement.
...
The new sanity-check makes this package fail.
* gnu/packages/python-xyz.scm (python-flit)[arguments]<#:phases>: Add
phase 'relax-pip-requirement.
Change-Id: Ib3023182667469c9683f0c63ccbd165276af3202
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
32a47c8e39
gnu: python-cffi: Ignore performance tests.
...
* gnu/packages/libffi.scm (python-cffi)[arguments]<#:tests?>: Ignore
performance tests.
Change-Id: Ic74ebfa42fd48d13ae539ea016eed8157012c11e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
85682b915f
gnu: python-gitdb: Ignore performance tests.
...
* gnu/packages/version-control.scm (python-gitdb)[arguments]
<#:test-flags>: Ignore performance tests.
Change-Id: I2f7379cb32af2270ec9dee2551cfa47c1205c5df
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
a1944c7a5b
gnu: python-defusedxml: Update to 0.7.1-0.c744588.
...
* gnu/packages/xml.scm (python-defusedxml): Update to 0.7.1-0.c744588.
[source]: Switch to git-fetch.
[arguments]: Run a custom test-suite.
[native-inputs]: Remove python-wheel.
Change-Id: If80357c1c4a18e0ca910ec245141ecad7649b08e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
0315e81323
gnu: python-jsonrpclib-pelix: Fix tests.
...
* gnu/packages/python-xyz.scm (python-jsonrpclib-pelix)
[arguments]<#:test-backend>: Remove it.
<#:test-flags>: Refresh it.
[native-inputs]: Add python-pytest.
Change-Id: I98db9df4f74ddfa601aa577b899a6e91677e96de
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
e34103dd95
gnu: python-multidict: Update to 6.7.0.
...
* gnu/packages/python-xyz.scm (python-multidict): Update to 6.7.0.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Ignore benchmarks.
<#:phases>: Add 'fix-pytest-config.
[native-inputs]: Remove python-pytest-cov and python-wheel. Add
python-objgraph and python-psutil.
[description]: Improve style.
Change-Id: Ifa9e724162fac24cd83523f92ab66e36bdceb2d8
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:13 +00:00
Nicolas Graves
598196e1d0
gnu: python-dbusmock-minimal: Rename to python-dbusmock-for-tests.
...
* gnu/packages/gnome.scm (upower)
* gnu/packages/gtk.scm (at-spi2-core)
* gnu/packages/polkit.scm (polkit)
[native-inputs]: Remove python-dbusmock-minimal; add
python-dbusmock-for-tests.
* gnu/packages/python-xyz.scm
(python-dbusmock-minimal): Rename to python-dbusmock-for-tests.
(python-dbusmock-minimal): New deprecated package.
Change-Id: I640ede147bd1b85b671a76b2d9096fea063164b1
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:12 +00:00
Nicolas Graves
11a2266fff
gnu: python-dbusmock: Fix and improve packages.
...
* gnu/packages/python-xyz.scm
(python-dbusmock-check-phase): Drop variable.
(python-dbusmock-patch-paths-phase): New variable.
(python-dbusmock): Refactor phases accordingly.
(python-dbusmock-minimal): Update to 0.37.2.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[arguments]<#:phases>: Drop 'check phase replacement. Refactor
'patch-paths phase.
[native-inputs]: Add python-setuptools.
Change-Id: Id32561d8d1b15f96726a6c4099d64c6937dad506
Reviewed-by: Nguyễn Gia Phong <cnx@loang.net>
Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:12 +00:00
Nicolas Graves
92efe35e82
gnu: Remove python-pytest-asyncio-0.21.
...
* gnu/packages/check.scm (python-pytest-asyncio-0.21): Delete variable.
Fixes : guix/guix#5738
Change-Id: Id288d8132a2e74879f72f92638b7c661f7d7e3b9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:12 +00:00
Nicolas Graves
4af7015582
gnu: python-asyncua: Update to 1.1.8.
...
* gnu/packages/engineering.scm (python-asyncua): Update to 1.1.8.
[native-inputs]: Remove python-pytest-asyncio-0.21, python-setuptools,
and python-wheel; add python-pytest-asyncio, and python-hatchling.
[propagated-inputs]: Add python-wait-for2.
Change-Id: I27b71ce7c976892b8c77a290d3468ea9c72f18e7
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:12 +00:00
Sharlatan Hellseher
e3dd2fd947
gnu: Add python-wait-for2.
...
* gnu/packages/python-xyz.scm (python-wait-for2): New variable.
Change-Id: I11e048274e08e479afce345fa1d75794f4f5672c
2026-01-24 23:15:12 +00:00
Nicolas Graves
419b3f0314
gnu: Remove python-pytest-asyncio-0.23.
...
* gnu/packages/check.scm (python-pytest-asyncio-0.23): Delete variable.
Change-Id: I00190eb51efcd3f637ff827060999eb06703947c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 23:15:12 +00:00
Sharlatan Hellseher
0be74bda5b
gnu: python-fakeredis: Update to 2.33.0.
...
* gnu/packages/databases.scm (python-fakeredis): Update to 2.33.0.
[arguments] <test-flags>: Run more tests, skip only 4.
[propagated-inputs]: Remove python-typing-extensions; add python-valkey.
Change-Id: I05d5f3b5da3da175a180cdb71fe6078342c10653
2026-01-24 23:15:12 +00:00
Nicolas Graves
d48201fef7
gnu: python-redis: Update to 7.1.0.
...
* gnu/packages/databases.scm (python-redis): Update to 7.1.0.
[arguments]<#:test-flags>: Refresh them.
<#:phases>: Rename and refresh phase 'avoid-pytest-cov to
'relax-coverage-requirements.
[native-inputs]: Add python-hatchling, python-mock,
python-pytest-timeout. Replace python-pytest-asyncio-0.23 by
python-pytest-asyncio. Remove python-setuptools.
Change-Id: I202a4b4e413300dc2a9f25b75793367e4adcd8a5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:57 +00:00
Sharlatan Hellseher
0503bd993a
gnu: python-traitlets: Update to 5.14.3.
...
* gnu/packages/python-xyz.scm (python-traitlets): Update to 5.14.3.
[native-inputs]: Remove python-argcomplete, python-mypy, python-pytest-mock, and
python-pytest-mypy-testing.
Change-Id: I857b475b0b0b35a537429c3741845db327e788b0
2026-01-24 21:22:57 +00:00
Sharlatan Hellseher
b3f0b5d35c
gnu: python-pytest-asyncio-0.26: Relax higher boundary of Pytest version.
...
* gnu/packages/check.scm (python-pytest-asyncio-0.26):
[arguments] <test-flags>: Skip 4 tests, as it was in v1.0.0.
<phases>: Add 'relax-requirements.
Change-Id: If104b5b59759b4ea6c6fcb91aee62e4f933480a1
2026-01-24 21:22:57 +00:00
Sharlatan Hellseher
0c58535b92
gnu: Remove python-charset-normalizer-3.
...
* gnu/packages/python-xyz.scm (python-charset-normalizer-3): Delete variable.
Change-Id: I0013e9c5a388cf1a3b5d1c485832fb31d87b0e36
2026-01-24 21:22:57 +00:00
Sharlatan Hellseher
8d549ce5cc
gnu: python-pybedtools: Update to 0.12.0.
...
* gnu/packages/bioinformatics.scm (python-pybedtools): Update to 0.12.0.
Use G-Expresions.
[source] <snippet>: Move phase {remove-cython-generated-files} here.
[argumets] <modules>: Drop all.
<build-backend>: Use setuptools.build_meta.
<test-flags>: Run test from installed module via "--pyargs".
<phases>: Remove 'build-extenstions; add 'remove-local-source.
[native-inputs]: Remove python-wheel.
Change-Id: I993aaee8a4bae900d4c6b61d5b4804d8afbe1131
2026-01-24 21:22:57 +00:00
Sharlatan Hellseher
882ed35c37
gnu: python-pytest-timeout: Update to 2.4.0.
...
* gnu/packages/check.scm (python-pytest-timeout): Update to 2.4.0.
[native-inputs]: Remove python-wheel.
Change-Id: I1e6f72b41bdf0d02bdc2965fc2cc0928c8223f8f
2026-01-24 21:22:56 +00:00
Sharlatan Hellseher
a82aa093aa
gnu: python-pytest-mock: Update to 3.15.1.
...
* gnu/packages/check.scm (python-pytest-mock): Update to 3.15.1.
[native-inputs]: Remove python-wheel.
Change-Id: I27c3ff15fec307dc06e62cb73c73861b567a5664
2026-01-24 21:22:56 +00:00
Sharlatan Hellseher
7ddc9a9cdf
gnu: python-pytest-asyncio: Update to 1.3.0.
...
* gnu/packages/check.scm (python-pytest-asyncio): Update to 1.3.0.
[arguments] <test-flags>: Rework skipped tests.
[native-inputs]: Remove python-wheel.
Change-Id: I762de7afafe6b87befebca27016917bc9f267979
2026-01-24 21:22:56 +00:00
Sharlatan Hellseher
a90986ae01
gnu: Deprecate python-rich-next in favor of python-reach.
...
* gnu/packages/python-xyz.scm (python-rich-next): Deprecate variable.
Change-Id: I8bcf329d0a69a0292b0fdb089e95fcf6c1103b4c
2026-01-24 21:22:56 +00:00
Sharlatan Hellseher
ef37ca8303
gnu: python-rich: Update to 14.2.0.
...
* gnu/packages/python-xyz.scm (python-rich): Update to 14.2.0.
[arguments]: Drop all.
[native-inputs]: Add which.
Change-Id: I04ef0b87763c9d468648c5b05cff87ffb951f582
2026-01-24 21:22:56 +00:00
Sharlatan Hellseher
2b5a571f43
gnu: python-dateparser: Fix tests.
...
* gnu/packages/python-xyz.scm (python-dateparser):
[arguments]: Simplify.
<test-flags>: Skip only one failing test.
[phases]{set-check-environment}: Remove phase.
[propagated-inputs]: Remove python-ruamel.yaml.
Change-Id: If72eb17f98935204d636a76d2a3db1326eb35606
2026-01-24 21:22:56 +00:00
Sharlatan Hellseher
ed265b4e1d
gnu: python-wrapt: Update to 2.0.1.
...
* gnu/packages/python-xyz.scm (python-wrapt): Update to 2.0.1.
[native-inputs]: Remove python-wheel; add python-mypy.
Change-Id: Id3ba54ce1a68e16f2b083bb826c94fe62820bacd
2026-01-24 21:22:56 +00:00
Sharlatan Hellseher
6710cf2273
gnu: python-pytest-subtests: Update to 0.15.0.
...
* gnu/packages/python-check.scm (python-pytest-subtests): Update to 0.15.0.
[native-inputs]: Remove python-pytest-bootstrap and python-wheel; add
python-pytest-8.
Change-Id: I427b7bbcc5284607961210a167149fc50714c952
2026-01-24 21:22:55 +00:00
Sharlatan Hellseher
7246191ee6
gnu: python-expandvars: Update to 1.1.2.
...
* gnu/packages/python-xyz.scm (python-expandvars): Update to 1.1.2.
[phases]{fix-pytest-config}: New phase.
Change-Id: Iddc35940857724379377e6a9a9a3f5e3697556f5
2026-01-24 21:22:55 +00:00