Commit graph

179078 commits

Author SHA1 Message Date
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
Nicolas Graves
1bba8142fb
gnu: python-packaging: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-packaging): Move from here ...
* gnu/packages/python-build.scm (python-packaging): ... to here.
Overwrite original python-packaging-bootstrap and swap inheritance.

Change-Id: If244d390b7ec3e526dccba28023f6f5350346f01
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:48 +00:00
Nicolas Graves
5458e2a0d1
gnu: python-pretend: Move to python-build and adapt native-inputs.
* gnu/packages/python-xyz.scm (python-pretend): Move from here…
* gnu/packages/python-build.scm (python-pretend): …to here.
[native-inputs]: Remove python-pytest,
and python-setuptools; add python-packaging-bootstrap,
python-pytest-bootstrap, and python-setuptools-bootstrap.

Related-to: guix/guix#5813
Change-Id: I75a27534d71f456fdb76841f1d3597a81976c7e6
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:48 +00:00
Nicolas Graves
812b0c3c34
gnu: python-six: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-six, python-six-bootstrap): Move from here…
* gnu/packages/python-build.scm (python-six, python-six-bootstrap): …to here.
* gnu/packages/linphone.scm: Adapt imported modules.
* gnu/packages/mate.scm: Adapt imported modules.

Change-Id: Iea0b78aa4adfdd68d863f674fd37997ad4c99485
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:48 +00:00
Nicolas Graves
de71fdcff9
gnu: python-pygments: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-pygments, python-pygments-boostrap): Move from here…
* gnu/packages/python-build.scm (python-pygments, python-pygments-boostrap): …to here.
* gnu/packages/books.scm: Adapt modules.
* gnu/packages/lisp-xyz.scm: Adapt modules.
* gnu/packages/ruby-xyz.scm: Adapt modules.

Change-Id: Id73c1d536c48c490bb7444f87cc6b89d6a79cb38
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:48 +00:00
Nicolas Graves
7e921f69c2
gnu: python-pytest-bootstrap: Move to (gnu packages python-build).
* gnu/packages/check.scm (python-pytest-bootstrap): Move from here…
* gnu/packages/python-build.scm (python-pytest-bootstrap): …to here.
Redefine it to avoid inheritance.

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

Change-Id: I30049d78d5e59302da0d95c674eb2d03637ecfd8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:47 +00:00
Nicolas Graves
9920187597
gnu: python-iniconfig: Move to python-build and adapt native-inputs.
* gnu/packages/python-xyz.scm (python-iniconfig): Move from here…
* gnu/packages/python-build.scm (python-iniconfig): …to here.
[native-inputs]: Remove python-hatch-vcs, and python-hatchling; add
python-hatch-vcs-bootstrap, and python-hatchling-bootstrap.

Change-Id: I4691d19787fdfbc1293b475c43595d273aa40a4e
Modified-by-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:47 +00:00
Nicolas Graves
427c837582
gnu: Add python-hatch-vcs-bootstrap.
* gnu/packages/python-build.scm (python-hatch-vcs-bootstrap): New variable.

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

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

Change-Id: Ie7a7d7817cc51f8b88d43f2ec8ae14c343608279
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:47 +00:00
Nicolas Graves
c510fd4adf
build-system/pyproject: Improve style.
* guix/build/pyproject-build-system.scm (ensure-no-cythonized-files):
Remove extra spaces in Python snippet.

Change-Id: I1453e8707093e640e588d7221a8e71abf846c89f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:47 +00:00
Nicolas Graves
4b138b04dd
gnu: python-pyfavicon: Correct package.
* gnu/packages/python-xyz.scm (python-pyfavicon)
[arguments]<#:test-backend>: Remove it.
[native-inputs]: Add python-pytest.

Change-Id: I0ca4da01598fffe2c2dbfdcd45c4f2ff2677aaa2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:47 +00:00
Nicolas Graves
f999fae244
gnu: python-pyro4: Correct package.
* gnu/packages/python-xyz.scm (python-pyro4)
[native-inputs]: Reintroduce python-pytest.
[arguments]<#:test-flags>: Correct them.
<#:phases>: Remove them.

Change-Id: Icdc6b1e39a829d979b27037fda7dce632b64da4d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:46 +00:00
Nicolas Graves
60634f39b8
gnu: python-pyzbar: Modernize package.
* gnu/packages/aidc.scm (python-pyzbar)
[native-inputs]: Add python-pytest.
[arguments]<#:test-flags>: Adapt accordingly.
<#:phases>: Drop phase 'remove-failing-test. Refresh phase
'set-library-file-name.

Change-Id: I247cfd60a4c36d42918befe1ce4231cd8eb24180
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:46 +00:00
Nicolas Graves
dc5591cf22
gnu: python-aiosqlite: Correct package.
* gnu/packages/databases.scm (python-aiosqlite)
[native-inputs]: Add python-packaging due to sanity-check change.
[propagated-inputs]: Add forgotten python-typing-extensions.

