1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-26 20:20:32 +02:00
Commit Graph

161914 Commits

Author SHA1 Message Date
Nicolas Graves
8b30c24930 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-02-07 12:28:22 +01:00
Nicolas Graves
9765d15962 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-02-07 12:28:22 +01:00
Nicolas Graves
e53af3c801 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-02-07 12:28:22 +01:00
Nicolas Graves
f8e42bff04 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-02-07 12:28:22 +01:00
Nicolas Graves
dc0fad63c3 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-02-07 12:28:22 +01:00
Nicolas Graves
ec6b1c830c 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-02-07 12:28:22 +01:00
Nicolas Graves
3d169ca446 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-02-07 12:28:22 +01:00
Nicolas Graves
aa8d1bb55e 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-02-07 12:28:22 +01:00
Nicolas Graves
4bd6db2080 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-02-07 12:28:22 +01:00
Nicolas Graves
cc2083a785 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-02-07 12:28:22 +01:00
Nicolas Graves
978e8c588d 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-02-07 12:28:21 +01:00
Nicolas Graves
8dff06ca6d 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-02-07 12:28:21 +01:00
Nicolas Graves
a1ea35e0d8 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-02-07 12:28:21 +01:00
Nicolas Graves
1a00e429c6 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-02-07 12:28:21 +01:00
Nicolas Graves
b638d57656 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-02-07 12:28:21 +01:00
Nicolas Graves
4c4eadd161 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-02-07 12:28:21 +01:00
Nicolas Graves
6e6f1ee7ad 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-02-07 12:28:21 +01:00
Nicolas Graves
11dabadee0 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-02-07 12:28:21 +01:00
Nicolas Graves
212fb89337 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-02-07 12:28:21 +01:00
Nicolas Graves
66e53fb849 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-02-07 12:28:21 +01:00
Nicolas Graves
f36a5d015a 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-02-07 12:28:21 +01:00
Nicolas Graves
7e1cfafc35 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-02-07 12:28:20 +01:00
Nicolas Graves
1545a9183a 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-02-07 12:28:20 +01:00
Sharlatan Hellseher
e12208693b gnu: Remove python-hypothesis-next.
* gnu/packages/check.scm (python-hypothesis-next): Delete variable.

Change-Id: I108aa4004ba92b51f639add0745fec0f421d5a9c
2026-02-07 12:28:20 +01:00
Sharlatan Hellseher
362fbc30b3 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-02-07 12:28:20 +01:00
Sharlatan Hellseher
214e238184 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-02-07 12:28:20 +01:00
Sharlatan Hellseher
ef7ccf01ff gnu: Remove python-pytest-7.
* gnu/packages/check.scm (python-pytest-7): Delete variable.

Change-Id: I061bc31d096f837928e21e950f08e3db592564db
2026-02-07 12:28:20 +01:00
Sharlatan Hellseher
8666b3c6a2 gnu: Remove python-pytest-6.
* gnu/packages/check.scm (python-pytest-6): Delete variable.

Change-Id: Ie38f20a6823cbf0878c645e720b9b5e3c4945157
2026-02-07 12:28:20 +01:00
Sharlatan Hellseher
f75dc166bd 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-02-07 12:28:20 +01:00
Sharlatan Hellseher
8990cfda50 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-02-07 12:28:20 +01:00
Sharlatan Hellseher
a0b5bac6ae gnu: barectf: Use python-pytest-8.
* gnu/packages/instrumentation.scm (barectf)[native-inputs]: Remove
python-pytest; add python-pytest-8.

Change-Id: I94e7a6ecec3c8291ee35acc373ed7a11e3fd8018
2026-02-07 12:28:20 +01:00
Sharlatan Hellseher
47358c73cd 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-02-07 12:28:20 +01:00
Sharlatan Hellseher
5d7532509d 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-02-07 12:28:20 +01:00
Sharlatan Hellseher
3fc042a458 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-02-07 12:28:19 +01:00
Sharlatan Hellseher
20b7e15239 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-02-07 12:28:19 +01:00
Sharlatan Hellseher
93f3a716c3 gnu: python-coverage: Use python-pytest-8.
* gnu/packages/check.scm (python-coverage)[native-inputs]: Remove
python-pytest; add python-pytest-8.

