Commit graph

5371 commits

Author SHA1 Message Date
Liliana Marie Prikler
0aa275f334
[WORKAROUND] gnu: python-distlib: Skip tests.
* gnu/packages/python-xyz.scm (python-distlib)[#:tests?]: Disable.
2025-09-30 20:05:05 +02:00
Nguyễn Gia Phong
6ebc5d855c
gnu: python-flit-core-next: Mark as deprecated.
This is a followup to a34d8e4278.

Replace all python-flit-core-next occurrences with python-flit-core.

* gnu/packages/python-build.scm (python-flit-core-next):
  Mark as a deprecated public alias.
* gnu/packages/machine-learning.scm (python-pytorch-geometric)
  [propagated-inputs]: Replace python-flit-core-next
  with python-flit-core.
* gnu/packages/pdf.scm (python-pypdf) [propagated-inputs]:
  Replace python-flit-core-next with python-flit-core.
* gnu/packages/python-check.scm (python-stestr) [propagated-inputs]:
  Replace python-flit-core-next with python-flit-core.
* gnu/packages/python-xyz.scm (python-asyncclick) [propagated-inputs]:
  Replace python-flit-core-next with python-flit-core.

Change-Id: I3a25290f6fd97995b773332addefe33afd016e67
Reviwed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 13:22:59 +01:00
Nguyễn Gia Phong
a969d3cd70
gnu: python-charset-normalizer-3: Mark as deprecated.
This is a followup to bbb9551884.

Replace all python-charset-normalizer-3 occurences
with python-charset-normalizer.

* gnu/packages/python-xyz.scm (python-charset-normalizer-3):
  Mark as a deprecated public alias.
* gnu/packages/music.scm (picard)
  [inputs]: Replace python-charset-normalizer-3
  with python-charset-normalizer.
* gnu/packages/python-web.scm (python-translation-finder)
  [propagated-inputs]: Replace python-charset-normalizer-3
  with python-charset-normalizer.

Change-Id: Ib45bfe24efde2f2a6435c0c272d9d14e70e2321e
Reviwed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-30 13:22:52 +01:00
Efraim Flashner
d6daad298a
gnu: python-vobject: Update to 0.9.9.
* gnu/packages/python-xyz.scm (python-vobject): Update to 0.9.9.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Remove python-pyicu; add python-pytz and python-six.
[native-inputs]: Add python-setuptools.

Change-Id: I1839f0c19e5f6d59477606ebc461d18fff685e71
2025-09-30 11:14:39 +03:00
John Kehayias
768ea590ec
gnu: python-openpyxl: Fix tests.
* gnu/packages/python-xyz.scm (python-openpyxl)[native-inputs]: Replace
python-lxml with python-lxml-4.9.

Change-Id: I59374faaf1dea054ac3f109fcdca53fe7aaa96a9
2025-09-30 16:52:05 +09:00
Maxim Cournoyer
8389fd89d2
gnu: python-unicodedata2: Update to 16.0.0.
* gnu/packages/python-xyz.scm (python-unicodedata2): Update to 16.0.0.

Change-Id: Ia3edef9c5ada75b2c85727be3b55db4ab2bc7b44
2025-09-30 16:48:23 +09:00
Maxim Cournoyer
42015f622d
gnu: python-fonttools-minimal: Update to 4.59.2.
* gnu/packages/python-xyz.scm (python-fonttools-minimal): Update to 4.59.2.
[native-inputs]: Delete field.
(python-fonttools) [#:phases] {check}: Adjust.

Change-Id: Iaa4569e734956ff65dcd0bd6d8ed712858ee493c
2025-09-30 16:48:23 +09:00
John Kehayias
6074612663
gnu: python-beautifulsoup4: Update to 4.13.5.
* gnu/packages/python-xyz.scm (python-beautifulsoup4): Update to 4.13.5.

Change-Id: Ie1786b0b16b4332ea6295a3ecea83540dbab82cc
2025-09-30 16:48:23 +09:00
Sergey Trofimov
54a91b7a37
gnu: Replace usages of sane-backends with sane.
Replacement done using:
find gnu/packages -name '*.scm' -print0 | xargs -0 sed -ri \
  -e 's/"sane-backends" ,sane-backends/"sane" ,sane/' \
  -e 's/(list[^"]+sane)-backends/\1/' \
  -e 's/^( +sane)-backends/\1/'

* gnu/packages/hardware.scm (hw-probe)[inputs]:
* gnu/packages/wine.scm (wine)[inputs]:
* gnu/packages/python-xyz.scm (python-sane)[inputs]:
* gnu/packages/ocr.scm (gimagereader)[inputs]:
* gnu/packages/libreoffice.scm (libreoffice)[inputs]:
* gnu/packages/kde.scm (ksanecore)[inputs]:
* gnu/packages/gnome.scm (simple-scan, ocrfeeder, colord)[inputs]:
* gnu/packages/scanner.scm (scanbd, xsane, sane-airscan)[inputs]:
Replace sane-backends with sane.

Change-Id: If995e846ed4f53a740119b362e07c36c90a621cb
2025-09-30 16:48:23 +09:00
John Kehayias
652d885793
gnu: python-fonttools: Fix build.
* gnu/packages/python-xyz.scm (python-fonttools)[propagated-inputs]: Change
python-lxml-4.9 to python-lxml.

Change-Id: I5fb32f3cd02dd7d9d537a7464bf0bcc5f0088f93
2025-09-30 16:48:22 +09:00
Maxim Cournoyer
c68a9fa2ac
gnu: ffmpeg: Update to 8.0.
* gnu/packages/video.scm (ffmpeg-7): Replace with...
(ffmpeg): ... this updated version.
(ffmpeg): Adjust to use ffmpeg.
(ffmpeg-jami): Stay on ffmpeg-6.
* gnu/packages/tor-browsers.scm (make-torbrowser): Likewise.
* gnu/packages/python-xyz.scm (python-av): Likewise.
* gnu/packages/qt.scm (qtmultimedia): Likewise.

Change-Id: I2d7b1861a647f583da93fe230fd0734742671d4d
2025-09-30 16:48:18 +09:00
Sharlatan Hellseher
5f8823f384
gnu: python-huey: Add a maintenance note.
* gnu/packages/python-xyz.scm (python-huey): Add a maintenance note.

Change-Id: I98397177a3d17f5564bd984538ff51545ba8533e
2025-09-29 00:26:06 +01:00
Jake Forster
bdfc3a0bcf
gnu: python-huey: Fix tests.
* gnu/packages/python-xyz.scm (python-huey):
[arguments]<#:phases>{pre-check}: Delete.
{check}: Replace.

Change-Id: I801baae9aa6a646bb9df452876a591db7da7a653
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-29 00:25:56 +01:00
Sharlatan Hellseher
2135ac63e1
gnu: python-flufl-bounce: Switch to pyproject, fix build.
* gnu/packages/python-xyz.scm (python-flufl-bounce):
[build-system]: Switch to pyporject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: I4d057a611bbad330ec4e0a94693acee6da1684a7
2025-09-29 00:12:25 +01:00
Sharlatan Hellseher
7c8d450d85
gnu: python-autopep8: Move to python-check.
* gnu/packages/python-xyz.scm (python-autopep8): Move from here ...
* gnu/packages/python-check.scm: ... to here.

Change-Id: Icce2a85151398eae4be5c54982497897751a43b7
2025-09-28 23:57:39 +01:00
Sharlatan Hellseher
cf9f828427
gnu: python-autopep8: Update to 2.3.2.
* gnu/packages/python-xyz.scm (python-autopep8): Update to 2.3.2.
[native-inputs]: Remove python-wheel.

Change-Id: I8369c20cef2c89966efa243f12bfe7647817ff90
2025-09-28 23:52:24 +01:00
Sharlatan Hellseher
8c9572b68d
gnu: python-git-hammer: Update to 0.3.2.
* gnu/packages/python-xyz.scm (python-git-hammer): Update to 0.3.2. Fix
indentation.
[build-system]: Switch to pyproject-build-system.
[arguments] <phases>: Remove 'patch-setup.py, add 'relax-requirements.
[native-inputs]: Add python-pytest and python-setuptools.
[description]: Fix fill column.

Change-Id: I22609e48142c2dacf2d9dec7c07a9cc917f5db03
2025-09-28 01:02:14 +01:00
Hugo Buddelmeijer
c6a808735a
gnu: Add python-types-tqdm.
* gnu/packages/python-xyz.scm (python-types-tqdm): New variable.

Change-Id: I91ba21d84b467c9bf172db48aeba5309a70fe51d
2025-09-28 00:43:28 +01:00
Hugo Buddelmeijer
6b48bd14df
gnu: Add python-types-aiofiles.
* gnu/packages/python-xyz.scm (python-types-aiofiles): New variable.

Change-Id: I7f21b80b47f1c0a71812623c574a6892a9782af0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-28 00:43:28 +01:00
Hugo Buddelmeijer
622f2105eb
gnu: Add python-types-regex.
* gnu/packages/python-xyz.scm (python-types-regex): New variable.

Change-Id: Ie526b19c84c08c7778d41bc12619b4d2e8f0dd8b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-28 00:43:28 +01:00
wrobell
bdde705c8c
gnu: Add python-rodi.
* gnu/packages/python-xyz.scm (python-rodi): New variable.

Change-Id: I72d04e61b7286047906d303af03e91696d6a66c0
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-28 00:34:26 +01:00
wrobell
e619542671
gnu: Add python-essentials.
* gnu/packages/python-xyz.scm (python-essentials): New variable.

Change-Id: Ief6d00aac122d33269f9237673770bfd7f98fbb8
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-28 00:34:23 +01:00
Sharlatan Hellseher
be923f9294
gnu: python-apprise: Move to python-web.
* gnu/packages/python-xyz.scm (python-apprise): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: Iec9be9ed71ea199bbcf9a0ad66a6251d51bc0484
2025-09-28 00:10:54 +01:00
Hugo Buddelmeijer
cf7a0a747e
gnu: python-apprise: Update to 1.9.4.
* gnu/packages/python-xyz.scm (python-apprise): Update to 1.9.4.
[arguments] <#:test-flags>: Remove --numprocesses in the hope to make
the tests more deterministic.
[propagated-inputs]: Add python-pygobject.
[native-inputs]: Remove python-pytest-xdist, and python-wheel.

Change-Id: I3c63be39433d9044b0c994c7adb5ab6a4e9f2a2d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-28 00:04:52 +01:00
Nicolas Graves
a99b3b8c20
gnu: python-pycountry: Move to (gnu packages iso-codes).
This package makes a lot more sense there, and is actually needed to
run tests of other python packages in this module.

* gnu/packages/python-xyz.scm (python-pycountry)
(python-pycountry@20.7.3): Move them...
* gnu/packages/iso-codes.scm (python-pycountry)
(python-pycountry-20.7.3): ... to this module.
* gnu/packages/music.scm: Import (gnu packages iso-codes).
* gnu/packages/tryton.scm: Import (gnu packages iso-codes).
(trytond-country): Correct python-pycountry@20.7.3 to
python-pycountry-20.7.3.

Change-Id: I7aa424663fb2edc73bca3fcac38de3226cc57a9b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-27 23:25:47 +01:00
Sharlatan Hellseher
c78545b334
gnu: python-iocapture: Fix tests.
* gnu/packages/python-xyz.scm (python-iocapture)[native-inputs]:
Remove python-wheel; add python-six.

Change-Id: Ifa2191412463b03759527cd8073e6760d648c2f4
2025-09-27 22:56:58 +01:00
Hugo Buddelmeijer
51fa44d093
gnu: python-grandalf: Update to 0.8.
* gnu/packages/python-xyz.scm (python-grandalf): Update to 0.8.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Remove python-pytest-runner; add python-setuptools.
[arguments] <#:phases>: Add 'patch-requirements phase; remove
check-phase replacement.

Change-Id: Icaf77d0909b67b857bceffd21bb132c9e0e69edc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-27 21:40:53 +01:00
Sharlatan Hellseher
3e634c5d19
gnu: python-calmjs-parse: Fix tests.
* gnu/packages/python-xyz.scmf (python-calmjs-parse)[native-inputs]:
Remove python-wheel; add python-pytest.

Change-Id: I0cde88ae9fa6f210e436a64a7a3f0ea1114506df
2025-09-27 21:37:17 +01:00
Sharlatan Hellseher
90b43a2333
gnu: python-attr: Fix tests.
* gnu/packages/python-xyz.scm (python-attr)[arguments] <test-backend>:
Use 'custom.
<test-flags>: Provide test script as seen in <tox.ini>.
[native-inputs]: Remove python-wheel.

Change-Id: Iee70e41ca607f0200ac2387fd62e01a2a7b5e49e
2025-09-27 21:37:16 +01:00
Sharlatan Hellseher
f00ebc2d5e
gnu: python-zeroc-ice-3.6: Fix build with gcc-14.
* gnu/packages/python-xyz.scm (python-zeroc-ice-3.6)[arguments]
<phases>: Add 'relax-gcc-14-strictness.

Change-Id: I205e103f6e8e5856a10fb716fec3831b555ab3cf
2025-09-27 21:37:16 +01:00
Sharlatan Hellseher
7ca5588e58
gnu: python-zeroc-ice: Disable tests.
* gnu/packages/python-xyz.scm (python-zeroc-ice)[arguments] <tests?>:
Test provided in Git, but there is no tag reflecting PyPI archive.
[native-inputs]: Remove python-wheel.

Change-Id: I1a9b2453fc53589e1701e5eb7d78575416881734
2025-09-27 21:37:16 +01:00
Sharlatan Hellseher
13ce997314
gnu: python-zeroc-ice-3.6: Move closer to python-zeroc-ice.
* gnu/packages/python-xyz.scm (python-zeroc-ice-3.6): Move variable
after python-zeroc-ice.

Change-Id: If63359d3b5fb1821a3d8232bdd266aba2225a597
2025-09-27 21:37:16 +01:00
Sharlatan Hellseher
dcf6ee11c7
gnu: python-kconfiglib: Disable tests.
* gnu/packages/python-xyz.scm (python-kconfiglib)[arguments] <tests?>:
They require some set up.
[native-inputs]: Remove python-wheel.

Change-Id: I50b415a1564a9a831bf7383f6eb6f00b46cdd998
2025-09-27 21:37:16 +01:00
Sharlatan Hellseher
06c8ae0c3d
gnu: python-rich-tables: Update to 0.8.0.
* gnu/packages/python-xyz.scm (python-rich-tables): Update to 0.8.0.
[arguments] <test-flags>: Skip one test.
[propagated-inputs]: Add python-humanize.

Change-Id: If6472174a057eba03ae9a9c5c367a577b5c29db0
2025-09-27 21:37:16 +01:00
Sharlatan Hellseher
8b627e931a
gnu: python-rgbxy: Disable tests.
* gnu/packages/python-xyz.scm (python-rgbxy)[arguments] <tests?>: No
tests.
[native-inputs]: Remove python-wheel.

Change-Id: I1a440d8e3f3e1b9d80c9d4c693e40de5ad4cd1ef
2025-09-27 21:37:16 +01:00
Sharlatan Hellseher
a8a93afce3
gnu: python-ndeflib: Fix tests.
* gnu/packages/python-xyz.scm (python-ndeflib)[arguments] <test-flags>:
Skip 2 test groups.
[native-inputs]: Remove python-wheel; add python-pytest.

Change-Id: I609f6d9ce7b4f98bae1639769d51f4fa83ac8531
2025-09-27 21:37:16 +01:00
Sharlatan Hellseher
6ba36049ae
gnu: python-columnize: Fix test.
* gnu/packages/python-xyz.scm (python-columnize)[native-inputs]:
Remove python-wheel; add python-pytest.

Change-Id: I25a274e2086a396d05119987915551102c20e727
2025-09-27 21:37:15 +01:00
Sharlatan Hellseher
df87078828
gnu: python-doxyqml: Fix tests.
* gnu/packages/python-xyz.scm (python-doxyqml)[arguments]
<test-backend>: Use 'custom.
<test-flags>: Provide path to the test file.
[native-inputs]: Remove python-wheel.

Change-Id: Ic89f338fec5cfc434a2d1a25bd903232236c4129
2025-09-27 21:37:15 +01:00
Sharlatan Hellseher
27f867ce57
gnu: python-elevate: Disable tests.
* gnu/packages/python-xyz.scm (python-elevate)[arguments] <tests?>: No
tests in PyPI or Git.
[native-inputs]: Remove python-wheel.

Change-Id: I91a7d6d6cbf534ec8881f1da850781ec79a54811
2025-09-27 21:37:01 +01:00
John Kehayias
da04b3bb42
gnu: Add python-dotenv-0.13.0.
Old version just for docker-compose until it is updated.  Fixes build for
docker-compose

* gnu/packages/docker.scm (python-dotenv-0.13.0): New variable.
(docker-compose)[inputs]: Use it instead of python-dotenv.

Change-Id: I8efc30ad7d40601bb5ad88e7c56484edb36e328e
2025-09-26 16:57:40 -04:00
John Kehayias
3b55a14377
gnu: Add python-sh-1.
This is just for the old docker-compose we still ship (long pending an update
to Go version), via next commit for an older python-dotenv.

* gnu/packages/python-xyz.scm (python-sh-1): New variable.

Change-Id: Idb2b6d476bb9391d9fd8b71aa0184696f3b45aba
2025-09-26 16:54:38 -04:00
Sharlatan Hellseher
d4c1dc6df5
gnu: python-argparse-manpage: Update to 4.7.
* gnu/packages/python-xyz.scm (python-argparse-manpage): Update to 4.7.
[source]: Fix uri name as seen in PyPI archive.
[arguments] <test-flags>: Skip tests requiring pip.
[native-inputs]: Remove python-pip, python-tomli, and python-wheel.

Fixes: guix/guix#3015
Change-Id: I10b31aa295bd97673071ecaaecb9895cd4d8a6b0
2025-09-26 17:16:06 +01:00
Hugo Buddelmeijer
7c7bc37b6e
gnu: python-devtools: Disable failing tests.
* gnu/packages/python-xyz.scm (python-devtools): Disable failing tests.
[arguments] <test-flags>: Disable failing tests.

Change-Id: I1c6533a4a912d5dc4bde3610ccce7d38837caac4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 23:47:33 +01:00
Hugo Buddelmeijer
758808cd9d
gnu: python-iterable-io: Fix tests.
* gnu/packages/python-xyz.scm (python-iterable-io): Fix tests.
[native-inputs]: Remove python-wheel; add python-pytest.

Change-Id: I8c525653b8277c39b3a4b74c82c5eb864f9b032d
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-09-25 13:58:53 -07:00
Hilton Chain
896872cba8
gnu: python-mpv-jsonipc: Disable tests explicitly.
* gnu/packages/python-xyz.scm (python-mpv-jsonipc) [arguments] <#:tests?>:
Disable.

Change-Id: I921848852c7963951092e9beee0c630d954320b7
2025-09-26 02:06:11 +08:00
Sharlatan Hellseher
3755088384
gnu: Add python-six-bootstrap.
* gnu/packages/python-xyz.scm (python-six-bootstrap): New variable.

Fixes: guix-science/guix-past#20.
Reported-by: @gabor-udvari
Change-Id: I15b993e39c76dd39d1871179fc899e963d411d45
2025-09-25 12:37:56 +01:00
Sharlatan Hellseher
1b1db5f79f
gnu: mallard-ducktype: Move to documentation.
* gnu/packages/python-xyz.scm (mallard-ducktype): Move from here ...
* gnu/packages/documentation.scm: ... to here.

Fixes: guix/guix#1200.
Change-Id: I05895a56626a0416c4c7710c48f06b62538b4622
2025-09-25 12:36:52 +01:00
Sharlatan Hellseher
60e0723b09
gnu: python-textdistance: Limit concurrent tests.
* gnu/packages/python-xyz.scm (python-textdistance)[arguments]
<test-flags>: Limit parallel tests up to 4 threads.

Change-Id: Id70320f528a0618e3058ccabaec5675180b06b74
2025-09-25 09:37:03 +01:00
Nicolas Graves
0b1bb5d68c
gnu: python-pygtrie: Fix and run tests.
* gnu/packages/python-xyz.scm (python-pygtrie)
[source]: Switch to git-fetch.
[arguments]<#:test-backend>: Set it.
<#:phases>: Add phase 'set-version.
[native-inputs]: Remove python-wheel.

Change-Id: Ib3da3430340077624410e334d7846b75b6928471
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:37:03 +01:00
Nicolas Graves
bdf0b56b85
gnu: python-distance: Update to 0.1.3-0.ad7f9dc.
* gnu/packages/python-xyz.scm (python-distance): Update to 0.1.3-0.ad7f9dc.
[source]: Switch to git-fetch.
[arguments]: Set <#:test-backend> and <#:test-flags>.
[native-inputs]: Remove python-wheel.

Change-Id: I76fdce7caa7cff779ef6df60dd3969aea57be5d5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-25 09:37:03 +01:00