Nicolas Graves
a8c7cfbd65
gnu: python-dateutil: Relax native-inputs requirements.
...
* gnu/packages/time.scm (python-dateutil)[arguments]
<#:test-flags>: Improve style.
<#:phases>: Add phase 'relax-pytest-cov-requirement.
[native-inputs]: Remove python-pytest-cov, python-wheel.
Change-Id: Id3c02340bb6ea416159cf00db42c9c506435fb20
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:37 +00:00
Nicolas Graves
5483d44ca5
gnu: meson-python: Remove python-pytest-cov native-input.
...
* gnu/packages/build-tools.scm (meson-python)[native-inputs]: Remove
python-pytest-cov.
Change-Id: I69b6de674951166682195262ed861e5bd971652a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:37 +00:00
Nicolas Graves
f06c3cd985
gnu: python-aiosqlite: Update to 0.21.0.
...
* gnu/packages/databases.scm (python-aiosqlite): Update to 0.21.0.
[source, synopsis]: Run guix style.
[arguments]: Drop <#:phases> in favor of <#:test-backend>.
[native-inputs]: Remove python-coverage, python-mypy.
Change-Id: I2a9a66a1a1386ff44b440c18dac8345bb136e7a2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:36 +00:00
Sharlatan Hellseher
ab40491388
gnu: python-coverage: Rework skipped tests.
...
* gnu/packages/check.scm (python-coverage)[arguments] <test-flags>:
Rework ignored test files and deselected tests where some of them are
not present and some just pass fine. Limit the number of threads up 8 to
improve stability in CI.
<phases>: Remove 'patch-pyproject; add 'fix-pytest-config, and
'pre-check.
Change-Id: I1e7693fc04f1e873b0cd9afec112c1ebd26622e3
2025-11-20 01:06:36 +00:00
Nicolas Graves
f803f4ef37
gnu: python-coverage: Update to 7.11.0.
...
* gnu/packages/check.scm (python-coverage): Update to 7.11.0.
[arguments]<#:test-flags>: Ignore additional failing tests.
Change-Id: I6aa86ed49b9f6d52120d14d5a7ea81222ea3140f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:36 +00:00
Nicolas Graves
f6332d01c4
gnu: libchewing: Extend with (cargo-guile-json).
...
* gnu/packages/language.scm (libchewing)[arguments]
<#:phases>: Extend with (cargo-guile-json).
Change-Id: I01959bd4afcd607cd5ad0af5898a4b6546bb6da6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:36 +00:00
Nicolas Graves
61a80a6717
gnu: libchewing: Improve style.
...
* gnu/packages/language.scm (libchewing)[arguments]: Improve style,
use G-expressions.
Change-Id: I5b77964478b750c796f6c749be341ab6dd477d3b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:36 +00:00
Nicolas Graves
f3286e21a6
gnu: helvum: Extend with (cargo-guile-json).
...
* gnu/packages/rust-apps.scm (helvum)[arguments]
<#:phases>: Extend with (cargo-guile-json).
Change-Id: I4a78422c31ffae176f1365ff47e36b7e010f7358
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:36 +00:00
Nicolas Graves
934ee411fb
gnu: helvum: Improve style.
...
* gnu/packages/rust-apps.scm (helvum)[arguments]: Improve style, use
G-expressions.
Change-Id: I9ad3173bc289ee8df6234c48a564599e66160c27
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:36 +00:00
Nicolas Graves
2f14dc7c09
gnu: clamav: Extend with (cargo-guile-json).
...
* gnu/packages/antivirus.scm (clamav)[arguments]
<#:phases>: Extend with (cargo-guile-json).
Change-Id: I428e8faa3b8b3aefede5035e0eb350784755f40d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:36 +00:00
Nicolas Graves
7cec81ba78
gnu: gnome-authenticator: Extend with (cargo-guile-json).
...
* gnu/packages/gnome.scm (gnome-authenticator)[arguments]
<#:phases>: Extend with (cargo-guile-json).
Change-Id: I80c827a7f967e460bf3c49329bc0ab007b6a1c19
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:36 +00:00
Nicolas Graves
0dc80864a8
gnu: python-pyqt: Fix build with (json) and improve style.
...
* gnu/packages/qt.scm (python-pyqt)[arguments]
<#:configure-flags>: Fix build with (json).
<#:phases>: Improve phase 'substitute-source so that it supports both
python-pyqt.
[inputs]: Improve style.
(python-pyqt6)[arguments]: Remove field.
Change-Id: I0c9d03798912a453ac1d7f9b42e98fcf17553c57
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:35 +00:00
Nicolas Graves
5af362b216
gnu: fish: Extend with (cargo-guile-json).
...
* gnu/packages/shells.scm (fish)[arguments]
<#:phases>: Extend with (cargo-guile-json).
Change-Id: I393ff7ab1df759efbe22ce1b8c9c5dba1661bc5d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:35 +00:00
Nicolas Graves
188f7d0d8a
gnu: librsvg: Extend with (cargo-guile-json).
...
* gnu/packages/gnome.scm (librsvg)[arguments]
<#:phases>: Extend with (cargo-guile-json).
Change-Id: Idd8c2c0681ffdc2a5cf3a73f0b1b606db38994c5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:35 +00:00
Nicolas Graves
ac103f7fff
gnu: python-gseapy: Extend with (pyproject-guile-json).
...
* gnu/packages/bioinformatics.scm (python-gseapy)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I6969e5d71d77d4d95a41fea0a0c2b572a8f1276c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:35 +00:00
Nicolas Graves
0cb15c6f63
gnu: python-bed-reader: Extend with (pyproject-guile-json).
...
* gnu/packages/bioinformatics.scm (python-bed-reader)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: Ie67b640629f33654e6953bf95f81fe4ad2190c9a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:35 +00:00
Nicolas Graves
b3bad9431d
gnu: insight-toolkit: Extend with (pyproject-guile-json).
...
* gnu/packages/image-processing.scm (insight-toolkit)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I49eb6f6b97872e0742b002c354db660bde2fd211
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:35 +00:00
Nicolas Graves
40b0c9bd2b
gnu: python-pyzstd: Migrate to (json).
...
* gnu/packages/python-compression.scm (python-pyzstd)[arguments]
<#:configure-flags>: Migrate syntax to (json).
Change-Id: I4da32b265c2a2f529b357e5bed1ad41e72b5cce7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:35 +00:00
Nicolas Graves
dd84b1ab9a
gnu: python-clarabel: Extend with (pyproject-guile-json).
...
* gnu/packages/python-xyz.scm (python-clarabel)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I258bc867cc4269779ccf886601a00323b8f80083
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:35 +00:00
Nicolas Graves
c99350036c
gnu: maturin: Extend with (pyproject-guile-json).
...
* gnu/packages/rust-apps.scm (maturin)[arguments]: Improve style. Use
G-expressions.
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I524df3f97274b309b6736f58925f0b5f27497151
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:34 +00:00
Nicolas Graves
ef6c524f24
gnu: python-tokenizers: Extend with (pyproject-guile-json).
...
* gnu/packages/machine-learning.scm (python-tokenizers)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: Idae6f4609393ec1a612b7710dc60c6b7bd8c79a6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:34 +00:00
Nicolas Graves
2df248991b
gnu: onnxruntime: Extend with (pyproject-guile-json).
...
* gnu/packages/machine-learning.scm (onnxruntime)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: Ib498a4697642d59784cf699230478ba23fb41ff6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:34 +00:00
Nicolas Graves
ffd53a7746
gnu: python-rpds-py: Extend with (pyproject-guile-json).
...
* gnu/packages/python-xyz.scm (python-rpds-py)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I39ba227211450ae8de98c76af12102f8972c9020
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:34 +00:00
Nicolas Graves
dce4929cff
gnu: python-libcst: Extend with (pyproject-guile-json).
...
* gnu/packages/python-xyz.scm (python-libcst)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I4301b1ce3054497a6d4cf1660987605398070d88
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:34 +00:00
Nicolas Graves
12dd89da97
gnu: python-tiktoken: Extend with (pyproject-guile-json).
...
* gnu/packages/python-xyz.scm (python-tiktoken)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I94c11b8e85c41f8da8158d691114952df823d8de
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:34 +00:00
Nicolas Graves
759c416b4f
gnu: python-pydantic-core: Extend with (pyproject-guile-json).
...
* gnu/packages/python-xyz.scm (python-pydantic-core)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: Ifa061c9408a6f67988c3fcdc24123fd295a85261
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:34 +00:00
Nicolas Graves
32305c0543
gnu: python-orjson: Extend with (pyproject-guile-json).
...
* gnu/packages/python-xyz.scm (python-orjson)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: If76da1021cd035828bf5c365c01ac0f94e96d2c1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:34 +00:00
Nicolas Graves
545f8fadb1
gnu: maturin: Improve style.
...
* gnu/packages/rust-apps.scm (maturin)[arguments]: Improve style.
<#:phases>: Use G-expressions.
Change-Id: Icf2fd08db952c5dbd71a2c8cbb8b153d21aff61c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Nicolas Graves
c71655af94
gnu: lensfun: Extend with (pyproject-guile-json).
...
* gnu/packages/python-xyz.scm (lensfun)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I3303e58cec378a70b0ab42fa8096625460e1b2ca
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Nicolas Graves
096733b920
gnu: python-streamtracer: Extend with (pyproject-guile-json).
...
* gnu/packages/python-xyz.scm (python-steamtracer)[arguments]
<#:phases>: Extend with (pyproject-guile-json).
Change-Id: I968fd19a792bc09635a4bb991e4db8eb789523c9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Nicolas Graves
b2ffcdf224
build-system: cargo: Pass features to manifest-targets.
...
* guix/build/cargo-build-system.scm (manifest-targets): Pass features to
manifest-targets.
Change-Id: Id1a11d75d16389b92124fc49d2102d6aec935f64
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Nicolas Graves
32f9304e0d
build-system: cargo: Migrate to cargo metadata.
...
cargo read-manifest complains about its deprecation. The replacement
is cargo metadata --no-deps --format-version 1, see
https://github.com/rust-lang/cargo/issues/13629#cargo-read-manifest
* guix/build/cargo-build-system.scm (manifest-targets): Refresh using
`cargo metadata`.
(has-executable-target?): Refresh accordingly.
Change-Id: I4cd4881d37523a7ac1f70e68df457ceb9075c1c3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Efraim Flashner
b186b25aea
build-system: cargo: Migrate to (json).
...
Fixes guix/guix#2620 .
* guix/build-system/cargo.scm (%cargo-build-system-modules): Remove
(guix build json).
(cargo-guile-json): New procedure.
(cargo-build, cargo-cross-build): Add guile-json extension.
* guix/build/cargo-build-system.scm (manifest-targets): Adjust to using
(json).
Change-Id: I832a5555e63520241d3a4c4ccd2dcf860573dbab
Change-Id: I545f72b00f17e88ad19fe33870785367cac63ac4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Nicolas Graves
108ff867c1
build-system: pyproject: Migrate to (json).
...
Since (json) is imported in Guix, we remove gradually the old (guix
build json) module.
* guix/build-system/pyproject.scm (%pyproject-build-system-modules):
Remove (guix build json).
(pyproject-guile-json): New procedure.
(pyproject-build): Add guile-json extension, fix configure-flags
argument.
* guix/build/pyproject-build-system.scm (build): Refresh procedure
replacing (guix build json) procedures with (json) ones.
Change-Id: I3aede51f971b27104340816b60cf53174a9bd332
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Nicolas Graves
dec3b249cd
build-system: pyproject: Handle multiprocessing in the entry point.
...
Fixes guix/guix#1089 .
According to the multiprocessing documentation, the entry point should
be protected by using `if __name__ == '__main__':`, see
https://docs.python.org/3/library/multiprocessing.html#multiprocessing-programming
Note that this is not the standard implementation highlighted in
https://packaging.python.org/en/latest/specifications/entry-points/#use-for-scripts
but it will fix scripts using the standard lib multiprocessing and it
should not harm any other script.
guix/build/pyproject-build-system (create-entrypoints)
[create-script]: Wrap execution line with `if __name__ == '__main__':`
Change-Id: I450eb380cc4f613468395afd4b4eb52673d2ab1a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Nicolas Graves
27ba3604d4
build-system: pyproject: Add -sP flags for entry-point wrapper.
...
Fixes guix/guix#1118 .
-P: prevents adding current working directory or script's directory to
the search path for modules.
-s: Prevent USER site-packages
directory (~/.local/lib/pythonX.Y[t]/site-packages) from being
included in the search path for modules.
* guix/build/pyproject-build-system (create-entrypoints)
[create-script]: Add -sP flags, improve pythonic style.
Change-Id: Iabc7bb59bf08be1e0c662a069a30ae17a53c7fd5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:33 +00:00
Nicolas Graves
62ea5f5852
build-system: pyproject: Normalize entry point import.
...
The standard is using from instead of import and it indeed allows to
avoid some side-effects in some cases, see
https://packaging.python.org/en/latest/specifications/entry-points/#use-for-scripts
* guix/build/pyproject-build-system (create-entrypoints)
[create-script]: Add -sP flags, improve pythonic style.
* gnu/packages/video.scm (python-yewtube)[arguments]<#:phases>: Remove
phase 'patch-script.
Change-Id: I995454c774666ed474b2418c18ec36c4f53bf015
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:32 +00:00
Lars-Dominik Braun
d111a6a60d
guix: toml: Fix keys with embedded escape codes.
...
Quoted keys are treated by the specification like ordinary strings,
so escape codes must be handled as well.
* guix/build/toml.scm (eval-value): Move string escape handling…
(eval-value): …here.
(eval-toml-file): Un-escape quoted keys.
* tests/toml.scm ("parse-toml: Quoted keys with escapes"): New testcase.
Fixes : guix/guix#2414
Change-Id: I612e415cc93207bbdd18b6ec8279255fee16670a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-11-20 01:06:32 +00:00
Julien Lepiller
82918e4642
gnu: hashlink: Update to 1.15.
...
* gnu/packages/haxe.scm (hashlink): Update to 1.15.
Change-Id: Ibe3f3df78404cd8f301527c933af577c90ccef65
2025-11-19 20:14:51 +01:00
Julien Lepiller
c836e99311
gnu: Add vhacd.
...
* gnu/packages/graphics.scm (vhacd): New variable.
Change-Id: If26793a7ff9fcb77174494f01d884432599e395a
2025-11-19 20:14:39 +01:00
Julien Lepiller
6ad790907e
gnu: Add meshoptimizer.
...
* gnu/packages/graphics.scm (meshoptimizer): New variable.
Change-Id: I92f1a0bcc3ce61cf5318ac6cd02d49af5378beaa
2025-11-19 20:14:22 +01:00
Efraim Flashner
cd2e01d384
gnu: qdmr: Build with librsvg-for-system.
...
* gnu/packages/radio.scm (qdmr)[native-inputs]: Remove librsvg; add
librsvg-for-system.
Change-Id: Ic7346f50025e4bdc9a6bcae2882d801b0e6f57f5
2025-11-19 18:31:48 +02:00
Christopher Baines
be679e69e3
gnu: nar-herder: Update to 0-50.8a99247.
...
* gnu/packages/package-management.scm (nar-herder): Update to 0-50.8a99247.
Change-Id: I4b69c2f7b75fd61fb77e7f755165fd22af8b5d6b
2025-11-19 16:11:23 +00:00
Christopher Baines
796ccdd603
gnu: guix-build-coordinator: Update to 0-133.e0f6a8c.
...
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-133.e0f6a8c.
Change-Id: Iac2afb2a7c5495c82409a768321d7604c9fef95c
2025-11-19 16:10:38 +00:00
Christopher Baines
b29cee2679
gnu: guile-knots: Update to 0-25.95200ec.
...
* gnu/packages/guile-xyz.scm (guile-knots): Update to 0-25.95200ec.
Change-Id: I4d6867a91257d8a712d6f92db457d1225dead7d3
2025-11-19 16:09:52 +00:00
Christopher Baines
99fcefd03d
gnu: guile-prometheus: Update to 0-8.49be2bc.
...
* gnu/packages/guile-xyz.scm (guile-prometheus): Update to 0-8.49be2bc.
Change-Id: I1a69191336e8bbe1075c520eae8f5b07829bad02
2025-11-19 16:08:26 +00:00
Guillaume Le Vaillant
412681a6bd
gnu: ledger: Update to 3.4.1.
...
* gnu/packages/finance.scm (ledger): Update to 3.4.1.
Change-Id: I5bb0a6511923ca5266686f1c4365c1d738c79999
2025-11-19 13:49:01 +01:00
Guillaume Le Vaillant
51454cd0c7
gnu: monero-gui: Update to 0.18.4.4.
...
* gnu/packages/finance.scm (monero-gui): Update to 0.18.4.4.
Change-Id: I1178c67ec31c36bb1a302475a8fb19f36b3f9e30
2025-11-19 13:49:01 +01:00
Guillaume Le Vaillant
05ed7afe23
gnu: p2pool: Update to 4.12.
...
* gnu/packages/finance.scm (p2pool): Update to 4.12.
Change-Id: Id70e52281955141b4ca8675a752a081006735266
2025-11-19 13:49:01 +01:00
Guillaume Le Vaillant
4131ea231a
gnu: monero: Update to 0.18.4.4.
...
* gnu/packages/finance.scm (monero): Update to 0.18.4.4.
Change-Id: Ia0fd4404cccd4e8a44a81f0ff52a6540a912ed78
2025-11-19 13:49:01 +01:00