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

184278 Commits

Author SHA1 Message Date
Sharlatan Hellseher
0ab495f52f gnu: python-nbclassic: Update to 1.3.3.
* gnu/packages/jupyter.scm (python-nbclassic): Update to 1.3.3.
[propagated-inputs]: Remove python-argon2-cffi, python-jinja2,
python-jupyter-client, python-jupyter-core, python-jupyter-server,
python-nbconvert, python-nbformat, python-prometheus-client,
python-pyzmq, python-send2trash, python-terminado, python-tornado, and
python-traitlets.
[native-inputs]: Remove python-jupyter-packaging, python-pytest-cov,
python-pytest-tornasync, python-requests, python-requests-unixsocket2,
and python-testpath; add python-hatchling, python-babel, and
python-hatch-jupyter-builder.

Change-Id: I1c9691ffe980025771a219dc29faf38f0af5fd87
2026-03-20 20:08:43 +00:00
Hugo Buddelmeijer
314107d782 gnu: python-bleach: Fix requirements.
Followup to 259643c993.

The sanity-check of python-nbclassic fails without this patch.

* gnu/packages/python-web.scm (python-bleach): Fix requirements.
[arguments]<#:phases> Add 'relax-requirements phase.

Merges: https://codeberg.org/guix/guix/pulls/7360
Change-Id: I52da267e6d237479ae5a0c0f125c2624ffafe8fb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 19:55:42 +00:00
Andreas Enge
0c8e1042f6 gnu: v4l-utils-minimal: Remove unreferenced inputs.
* gnu/packages/video.scm (v4l-utils-minimal)[inputs]: Remove glu
and libx11.

Change-Id: Iff78fc634616097a45ae9b345f4a04da22c75273
2026-03-20 20:28:10 +01:00
Andreas Enge
2ec6f39d3a gnu: v4l-utils: Update to 1.24.1.
* gnu/packages/video.scm (v4l-utils): Update to 1.24.1.

Change-Id: I14679d3ec850dee3679fef6655888283b7df2230
2026-03-20 20:28:07 +01:00
Andreas Enge
fc6bd9e7db gnu: v4l-utils: Drop gui output.
With the current version the complete package takes less than 6MB.

* gnu/packages/video.scm (v4l-utils)[outputs]: Remove field.
[arguments]<#:phases>{split}: Remove phase.
(v4l-utils-minimal)[outputs, arguments]: Remove fields.

Change-Id: I3727e66929a055d83681a0bef1ad31865f7d2b07
2026-03-20 20:27:42 +01:00
Sharlatan Hellseher
e05f37092f * gnu: python-xyz: Add accent on alphabetical order in the footer.
The python-xyz module provides more than 1200 packages which becomes
problematic to sync during rebase. Alphabetical order of packages
improves this situation, it prevents duplicity of packages and quicker
spot of similar changes in branches made separately.

This change to the footer note insists on alphabetical order only,
without similar functionality with import example which places new
package in correct position starting from the top of the file.

   guix import --insert=gnu/packages/python-xyz.scm pypi <package-name>

Change-Id: Ief1ec88d4d31c27c5eeacf72cbc2db20834aaad6
2026-03-20 15:07:31 +00:00
Sharlatan Hellseher
bb3a96d42f gnu: packages/python-xyz.scm: Sort python-[uy].
* gnu/packages/python-xyz.scm: (python-unicodedata2, and python-yamlcore):
Sort variables alphabetically.

Change-Id: I9b31094889923a9bebb3303a862feefc8c7d79a1
2026-03-20 15:01:51 +00:00
Sharlatan Hellseher
7a1e5d15b4 gnu: python-aiounittest: Move to python-check.
* gnu/packages/check.scm (python-aiounittest): Move from here ...
* gnu/packages/python-check.scm: ... to here.

Change-Id: I173f7269330d732456ec993373e707eab036d354
2026-03-20 15:01:51 +00:00
Nicolas Graves
99d7b5f90a gnu: python-scm-sr-ht: Update to 0.22.30.
* gnu/packages/sourcehut.scm (python-scm-sr-ht): Update to 0.22.30.
[native-inputs]: Remove python-wheel.

