Commit graph

179258 commits

Author SHA1 Message Date
Sharlatan Hellseher
b49de7b5e2
gnu: python-numpy-1: Use python-setuptools.
* gnu/packages/python-xyz.scm (python-numpy-1)
[phases]{delete-test-files}: New phases.
{check}: Skip 2 more tests expecting older setuptools.
[native-inputs]: Remove python-setuptools-67, and python-wheel-0.40; add
python-setuptools.

Change-Id: I658ccde3c32daca20ecd2716ae245077decdde26
2026-01-24 21:22:55 +00:00
Sharlatan Hellseher
fddebc2741
gnu: python-setuptools-79: Disable tests.
* gnu/packages/python-build.scm (python-setuptools-79)[arguments]:
Overwrite and disable tests.

Change-Id: Ie5184747e60eeca0502126de05e24cb629bb8a79
2026-01-24 21:22:55 +00:00
Sharlatan Hellseher
3d01755306
gnu: python-pytest-xdist: Skip 2 more tests.
* gnu/packages/check.scm (python-pytest-xdist):
[arguments] <test-flags>: Reworks skipped tests, add 2 more.
[native-inputs]: Remove python-wheel.
[synopsis, description]: Replace py.test with pytest.

Change-Id: Ie454f68dfe2c18819f1ea2e3b41b2d100270ec12
2026-01-24 21:22:55 +00:00
Sharlatan Hellseher
73112ca795
gnu: python-mt940: Enable tests.
* gnu/packages/finance.scm (python-mt940):
[arguments] <test-backend>: Use unittest.
[native-inputs]: Remove python-setuptools-67 and python-wheel-0.40; add
python-setuptools.

Change-Id: I660ed423b08a08cc31c1b652c0f096652b08f3dc
2026-01-24 21:22:55 +00:00
Nicolas Graves
a182b135bd
gnu: python-yewtube: Drop phase 'fix-entry-points.
* gnu/packages/python-xyz.scm (python-yewtube)[arguments]<#:phases>:
Drop phase 'fix-entry-points.

Change-Id: Icf5515198078d3290a459dce335f79af4a8368c9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:55 +00:00
Nicolas Graves
d2ae88f018
gnu: udiskie: Drop phase 'fix-entry-points.
* gnu/packages/freedesktop.scm (udiskie)[arguments]<#:phases>:
Drop phase 'fix-entry-points.

Change-Id: I91fb698e1abcf83be89422034fe9f2d926a94235
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:54 +00:00
Nicolas Graves
70e98e00d4
gnu: python-invoke: Drop phase 'fix-entry-points.
* gnu/packages/python-xyz.scm (python-invoke)[arguments]<#:phases>:
Drop phase 'fix-entry-points.

Change-Id: Ibfeff99cba7fa4badb0dee42dda306c69e998ee6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:54 +00:00
Nicolas Graves
f3392c2353
build-system: pyproject: Improve entry-point parser.
* guix/build/pyproject-build-system.scm (create-entrypoints): Add
procedures parse-entry-points and parse-line.

Change-Id: Ifd208df6a912431f8d996c5dab2b39987dcc3532
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:54 +00:00
Nicolas Graves
102b410a12
build-system: pyproject: Fix entry points handling.
* guix/build/pyproject-build-system.scm (create-entrypoints): Correct
the auto-generated script.

Fixes: guix/guix#4509
Change-Id: I0689e99311ff29f58d93ce9a4cca03941ec74419
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:54 +00:00
Sören Tempel
110dd35a88
gnu: python-numpy: Reduce closure size through custom wrap phase
* gnu/packages/python-xyz.scm (python-numpy)
[arguments] <phases>: Provide custom 'wrap phase.

Change-Id: Iab5bbee198796b61364fc3116a748e0e71b79148
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:54 +00:00
Sören Tempel
618155f79d
gnu: python-numpy-1: Reduce closure size through custom wrap phase
* gnu/packages/python-xyz.scm (python-numpy-1)
[arguments] <phases>: Provide custom 'wrap phase.

Change-Id: I111ad7dfd39ada63b97b43d7eeb1eda0ca508db5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:54 +00:00
Sharlatan Hellseher
5dd8476d3d
gnu: Remove python-djangorestframework.
* gnu/packages/django.scm (python-djangorestframework): Delete variable.

Change-Id: Icb2d0d0ddae994851963977d0d318eccfe8a64d1
2026-01-24 21:22:54 +00:00
Sharlatan Hellseher
f7fe4b36a2
gnu: Remove python-pandas-2.
* gnu/packages/python-science.scm (python-pandas-2): Delete variable.