Change-Id: Ifea657387cd6a0d80ece14b82d3280f08be5d2d9
2026-02-07 12:28:19 +01:00
Sharlatan Hellseher
918afd33ee gnu: python-docopt: Use python-pytest-8.
* gnu/packages/python-xyz.scm (python-docopt):[native-inputs]: Remove
python-pytest; add python-pytest-8.

Change-Id: I327218f7a1614aedd7c399824fae85c61e0fbec0
2026-02-07 12:28:19 +01:00
Sharlatan Hellseher
8122978c46 gnu: Add python-pytest-8.
* gnu/packages/check.scm (python-pytest-8): New variable.

Change-Id: I5886e75b56efda89cf924e6ec0f91fba9121903c
2026-02-07 12:28:19 +01:00
Nguyễn Gia Phong
af94c0816f gnu: python-pytest: Update to 9.0.2.
* gnu/packages/check.scm (python-pytest): Update to 9.0.2.
  [native-inputs]: Remove python-wheel.

Change-Id: I10de9b291beabb23fdaa21149a6eaa8165b48c9c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:19 +01:00
Sharlatan Hellseher
e1b0d19b14 gnu: python-hypothesis: Update to 6.150.2.
* gnu/packages/check.scm (python-hypothesis): Update to 6.150.2.
[source]: Switch to git-fetch providing tests.
[arguments] <test-flags>: Skip some problematic tests.
[phases]{chdir-to-source}: New phase.
[propagated-inputs]: Remove python-attrs-bootstrap and
python-exceptiongroup.
[native-inputs]: Remove python-wheel.

Change-Id: I1c247e745f03f9fd00e7c41a1f828074b3b78ccd
2026-02-07 12:28:19 +01:00
Nicolas Graves
17202e5a17 gnu: yelp-tools: Switch to python-lxml-for-texlive.
This allows to decouple the pyproject-build-system for
texlive-bin and consequentially the whole world.

* gnu/packages/gnome.scm (yelp-tools)[native-inputs]: Replace
python-lxml by python-lxml-for-texlive.

Change-Id: I60970703cd667ecebc7269ee84b596f7c345aa40
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:19 +01:00
Nicolas Graves
00ff4d8b32 gnu: mallard-ducktype: Build with a custom build-system.
* gnu/packages/documentation.scm (mallard-ducktype)
[build-system, arguments]: Build using a custom build-system.

Change-Id: I56bc352ab62bf143bbe5d370dd68ff2b2e2bb75e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:19 +01:00
Nicolas Graves
2d6d1d1ca4 gnu: Add python-lxml-for-texlive.
* gnu/packages/xml.scm (python-lxml-for-texlive): New variable.

Change-Id: I736960de9bcf5ccf403678ca626904d65e70cff7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:19 +01:00
Nicolas Graves
f03ffef299 gnu: meson: Use a custom build-system.
This allows us to decouple meson and all its dependents from the
pyproject-build-system, and avoid a lot of rebuilds (rusts, llvm...).

* gnu/packages/build-tools.scm (meson)
[build-system]: Replace pyproject-build-system with a patched
gnu-build-system.
[arguments]<#:phases>: Adapt accordindly.
[native-inputs]: Replace python-setuptools by python-setuptools-bootstrap.

Change-Id: Ieb4b007847d567aad04734a62cfc6c07e2bb2f96
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:19 +01:00
Nicolas Graves
121bcd0699 gnu: Add python-setuptools-bootstrap.
This change is a combined commits, proposed in the following merge
requests:

- https://codeberg.org/guix/guix/pulls/5034
- https://codeberg.org/guix/guix/pulls/5770