Change-Id: I624125389365318d386cce8f2b2108fb8cee0a08
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:51 +00:00
Nicolas Graves
41d93bfeea gnu: python-core-sr-ht: Update to 0.83.0.
* gnu/packages/sourcehut.scm (python-core-sr-ht): Update to 0.83.0.
[native-inputs]: Remove python-wheel.

Change-Id: I43e156706eb965a13d77d37b97925d2cc06fb978
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:51 +00:00
Nicolas Graves
67def57798 gnu: python-cachecontrol: Enable tests.
* gnu/packages/python-web.scm (python-cachecontrol)
[arguments]: Drop them.
[native-inputs]: Add python-cherrypy, python-pytest.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:51 +00:00
Nicolas Graves
8a060acaa0 gnu: python-texttable: Update to 1.7.0.
* gnu/packages/python-xyz.scm (python-texttable): Update to 1.7.0.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:51 +00:00
Nicolas Graves
697471d209 gnu: python-graphql-core: Update to 3.2.7.
* gnu/packages/python-xyz.scm (python-graphql-core): Update to 3.2.7.
[source]: Switch to git-fetch.
[arguments]: Drop them.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:51 +00:00
Nicolas Graves
fc6837626e gnu: python-alembic: Update to 1.18.1.
* gnu/packages/databases.scm (python-alembic): Update to 1.18.1.
[arguments]<#:test-flags>: Drop timezone tests.
[native-inputs]: Add python-black, python-tzdata.  Remove
python-wheel.
[propagated-inputs]: Remove python-dateutil, python-editor.  Add
python-tomli.
[home-page]: Update it.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:50 +00:00
Nicolas Graves
3a998123f6 gnu: python-sqlalchemy-2: Update to 2.0.45.
* gnu/packages/databases.scm (python-sqlalchemy-2): Update to 2.0.45.
[native-inputs]: Remove python-wheel.

Change-Id: I8fc4ce58a663c3f30fe6c42445ee84252fa4b91d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:50 +00:00
Nicolas Graves
d6a7a64e54 gnu: python-sqlalchemy: Update to 1.4.54.
* gnu/packages/databases.scm (python-sqlalchemy): Update to 1.4.54.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:50 +00:00
Nicolas Graves
bb87f0af63 gnu: python-flask-sqlalchemy: Ignore warnings.
* gnu/packages/python-web.scm (python-flask-sqlalchemy)[arguments]
<#:test-flags>: Ignore deprecation warnings.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:50 +00:00
Nicolas Graves
c0d7989466 gnu: python-graphql-relay: Update to 3.1.5-0.611c033.
* gnu/packages/python-xyz.scm (python-graphql-relay): Update to 3.1.5-0.611c033.
[native-inputs]: Add python-pytest-describe.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:50 +00:00
Nicolas Graves
64d67c2dfa gnu: Add python-pytest-describe.
* gnu/packages/python-check.scm (python-pytest-describe): New variable.

Change-Id: I8b0e239bddfe2a13e6b1b04063e5529b07c1cb45
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:50 +00:00
Nicolas Graves
d33edea8ed gnu: python-aioftp: Update to 0.27.2.
* gnu/packages/python-web.scm (python-aioftp): Update to 0.27.2.
[native-inputs]: Add python-pytest-mock, python-siosocks. Remove
python-wheel.
[propagated-inputs]: Add python-typing-extension.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 15:01:50 +00:00
Cayetano Santos
0b2a7f9945 gnu: python-gguf: Update to 0.18.0.
* gnu/packages/machine-learning.scm (python-gguf): Update to 0.18.0.

Change-Id: I16863aa891ce4e913837fedd26facbf3e5acdc8d
2026-03-20 15:58:29 +01:00
Cayetano Santos
9cf65c5aa5 gnu: libsvm: Update to 337.
* gnu/packages/machine-learning.scm (libsvm): Update to 337.
[source]: Add ’file-name.
* gnu/packages/machine-learning.scm (python-libsvm)[native-inputs]:
Remove python-wheel.