Change-Id: Ia08c92f284f3bdb5849967376d5cfc38c61c7703
2026-01-24 21:22:53 +00:00
Sharlatan Hellseher
e76f5c8006
gnu: Remove python-hypercorn.
* gnu/packages/python-web.scm (python-hypercorn): Delete variable.

Change-Id: I8718d0984ba3d2f3450cd6d7209a2fd8bf857d34
2026-01-24 21:22:53 +00:00
Sharlatan Hellseher
e85842394d
gnu: Remove python-requests-next.
* gnu/packages/python-web.scm (python-requests-next): Delete variable.

Change-Id: I83a6c57aa27afaeb9116efb33982dce92f5cfa1d
2026-01-24 21:22:53 +00:00
Sharlatan Hellseher
7bbcb9e165
gnu: Remove python-schema-0.5.
* gnu/packages/python-xyz.scm (python-schema-0.5): Delete variable.

Change-Id: If511246ee6ad743591f50d4a2ad7d23f4ae141f5
2026-01-24 21:22:53 +00:00
Sharlatan Hellseher
e654536295
gnu: Remove python-tldr.
* gnu/packages/textutils.scm (python-tldr): Delete variable.

Change-Id: Id535933a89c202b9fe1192b78116781b43dbf8a2
2026-01-24 21:22:53 +00:00
Sharlatan Hellseher
4e87f7a97f
gnu: Remove python-cobib.
* gnu/packages/textutils.scm (python-cobib): Delete variable.

Change-Id: I30cd0930728617827af71baa3dad42f1960b9316
2026-01-24 21:22:53 +00:00
Sharlatan Hellseher
da14485013
gnu: Remove python-pre-commit.
* gnu/packages/version-control.scm (python-pre-commit): Delete variable.

Change-Id: I0f8ced695ba57ffd3260897bb3587bd18f096d00
2026-01-24 21:22:53 +00:00
Sharlatan Hellseher
43b5709cdc
gnu: Remove python-typing-extensions-next.
* gnu/packages/python-build.scm (python-typing-extensions-next): Delete variable.

Change-Id: Ibcd8027c6b45f1951c697df1fc572b990e73cff0
2026-01-24 21:22:53 +00:00
Sharlatan Hellseher
4745456aa8
gnu: Remove python-pbr-next.
* gnu/packages/python-build.scm (python-pbr-next): Delete variable.

Change-Id: I18998f29d6f4346a579e9e9c15b0f19420bb2c0b
2026-01-24 21:22:52 +00:00
Sharlatan Hellseher
1f205ee309
gnu: Remove python-setuptools-next.
* gnu/packages/python-build.scm (python-setuptools-next): Delete variable.

Change-Id: I2de8aa1869e1d7485cc2816c6ab0d67429cce707
2026-01-24 21:22:52 +00:00
Sharlatan Hellseher
c3ce526321
gnu: Remove python-poetry-core-next.
* gnu/packages/python-build.scm (python-poetry-core-next): Delete variable.

Change-Id: Ic4cddb270e1b4c25ca02bb63de5e3f4678bf49de
2026-01-24 21:22:52 +00:00
Sharlatan Hellseher
b25d6784d8
gnu: Remove python-flit-core-next.
* gnu/packages/python-build.scm (python-flit-core-next): Delete variable.

Change-Id: Icb7703b21bc37a4bff6180450d5cfc1617f2dab7
2026-01-24 21:22:52 +00:00
Sharlatan Hellseher
5e0180b606
gnu: python-check-manifest: Update to 0.51.
* gnu/packages/python-xyz.scm (python-check-manifest): Update to 0.51.
[arguments]: Use G-Expressions.
<test-flags>: Rework skipped tests.
[phases]{allow-git-submodule-add}: Remove phase.

Change-Id: Ia81da688d25ccb8f4956cc33e2481f61ecfaeab9
2026-01-24 21:22:52 +00:00
Nicolas Graves
fc5e04f403
gnu: python-setuptools: Bootstrap the package properly.
This commit includes changes submitted in two merge requests:
- https://codeberg.org/guix/guix/pulls/5723
- https://codeberg.org/guix/guix/pulls/5362

Related issue with bootstraping and "guix pull":
- https://codeberg.org/guix/guix/issues/5813