As they are related to a new addition they are squashed to prevent bad
git bisects.

* gnu/packages/python-build.scm (python-setuptools-bootstrap): New variable.

Change-Id: I7677ede70a61b9cc39ae6e021fc2f1f1afaa8d25
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:19 +01:00
Nicolas Graves
93b40d330f build-system/pyproject: Remove uneeded use of pyproject-guile-json.
* gnu/packages/bioinformatics.scm (python-bed-reader, python-gseapy)
* gnu/packages/chemistry.scm (gemmi, ringdecomposerlib, rdkit)
* gnu/packages/cinnamon.scm (libxapp)
* gnu/packages/cups.scm (hplip)
* gnu/packages/djvu.scm (ocrodjvu)
* gnu/packages/finance.scm (electron-cash)
* gnu/packages/gnome.scm (terminator)
* gnu/packages/image-processing.scm (insight-toolkit)
* gnu/packages/machine-learning.scm (onnxruntime, tensorflow-lite,
koboldcpp, python-tokenizers)
* gnu/packages/maths.scm (gmsh, z3, fp16)
* gnu/packages/music.scm (quodlibet)
* gnu/packages/photo.scm (lensfun)
* gnu/packages/python-science.scm (python-clarabel)
* gnu/packages/python-xyz.scm (python-orjson, python-libcst,
python-rpds-py, python-streamtracer, python-tiktoken)
* gnu/packages/rpm.scm (createrepo-c)
* gnu/packages/rust-apps.scm (maturin)
* gnu/packages/sugar.scm (sugar, sugar-datastore)
* gnu/packages/version-control.scm (mercurial, hg-commitsigs)
* gnu/packages/vpn.scm (python-proton-vpn-local-agent)
[arguments]<#:phases>: Remove uneeded use of pyproject-guile-json
extension.

* gnu/packages/python-xyz.scm (python-streamtracer)[arguments]
<#:phases>: Also rewrite 'check phase replacement.

Change-Id: I779c354120ada3d94f07a127b9ec5011e73254c2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:18 +01:00
Nicolas Graves
29f2f54fe8 build-system/cargo: Remove uneeded use of cargo-guile-json.
* gnu/packages/antivirus.scm (clamav)
* gnu/packages/freedesktop.scm (waypipe)
* gnu/packages/gnome.scm (librsvg)
* gnu/packages/kde-pim.scm (kdepim-addons)
* gnu/packages/language.scm (libchewing)
* gnu/packages/rust-apps.scm (helvum)
* gnu/packages/shells.scm (fish):
[arguments]<#:phases>: Remove uneeded use of cargo-guile-json
extension.

Change-Id: I041819515585777a3d63945b755d71e607fa0650
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:18 +01:00
Cayetano Santos
605823232d gnu: yosys: Build info documentation.
* gnu/packages/electronics.scm (yosys)[native-inputs]: Add texinfo,
python-sphinxcontrib-bibtex and python-sphinx-inline-tabs.
[arguments]: Add ’build-info #:phase.

Merges guix/guix!6118

Change-Id: I0055e165156c61eaa3c47e7d0da47e84f1016def
2026-02-07 12:27:23 +01:00
Noé Lopez
ec5fb6678f gnu: Add rsgain.
* gnu/packages/audio.scm (rsgain): New variable.

Merges guix/guix!6137

Change-Id: I4c2d5de17c2af2128cd81649899f9fdaf69c1521
Modified-by: Cayetano Santos <csantosb@inventati.org>
2026-02-07 11:46:16 +01:00
Noé Lopez
6a3b5bbd2a gnu: Add crcpp.
* gnu/packages/crypto.scm (crcpp): New variable.

Merges guix/guix!6137

Change-Id: I9d3824b1c8bd1a5fd257751b98c6c4d63094d8b6
Modified-by: Cayetano Santos <csantosb@inventati.org>
2026-02-07 11:46:16 +01:00