Change-Id: Ifdeba2ca533980a3a6a23a2f888d755cde222bf1
2026-03-20 15:52:04 +01:00
Nicolas Graves
46a2e338f0 gnu: python-dunamai: Update to 1.26.0.
* gnu/packages/python-xyz.scm (python-dunamai): Update to 1.26.0.

Change-Id: I25969f97be2ba9d49bb207f0bcebb92ecb323ea6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:40 +00:00
Nicolas Graves
57e76d1e40 gnu: jellyfish: Fix build on python-3.12.
* gnu/packages/bioinformatics.scm (jellyfish)[native-inputs]: Add
python-setuptools.

Change-Id: I742e32681380277151a0d4b4986d81cc6112c380
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:39 +00:00
Nicolas Graves
e542ec7211 gnu: cpuinfo: Update to 0.0-8.84818a4.
* gnu/packages/parallel.scm (cpuinfo): Update to 0.0-8.84818a4.
[native-inputs]: Add python-setuptools to provide the Python distutils
module at runtime.

Change-Id: I0165dd719426bd0c1b9ac770f627d95f245e3746
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:39 +00:00
Nicolas Graves
23c5d19ef8 gnu: python-dcor: Use option override.
* gnu/packages/statistics.scm (python-dcor)[arguments]
<#:phases>: Drop them.
<#:test-flags>: Use option override.

Change-Id: Ie5598a081e892074c4b5a794fa1ea3b184686057
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:39 +00:00
Nicolas Graves
088b9f39ca gnu: python-louvain: Update to 0.16-0.def9179.
* gnu/packages/graph.scm (python-louvain): Update to 0.16-0.def9179.

Change-Id: Ida1d339a2ba92cbff41f0c20e8927bd5c13c0b9f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:38 +00:00
Nicolas Graves
bf70f5d0af gnu: patchage: Add missing fmt input, fix build.
* gnu/packages/audio.scm (patchage)[inputs]: Add fmt.

Change-Id: Ifb037d35acc07da9740b09c70a0db34e0c32cfe0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:38 +00:00
Nicolas Graves
231e788ab2 gnu: python-pysat: Improve python-pytest-cov removal.
* gnu/packages/astronomy.scm (python-pysat)[arguments]
<#:test-flags>: Add addopts option override.
<#:phases>: Drop patch in phase 'pre-check.

Change-Id: I5090524fb3dbd47797620516d080900afdb1bf4a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:38 +00:00
Nicolas Graves
5faf1036e5 gnu: python-passlib: Switch to hg-fetch.
* gnu/packages/python-crypto.scm (python-passlib)
[source]: Switch to hg-fetch.
[home-page]: Refresh it.

Change-Id: I15dddec374e72e404bc5c9922ccbe6111a853c22
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:38 +00:00
Nicolas Graves
8247e0408d gnu: fontforge: Add python-setuptools native-input.
* gnu/packages/fontutils.scm (fontforge)[native-inputs]: Add
python-setuptools, necessary as the distutils module has been removed
from python itself.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:38 +00:00
Nicolas Graves
9e144f00bf gnu: python-schema-salad: Update to 8.9.20251102115403.
* gnu/packages/bioinformatics.scm (python-schema-salad): Update to 8.9.20251102115403.
[arguments]<#:test-flags>: Update them.
<#:phases>: Drop phase 'skip-failing-tests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:37 +00:00
Nicolas Graves
e9b94ef3d2 gnu: Add python-nrepl.
* gnu/packages/python-xyz.scm (python-nrepl): New variable.

Merges: https://codeberg.org/guix/guix/pulls/7208
Change-Id: Ia82ea5542a95c912ef582f3adacb6249c376e549
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:37 +00:00
Evgeny Pisemsky
60919f0bfe gnu: Add python-django-mailer.
* gnu/packages/django.scm (python-django-mailer): New variable.

Merges: https://codeberg.org/guix/guix/pulls/7293
Change-Id: I4469d785136097f7f773de6aa3744004c7d6811f
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-03-20 14:11:37 +00:00
Sharlatan Hellseher
3e8ec45750 guix: lint: Add more native-inputs checks.
* guix/lint.scm (%go-native-inputs, %python-native-inputs): New variables.
(check-inputs-should-be-native): Remove python-cython, python-docutils,
python-mock, python-pynose, python-pbr, python-pytest,
python-setuptools-scm, and python-sphinx; append %go-native-inputs,
%python-native-inputs.