* gnu/packages/python-build.scm (python-setuptools)
[arguments]<#:test-flags>: Ignore failing tests.
<#:phases>: Add phases 'build-bundled-wheel-for-tests, 'cleanup,
'configure-tests, 'drop-platformdirs-requirement,
'cleanup-installed-tests.
[propagated-inputs]: Add python-jaraco-functools, python-jaraco-text,
python-more-itertools, python-packaging, python-wheel.
[native-inputs]: Add python-autocommand, python-backports-tarfile,
python-filelock-bootstrap, python-inflect, python-jaraco-collections,
python-jaraco-context, python-jaraco-envs-bootstrap,
python-jaraco-functools, python-jaraco-path, python-jaraco-test,
python-jaraco-text, python-more-itertools, python-packaging,
python-path, python-platformdirs-bootstrap, python-pip,
python-pypa-build, python-pytest-bootstrap, python-tomli,
python-typing-extensions, python-typeguard, and python-wheel.

Change-Id: I2361b2626e7c0ca54fad7e9eeb0a616b2b66f6d9
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:52 +00:00
Sharlatan Hellseher
1169b7a5bc
gnu: Remove python-pep517.
* gnu/packages/python-xyz.scm (python-pep517, python-pep517-bootstrap):
Delete variables.

Relates-to: guix/guix#5813
Fixes: guix/guix#5726
Change-Id: Ia0c25319dd59f6f484611159580a844fd6e96d30
2026-01-24 21:22:52 +00:00
Nicolas Graves
0f0c095258
gnu: python-pypa-build: Update to 1.3.0.
* gnu/packages/python-build.scm (python-pypa-build): Update to 1.3.0.
[propagated-inputs]: Remove python-packaging-bootstrap,
python-pep517-bootstrap, python-toml.  Add python-colorama,
python-packaging, python-pyproject-hooks, python-tomli.

Change-Id: I9f89f3a08a59610f32a74c2ac39cd291d6f104fc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:51 +00:00
Nicolas Graves
28525c2471
gnu: python-jaraco-test: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-test): Move from here…
* gnu/packages/python-build.scm (python-jaraco-test): …to here.

Change-Id: I0ae77cbdc492c60d48348981b042ad8bd9e1e963
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:51 +00:00
Nicolas Graves
2844b61bcf
gnu: Add python-jaraco-envs-bootstrap.
* gnu/packages/python-build.scm (python-jaraco-envs-bootstrap): New variable.

Change-Id: Ie98d8a3ff626f991acfa73de65f47b4f85667e51
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:51 +00:00
Nicolas Graves
df6de70179
gnu: Add python-virtualenv-bootstrap.
* gnu/packages/python-build.scm (python-virtualenv-bootstrap): New variable.

Change-Id: Iba9fbc24886169df3cb42bb1c254359fd8d3fa17
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:51 +00:00
Nicolas Graves
4f0fce3f75
gnu: Add python-filelock-bootstrap.
* gnu/packages/python-build.scm (python-filelock-bootstrap): New variable.
* gnu/packages/python-xyz.scm (python-filelock): Inherit from python-filelock-bootstrap.

Change-Id: I0a0ff8246bcdccd384fe36119fd1125b53e0f670
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:51 +00:00
Nicolas Graves
8a508b40d9
gnu: python-distlib: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-distlib): Move from here…
* gnu/packages/python-build.scm (python-distlib): …to here.

Change-Id: Ib6611610e6b32a6e3cf0faab35572938c2cb6005
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:51 +00:00
Nicolas Graves
d57c9bb07a
gnu: python-path: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-path): Move from here…
* gnu/packages/python-build.scm (python-path): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap,
python-setuptools-scm by python-setuptools-scm-boostrap,
python-packaging by python-packaging-bootstrap, python-pygments by
python-pygments-bootstrap.

Change-Id: Ief847ef89a3bc76df59b9939b50068d969648717
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:51 +00:00
Nicolas Graves
9fceb37e75
gnu: Add python-platformdirs-bootstrap.
* gnu/packages/python-build.scm (python-platformdirs-bootstrap): New variable.
* gnu/packages/python-xyz.scm (python-platformdirs): Add a comment.

Change-Id: If9c296d498690f8c1fff585a6bb7ce4579434c79
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:51 +00:00
Nicolas Graves
359136e026
gnu: python-jaraco-path: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-path): Move from here…
* gnu/packages/python-build.scm (python-jaraco-path): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap,
python-setuptools-scm by python-setuptools-scm-boostrap.

Change-Id: I1180653d8834d9161be77c3f6b36a3b7a8884f20
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:50 +00:00
Nicolas Graves
60f1a5e703
gnu: python-jaraco-collections: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-collections): Move from here…
* gnu/packages/python-build.scm (python-jaraco-collections): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap,
python-setuptools-scm by python-setuptools-scm-boostrap.  Remove
python-wheel.