Change-Id: Ib9422597a7758d017d4c1f193551db96791e9e5f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:46 +00:00
Nicolas Graves
99faaf5492
gnu: python-envs: Propagate python-click.
The new sanity-check found that we forgot to do that.

* gnu/packages/python-xyz.scm (python-envs)[propagated-inputs]: Add
python-click.

Change-Id: I1106a370ca4a15435d2315fcea246b398db666b2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:46 +00:00
Nicolas Graves
b6f7c7238b
gnu: python-monthdelta: Disable tests.
* gnu/packages/python-xyz.scm (python-monthdelta)[arguments]
<#:tests?>: Disable them, as there are none to run.

Change-Id: Ifd25d27cdbdd7b901d92c509f984a50342d0bdb6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:46 +00:00
Nicolas Graves
2be7de055c
gnu: python-axolotl-curve25519: Disable tests.
* gnu/packages/python-crypto.scm (python-axolotl-curve25519)
[arguments]<#:tests?>: Disable them, drop <#:test-backend>.

Change-Id: I789d70a34ccfc347d9b7c7e911eb18e0e71397f1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-24 21:22:46 +00:00
Sharlatan Hellseher
39dfe79178
gnu: Remove python-hypothesis-next.
* gnu/packages/check.scm (python-hypothesis-next): Delete variable.

Change-Id: I108aa4004ba92b51f639add0745fec0f421d5a9c
2026-01-24 21:22:46 +00:00
Sharlatan Hellseher
d01b074c71
gnu: python-iso8601/pinned: Switch to pyproject.
* gnu/packages/time.scm (python-iso8601/pinned): Inherit [build-system]
and [arguments] fields from python-iso8601.
[arguments]: Use default 'check.

Change-Id: I0516abc57cdd28946e0f6391f401a5509b43f255
2026-01-24 21:22:45 +00:00
Sharlatan Hellseher
d27af46291
gnu: python-fonttools-minimal: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-fonttools-minimal):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: Ic89cc5a8162d7fd961a64a2ace6d184e72d27b4b
2026-01-24 21:22:45 +00:00
Sharlatan Hellseher
d431a04a41
gnu: Remove python-pytest-7.
* gnu/packages/check.scm (python-pytest-7): Delete variable.

Change-Id: I061bc31d096f837928e21e950f08e3db592564db
2026-01-24 21:22:45 +00:00
Sharlatan Hellseher
283a8feeb0
gnu: Remove python-pytest-6.
* gnu/packages/check.scm (python-pytest-6): Delete variable.

Change-Id: Ie38f20a6823cbf0878c645e720b9b5e3c4945157
2026-01-24 21:22:45 +00:00
Sharlatan Hellseher
739a189a14
gnu: python-seaborn: Use python-pytest-8.
* gnu/packages/python-xyz.scm (python-seaborn)[native-inputs]: Remove
python-pytest; add python-pytest-8.

Change-Id: I31a95b37cad06b918a92bb0e73d6684507da1df2
2026-01-24 21:22:45 +00:00
Sharlatan Hellseher
e7c8bc07df
gnu: python-readchar: Use python-pytest-8.
* gnu/packages/machine-learning.scm (python-readchar)[native-inputs]:
Remove python-pytest; add python-pytest-8.

Change-Id: I4a879d7d6e591e3c3e0971c93b257cf763a07f41
2026-01-24 21:22:45 +00:00
Sharlatan Hellseher
e149072756
gnu: barectf: Use python-pytest-8.
* gnu/packages/instrumentation.scm (barectf)[native-inputs]: Remove
python-pytest; add python-pytest-8.

Change-Id: I94e7a6ecec3c8291ee35acc373ed7a11e3fd8018
2026-01-24 21:22:45 +00:00
Sharlatan Hellseher
e1ad63af83
gnu: python-pytest-httpx: Use python-pytest-8.
* gnu/packages/python-check.scm (python-pytest-httpx)[native-inputs]:
Remove python-pytest; add python-pytest-8.

Change-Id: Ic8b7bf22a84b7ecb8c37996405f6d7b996cf3ce5
2026-01-24 21:22:45 +00:00
Sharlatan Hellseher
420dec4cbf
gnu: python-azure-core: Use python-pytest-8
* gnu/packages/python-web.scm (python-azure-core)[native-inputs]:
Remove python-pytest; add python-pytest-8.

Change-Id: I82a393735461681b3fa9112b582e87eb46700635
2026-01-24 21:22:44 +00:00
Sharlatan Hellseher
eac1b63d5b
gnu: python-boltons: Use python-pytest-8.
* gnu/packages/python-xyz.scm (python-boltons)[native-inputs]: Remove
python-pytest; add python-pytest-8.

Change-Id: I50073f38a2a29f55708b152e895d01a662a844bc
2026-01-24 21:22:44 +00:00
Sharlatan Hellseher
a61bd3cf79
gnu: python-black: Use python-pytest-8.
* gnu/packages/python-xyz.scm (python-black)[native-inputs]: Remove
python-pytest; add python-pytest-8.

Change-Id: I38f746beea5f3512812f01afb07ccab099c56cf5
2026-01-24 21:22:44 +00:00