Merges: https://codeberg.org/guix/guix/pulls/7278
Change-Id: I905f4ac656d8fbe25fb77792e23efc581f83dc27
Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
2026-03-20 14:11:37 +00:00
Sharlatan Hellseher
adad5ef281 gnu: python-bleach: Move to python-web.
* gnu/packages/python-xyz.scm (python-bleach): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: Idf243f18f1cf72ae8915804e2261a36ca925a0af
2026-03-20 14:11:36 +00:00
Sharlatan Hellseher
5f7071e1a5 gnu: python-bleach: Update to 6.3.0.
* gnu/packages/python-xyz.scm (python-bleach): Update to 6.3.0.
[source]: Switch to git-fetch.
[arguments]: <test-flags>: Skip one test.
[propagated-inputs]: Add python-tinycss2.

Change-Id: I1cae5586977a66fff2ee11331aab7c13751f65d7
2026-03-20 14:11:28 +00:00
Cayetano Santos
55ac8abfc8 gnu: denemo: Update to 2.6.49.
* gnu/packages/music.scm (denemo): Update to 2.6.49.
[inputs]: Remove guile-3.0; add guile-3.0-latest.
[arguments]: Update ’check #:phase.

Fixes guix/guix#7343

Change-Id: I69d61bf07847283b3f61668a3af63a949d10fb65
2026-03-20 14:52:23 +01:00
Cayetano Santos
6f452bfdc7 gnu: fbgemm: Fix hash.
* gnu/packages/machine-learning.scm (fbgemm)[source]: Update sha256.

Fixes guix/guix#7345

Change-Id: I5d5c49fe85f3932f13aba85dbac0729f9802f6a2
2026-03-20 14:35:20 +01:00
Cayetano Santos
bb80506570 gnu: llama-cpp: Update to 0.0.0-b8445.
This update fixes an issue with the server not rendering the webui, see: https://github.com/ggml-org/llama.cpp/pull/20724

* gnu/packages/machine-learning.scm (llama-cpp): Update to 0.0.0-b8445.

Change-Id: Ib90076dfa8af6983587bf8408a465c34b4872873
2026-03-20 14:00:33 +01:00
Ludovic Courtès
6b1a15189e news: Add entry for record field inherited values.
* etc/news.scm: Add entry.

Change-Id: Id4d40ee995f03a8fe785782513f9451c8bd71389
Merges: #6955
2026-03-20 13:28:19 +01:00
Ludovic Courtès
72e724cef4 services, tests: Refer to inherited field values where applicable.
* gnu/machine/hetzner.scm (operating-system-authorize): Refer to ‘services’
instead of calling ‘operating-system-user-services’.
* gnu/services/virtualization.scm (secret-service-operating-system): Likewise.
* gnu/tests.scm (operating-system-with-console-syslog): Likewise.
* gnu/tests/avahi.scm (%avahi-os): Likewise.
* gnu/tests/base.scm (%test-guix-daemon-unprivileged): Likewise.
* gnu/tests/nfs.scm (%nfs-os): Likewise.
(run-nfs-full-test): Likewise.
* gnu/system/vm.scm (virtualized-operating-system): Refer to ‘initrd-modules’
instead of calling ‘operating-system-initrd-modules’.

Change-Id: I00c5f5c1e171b174bf0ca709b2dbd13a2fe161b5
2026-03-20 13:27:16 +01:00
Ludovic Courtès
1ae20f03f4 gnu: Reference the inherited inputs values.
This commit was made by running this command:

  sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm

… and then reverting individual hunks where the change would trigger unbound
variable warnings or other issues (such as ‘native-inputs’ is bound in the
body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined
just above).

Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
2026-03-20 13:27:16 +01:00
Ludovic Courtès
4ba653e637 gnu: python-astropy-minimal: Explicitly depend on ‘specification-astropy-data’.
* gnu/packages/astronomy.scm (python-astropy-minimal)[native-inputs]: Add
‘specification-astropy-data’, referred to via ‘this-package-input’ in the
inherited phases.