Change-Id: I7e612a59917b9700dffd0034bbedde62959a9597
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:50 +00:00
Nicolas Graves
65d20db02c
gnu: python-jaraco-text: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-text): Move from here…
* gnu/packages/python-build.scm (python-jaraco-text): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap,
python-setuptools-scm by python-setuptools-scm-boostrap.

Change-Id: I0597c86f98f6bd98104c6507d8aa9d67295d5234
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:50 +00:00
Nicolas Graves
f92cf092f6
gnu: python-jaraco-functools: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-functools): Move from here…
* gnu/packages/python-build.scm (python-jaraco-functools): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap.  Remove python-wheel.

Change-Id: I0a5fd9e8efce8c905c55b7c379ecfcdcd260234a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:50 +00:00
Nicolas Graves
8f73782592
gnu: python-jaraco-context: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-context): Move from here…
* gnu/packages/python-build.scm (python-jaraco-context): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap.  Remove python-wheel.

Change-Id: Idd1376ae78b19876ea15149b4f51f31684cbd931
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:50 +00:00
Nicolas Graves
fbf25481fb
gnu: python-jaraco-classes: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-jaraco-classes): Move from here…
* gnu/packages/python-build.scm (python-jaraco-classes): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap.

Change-Id: Ib3dce8be7938bc81d8363888662a19e66b94d8f7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:50 +00:00
Nicolas Graves
1c990eb67f
gnu: python-inflect: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-inflect): Move from here…
* gnu/packages/python-build.scm (python-inflect): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap,
python-setuptools-scm by python-setuptools-scm-boostrap.

Change-Id: Id8782ae885b16d2a2870cd5d05b93e93ca9dbc40
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:50 +00:00
Nicolas Graves
2c23b5ed1e
gnu: python-typeguard: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-typeguard): Move from here…
* gnu/packages/python-build.scm (python-typeguard): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap,
python-setuptools by python-setuptools-bootstrap,
python-setuptools-scm by python-setuptools-scm-boostrap.

Change-Id: I14196e595b28741d3c97bcd7436d8276ca9425d1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:49 +00:00
Nicolas Graves
17bbe90d17
gnu: python-typeguard: Lift python-mypy native-input.
* gnu/packages/python-xyz.scm (python-typeguard)
[arguments]<#:test-flags>: Ignore mypy tests.
[native-inputs]: Remove python-mypy.

Change-Id: Iaea7809ace069935473a4aaab712747d4318a8ba
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:49 +00:00
Nicolas Graves
16ede5f235
gnu: python-more-itertools: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-more-itertools): Move from here…
* gnu/packages/python-build.scm (python-more-itertools): …to here.

Change-Id: I5449d1bd0ed4f56a3943020e239cf299ab231617
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:49 +00:00
Nicolas Graves
5c652a971f
gnu: python-backports-tarfile: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-backports-tarfile): Move from here…
* gnu/packages/python-build.scm (python-backports-tarfile): …to here.

Change-Id: I08fad809bc89251a8b23fe3f13801623db0c16b9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:49 +00:00
Nicolas Graves
b9375acc22
gnu: python-pyproject-hooks: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-pyproject-hooks): Move from here…
* gnu/packages/python-build.scm (python-pyproject-hooks): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap.

Change-Id: Iafcf2b6c9e6e4c82f566e994819a39636738ae32
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:49 +00:00
Nicolas Graves
101bde4fb0
gnu: python-colorama: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-colorama): Move from here…
* gnu/packages/python-build.scm (python-colorama): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap.

Change-Id: I3ac5f6611a411458a0aeca0d6d4a2af79ce49e54
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:49 +00:00
Nicolas Graves
2dbf59fefb
gnu: python-testpath: Move to (gnu packages python-build).
* gnu/packages/check.scm (python-testpath): Move from here…
* gnu/packages/python-build.scm (python-testpath): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap.

Change-Id: I3796f3cddc366d86c99fcef72b7b950791e99ef2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:48 +00:00
Nicolas Graves
42bcd19e6a
gnu: python-autocommand: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-autocommand): Move from here…
* gnu/packages/python-build.scm (python-autocommand): …to here.
[native-inputs]: Replace python-setuptools by
python-setuptools-bootstrap.

autocommand: Adapt native-inputs.

Change-Id: I6999788c79a3904a22bebbff352c44a11df977a1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:48 +00:00