Change-Id: I8d287176f9807061dc6dde453dacc9a15f209746
2026-03-20 13:27:16 +01:00
Ludovic Courtès
884f79335f build-system/gnu: Use field identifiers to refer to inherited values.
* guix/build-system/gnu.scm (package-with-explicit-inputs/deprecated): In
the field value bodies of inherited packages, use the field name to refer to
the inherited value.
(package-with-explicit-inputs*)[add-explicit-inputs]: Likewise.
(package-with-extra-configure-variable): Likewise.
(static-package): Likewise.
(dist-package): Likewise.
(package-with-restricted-references): Likewise.

Change-Id: I62a95563cbdd48170a674b4995585c8778808b8c
2026-03-20 13:27:16 +01:00
Ludovic Courtès
fb0c1c8b02 gnu: gcc: Remove unused ‘parent’ variable.
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Remove now unused ‘parent’
variable.
(gcc-4.8)[arguments]: Likewise.
(gcc-4.9)[arguments]: Likewise.
(gcc-5)[arguments]: Likewise.

Change-Id: Idd3b13f6057d0233ef0641b27d14b08d6c601331
2026-03-20 13:27:15 +01:00
Ludovic Courtès
2a50c9598b gnu: Reference the inherited ‘arguments’ value.
This commit was made by running this command:

  sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm

… and then:

  1. reverting changes from ‘gnu/packages/rust.scm’ and
     ‘gnu/packages/java.scm’ since they would incur derivation changes and/or
     breakage;
  2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’;
  3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’,
     which use ‘substitute-keyword-arguments’ for arguments that are not
     inherited (and thus ‘arguments’ would be unbound);
  4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’
     which make bogus assumptions about inherited arguments.

Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
2026-03-20 13:27:15 +01:00
Ludovic Courtès
a7c8e68dc5 records: Let thunked fields refer to their inherited value.
* guix/records.scm (make-syntactic-constructor)[field-index]: New procedure.
[wrap-field-value]: Add optional argument ‘parent’.  When it is true, bind F
to the inherited field value.
[field-bindings/inheritance]: New procedure.
Use it.
* tests/records.scm ("define-record-type* & thunked & no inherited value")
("define-record-type* & thunked & inherited value")
("define-record-type* & thunked & inherited value & this-record"): New tests.
* doc/guix.texi (Defining Package Variants): Update ‘modify-inputs’ example to
refer to ‘inputs’.
(Writing Manifests): Likewise.
* doc/guix-cookbook.texi (Package Variants): Likewise for
‘substitute-keyword-arguments’.

Fixes: https://issues.guix.gnu.org/50335
Change-Id: If4e18155ce203637ff9e116ee8098f8997bfebe2
2026-03-20 13:27:15 +01:00
Ludovic Courtès
e1457c4679 build-system/gnu: Avoid name clash in ‘package-with-explicit-inputs*’.
With the next commit, ‘inputs’ is bound within the body of the ‘inputs’ field,
which would shadow the ‘inputs’ parameter of ‘package-with-explicit-inputs*’.

* guix/build-system/gnu.scm (package-with-explicit-inputs*): Rename ‘inputs’
parameter to ‘explicit-inputs’ to avoid name class in ‘add-explicit-inputs’.

Change-Id: I5aa70504cc6ffc856728c6e1a715ef68d9ebd7d9
2026-03-20 13:27:15 +01:00
Hugo Buddelmeijer
3cf8ff32f2 gnu: hashcash: Fix build with CFLAGS.
* gnu/packages/networking.scm (hashcash): Fix build and restyle.
[arguments]<#:tests?>: Turn off.
<#:make-flags>: Add -Wno-error=implicit-function-declaration.
<#:phases>: Replace old install phase with fix-makefile phase.
[home-page]: Fix.

Merges guix/guix!7322

Change-Id: I1790a123321d82b3257114ab60651d733fca3fe4
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
2026-03-20 12:04:16 +01:00