Commit graph

171018 commits

Author SHA1 Message Date
John Kehayias
8354442a99
gnu: goimapnotify: Update to 2.5.3.
* gnu/packages/mail.scm (goimapnotify): Update to 2.5.3.

Change-Id: I906b8b442f960bf2009e7f89e1cef7a62c95b0e9
2025-10-16 17:38:46 -04:00
Efraim Flashner
a1baaa13f9
gnu: s-tui: Update inputs.
* gnu/packages/admin.scm (s-tui)[inputs]: Replace python-urwid-3 with
python-urwid.

Change-Id: I5a9db42576228f11d60624f67e69bd1afc86a793
2025-10-16 20:48:15 +03:00
David Thompson
eff5c30e38
gnu: guile-goblins: Update to 0.17.0.
* gnu/packages/guile-xyz.scm (guile-goblins): Update to 0.17.0.

Change-Id: If5cd1db91af08eabdb37b3ca34989454ef843e08
2025-10-16 13:07:06 -04:00
Artyom V. Poptsov
062fa6a649
gnu: iperf: Update to 3.19.1.
* gnu/packages/networking.scm (iperf): Update to 3.19.1.

Change-Id: I6ca75138739ac41cb89e68f524aeb0225b6d9b67
2025-10-16 18:52:01 +03:00
Artyom V. Poptsov
2907ed7be5
gnu: opendht: Remove a trailing whitespace in a commentary.
* gnu/packages/networking.scm (opendht): Remove a trailing whitespace in a
commentary.

Change-Id: Id0ef92a4e59edf62b901a7c27a2462f760000f2c
2025-10-16 18:49:22 +03:00
Artyom V. Poptsov
21bef98e8a
gnu: nanomsg: Update to 1.2.2.
* gnu/packages/networking.scm (nanomsg): Update to 1.2.2.

Change-Id: Ib63bde6b2f130166c6e9fd89e7e94f78d730daea
2025-10-16 18:48:28 +03:00
Artyom V. Poptsov
7e1ec579db
gnu: bgpq3: Update to 0.1.38.
* gnu/packages/networking.scm (bgpq3): Update to 0.1.38.

Change-Id: I72d7c224af26c55969bb6b21ffa11246c33585e2
2025-10-16 18:45:54 +03:00
Artyom V. Poptsov
d911988470
gnu: lr: Update to 2.0.1.
* gnu/packages/admin.scm (lr): Update to 2.0.1.

Change-Id: Ie27adbb65cfac6dc41e860f8f0955aaee73a22c3
2025-10-16 18:34:47 +03:00
Sughosha
b06ab2ff93
gnu: yabridge: Fix build.
* gnu/packages/audio.scm (yabridge)[inputs]: Replace asio with asio-1.28.

Change-Id: I25ae31cbc3724038dde921fd1e5048545d69eead
2025-10-16 20:12:49 +05:30
Sughosha
7f7a62e4e9
gnu: Add asio-1.28.
* gnu/packages/networking.scm (asio-1.28): New variable.

Change-Id: I78e4ccf9e128917f7dd01278d9e9cd3858edbe10
2025-10-16 20:10:32 +05:30
Ludovic Courtès
aa12beb750
guix-install.sh: Add the “kvm” GID to /etc/subgid.
* etc/guix-install.sh (SYSTEMD_REQUIRE): New variable.
(sys_create_build_user): Populate /etc/subgid.

Change-Id: I989c3ff682453d8d65e313c89fb751a20aa48bb8
2025-10-16 15:14:37 +02:00
Ludovic Courtès
a92d98a7fa
daemon: Attempt to map the “kvm” group inside the build user namespace.
Fixes <https://issues.guix.gnu.org/77862>.

Previously, the ‘guix-daemon’ account (for unprivileged execution) would
typically have “kvm” as a supplementary group, but that group would not
be mapped in the build user namespace.  Consequently, attempts to
‘chown’ a file to that supplementary group would fail with EINVAL.

The test suites of Coreutils, Python, and Go (among others) exercise
this chown-to-supplementary-group behavior, so they would all fail when
started by the unprivileged ‘guix-daemon’ even though they succeed when
started by ‘guix-daemon’ running as root.

Thanks to keinflue <keinflue@posteo.net> and Reepca Russelstein
<reepca@russelstein.xyz> for helping out.

* nix/libstore/build.cc (initializeUserNamespace): Add ‘extraGIDs’ and
‘haveCapSetGID’ parameters.  Invoke ‘newgidmap’ when ‘extraGIDs’ is
non-empty and ‘haveCapSetGID’ is false.  Honor ‘extraGIDs’ when
‘haveCapSetGID’ is true.
(maxGroups, guestKVMGID): New variables.
(kvmGIDMapping): New function.
(DerivationGoal::startBuilder): Set ‘ctx.lockMountsMapAll’ in the
CLONE_NEWUSER case.  Pass ‘extraGIDs’ to ‘initializeUserNamespace’.
* tests/store.scm ("kvm GID is mapped"): New test.

Change-Id: I10ba710fc1b9ca1e3cd3122be1ec8ede5df18b40
2025-10-16 15:14:37 +02:00
Ludovic Courtès
d1910384d3
daemon: Export as little as needed from libutil/spawn.cc.
* nix/libutil/spawn.cc (reset_writeToStderrAction, restoreAffinityAction)
(setsidAction, earlyIOSetupAction, dropAmbientCapabilitiesAction)
(chrootAction, chdirAction, closeMostFDsAction, setPersonalityAction)
(oomSacrificeAction, setIDsAction, setNoNewPrivsAction)
(addSeccompFilterAction, restoreSIGPIPEAction, setupSuccessAction)
(usernsInitSyncAction, usernsSetIDsAction, initLoopbackAction)
(setHostAndDomainAction, makeFilesystemsPrivateAction)
(makeChrootSeparateFilesystemAction, bindMount)
(mountIntoChroot, mountIntoChrootAction, mountProcAction)
(mountDevshmAction, mountDevptsAction, pivotRootAction)
(idMapToIdentityMap, lockMountsAction, runChildSetupEntry): Add ‘static’
qualifier.
* nix/libutil/spawn.hh: Remove the corresponding ‘extern’ declarations.

Change-Id: I3156d72d866f22fa31aa9a843f116771763ccb61
2025-10-16 15:14:37 +02:00
Ludovic Courtès
c7b8f3ec1a
daemon: ‘runProgram’ exits with 127 upon ENOENT or similar.
This is in accordance with widespread conventions.  Previously it would
exit with code 1, which was misleading.

* nix/libutil/util.cc (runProgram): Exit with 127 if ‘execv’ or ‘execvp’
fails.

Change-Id: I5df214afffda69aa329a25afbc48f6cbfdd0961c
2025-10-16 15:14:37 +02:00
Carlos
512920e7a3
gnu: wireshark: Build with lua@5.4
In this current version, wireshark needs lua-5.3 or higher to build with
lua scripting support.

* gnu/packages/networking.scm (wireshark)[inputs]: Remove lua-5.2;
add lua-5.4.

Change-Id: Ib37aec86b7e95ffc4196dabb0fd48ae6a69dcd1a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-16 15:14:37 +02:00
Ashish SHUKLA
6dc3ba1c0f
gnu: labwc: Update to 0.9.2.
* gnu/packages/wm.scm (labwc): Update to 0.9.2.

Change-Id: I5aeae9bae6b0acaea5168ec4317fc29b1e4dee3a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-16 15:14:37 +02:00
Ashish SHUKLA
90e39d2d28
gnu: snac: Update to 2.83.
* gnu/packages/fediverse.scm (snac2): Update to 2.83.

Change-Id: Ice54f40f831953947763b1efa14d809a7826139e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-16 15:14:37 +02:00
Ludovic Courtès
ba29b569ea
services: cuirass: Start ‘cuirass register’ eagerly.
* gnu/services/cuirass.scm (cuirass-shepherd-service): Pass #:lazy-start?.

Change-Id: Ib91c82e74ce9c80616a3de693d858939e670a03d
2025-10-16 15:14:36 +02:00
Ludovic Courtès
03640d3cf0
services: cuirass: Validate specifications at build time.
This ensures problems in the spec are caught before the system is
instantiated.

* gnu/services/cuirass.scm (cuirass-configuration->specification-file):
New procedure.
(cuirass-shepherd-service): Use it instead of ‘scheme-file’.

Change-Id: I90187ed4ed1a51958159741a55b6dc635c97312a
2025-10-16 15:14:36 +02:00
Andreas Enge
37f794ae22
gnu: n2p2: Update to 2.3.0.
* gnu/packages/maths.scm (n2p2): Update to 2.3.0.

Change-Id: Iffa53548eb91488a3610a243cb474fd020e476a9
2025-10-16 14:46:57 +02:00
Andreas Enge
51bfc7d3b1
gnu: n2p2: Fix build.
* gnu/packages/maths.scm (n2p2)[arguments]<#:phases>{post-unpack}:
  Patch "shell" to "bash" in makefile.

Change-Id: Ib4973c195197415e1ac514b449247bc7f750a359
2025-10-16 14:46:57 +02:00
Sharlatan Hellseher
dbca541c7a
gnu: scregseg: Update to 0.1.3-0.78ebff8.
* gnu/packages/bioinformatics.scm (scregseg): Update to
78ebff8c3507752c3bfbc4db3f72f7e8a733e92f commit.
[arguments] <test-flags>: Provide "--pyargs".
<phases>: Remove 'build-extensions, and 'do-not-fail-to-find-sklearn.
[propagated-inputs]: Remove python-scikit-learn; add
python-scikit-learn-1.6.
[native-inputs]: Remove python-wheel; add python-setuptools.

Change-Id: Ic29e6be3b1fda0d664ed74dfc21da75cb5bcd656
2025-10-16 13:39:34 +01:00
Sharlatan Hellseher
101796e05b
gnu: Add python-scikit-learn-1.6.
* gnu/packages/machine-learning.scm (python-scikit-learn-1.6): New variable.

Change-Id: Ife1120b602163bd2ab316f0047d458480dabb947
2025-10-16 13:39:34 +01:00
Alexis Simon
5ee63e752d
gnu: python-zarr: Remove extra propagated-inputs.
* gnu/packages/python-xyz.scm (python-zarr):
[propagated-inputs]: Remove python-ipywidgets,
python-notebook, python-numpydoc, pyhon-pydata-sphinx-theme.

Change-Id: Ie6161fb3fd3ff989cb09f0d1e7bb4c94aaad8fab
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-16 13:39:34 +01:00
Alexis Simon
782772ba6a
gnu: python-numcodecs: Remove extra propagated-inputs.
* gnu/packages/python-xyz.scm (python-numcodecs):
[propagated-inputs]: Remove python-coverage and python-numpydoc.

Change-Id: Ia7f7e52dea7460c37b3eb5a64c23e1c53507fc68
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-16 13:39:34 +01:00
Alexis Simon
643598c302
gnu: python-anndata: Add test dependency python-filelock.
It was found this build issue while building dependents of python-zarr.

* gnu/packages/python-science.scm (python-anndata):
[native-inputs]: Add python-filelock; missing for tests.

Change-Id: Ia83b631bc321f43e7a51fa558753f6189530bd76
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-16 13:39:17 +01:00
Allan Adair
3ef8f8ce36
gnu: Add python-durationpy.
* gnu/packages/python-xyz.scm (python-durationpy): New variable.

Change-Id: Ibb3ee965a1f121dc0301f3fdaaea2a432cad5010
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-16 10:36:55 +01:00
Sharlatan Hellseher
afb9c65cf3
gnu: aerich: Update to 0.9.2.
As it's a final program all propagated inputs moved to inputs.

* gnu/packages/databases.scm (aerich): Update to 0.9.2.
[arguments] <test-flags>: Skip one tests searching for "uvx".
[inputs]: Add python-anyio, python-asyncclick, python-dictdiffer,
python-tortoise-orm, python-aiomysql, python-asyncmy, python-asyncpg,
python-psycopg, and python-tomli-w.
[propagated-inputs]: Remove python-asyncclick, python-asyncmy,
python-asyncpg, python-dictdiffer, python-pydantic, python-tomli-w, and
python-tortoise-orm.
[native-inputs]: Remove python-poetry-core; add python-pdm-backend,
python-pydantic-2, python-pydantic-settings, and python-tortoise-vector.

Change-Id: I9bcb13f0fc9f70428b5f794893d1a4bddf611a5d
2025-10-16 10:36:54 +01:00
Sharlatan Hellseher
7403213c91
gnu: Add python-tortoise-vector.
* gnu/packages/databases.scm (python-tortoise-vector): New variable.

Change-Id: Ib6646bc813fe04ba6e55b2b78dff373d2b52268e
2025-10-16 10:36:54 +01:00
Sharlatan Hellseher
5af8d45ee9
gnu: python-asyncclick: Update to 8.3.0.3.
Upstream has resolved all issues:
- <https://github.com/python-trio/asyncclick/issues/39>
- <https://github.com/python-trio/asyncclick/issues/42>

* gnu/packages/python-xyz.scm (python-asyncclick): Update to 8.3.0.3.
[arguments]: Drop all.
[native-inputs]: Remove python-anyio; add less.
[propagated-inputs]: Add python-anyio.

Change-Id: I689ddbe231760a21986080b0dbcebdf6c56f1039
2025-10-16 10:36:54 +01:00
Andreas Enge
7e40e20911
gnu: Remove python-dbus-next.
* gnu/packages/python-xyz.scm (python-dbus-next): Delete variable.

Fixes: guix/guix#2725
Change-Id: Ifc65d8e1c5efaa40e1e43f0b457878302a93dc43
2025-10-16 11:30:30 +02:00
buffersquid
023fc88c32
gnu: Add zola.
* gnu/packages/rust-apps.scm (zola): New variable.
* gnu/packages/rust-crates.scm (zola): Map cargo inputs.

Change-Id: I9b7fb89af687f4a58c8ff77effc5695773363165
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-16 12:04:12 +03:00
Hartmut Goebel
a2590694ae
gnu: python: Graft secure package.
* gnu/packages/python.scm (python/fixed): Add new variable.
(python): Graft python/fixed.

Change-Id: I8b1537a64be1984c52170ba3f2fbdca5737290e8
2025-10-15 22:03:05 +02:00
Hartmut Goebel
77f9e9c45c
gnu: python-3.10: Update to 3.10.19.
* gnu/packages/python.scm (python-3.10): Update to 3.10.19.

Change-Id: Ib38ee006d8deaed8029000b5202547b001cb8f6c
2025-10-15 21:44:06 +02:00
Artyom V. Poptsov
26ec96c9b5
gnu: btop: Update to 1.4.5.
* gnu/packages/admin.scm (btop): Update to 1.4.5.

Change-Id: Idbe210521579f83188f52ac929d313c7accbc753
2025-10-15 20:49:31 +03:00
Artyom V. Poptsov
d2d51a2df5
gnu: thermald: Update to 2.5.10.
* gnu/packages/admin.scm (thermald): Update to 2.5.10.
[home-page]: Set URI to "https://github.com/intel/thermal_daemon" as the
original URI is permanently redirected.

Change-Id: I2fa1ff116de64c2c8e9476fe7f529a5c1542ba41
2025-10-15 19:31:50 +03:00
Sharlatan Hellseher
901d8f72df
gnu: python-dask-image: Fix tests.
* gnu/packages/python-science.scm (python-dask-image)[arguments]
<test-flags>: Rework skipped tests and enable more tests.
[propagated-inputs]: Remove python-tifffile; add
python-tifffile-for-dask-image.
[description]: Remove new line in the end.

* gnu/packages/python-xyz.scm (python-tifffile-for-dask-image): New variable.

Change-Id: I8539569aab1134d049ec8e8c0041191ce61e2eb7
2025-10-15 15:44:41 +01:00
Sharlatan Hellseher
13fe868512
gnu: python-icontract: Fix tests.
* gnu/packages/python-check.scm (python-icontract)[arguments] <phases>:
Add 'relax-requirements.
[native-inputs]: Remove python-wheel; add python-deal,
python-dpcontracts, and python-pytest.

Change-Id: Ie2d418673f15f7db3128c5a0b81a320765fc5df7
2025-10-15 15:27:09 +01:00
Sharlatan Hellseher
a9f23f0149
gnu: Add python-deal.
* gnu/packages/python-check.scm (python-deal): New variable.

Change-Id: I2d3e96329715471a559fe154c0dbdd7d666e908b
2025-10-15 15:27:09 +01:00
Sharlatan Hellseher
a488227e5a
gnu: Add python-dpcontracts.
* gnu/packages/python-check.scm (python-dpcontracts): New variable.

Change-Id: Iaaf6aedfd1e4f1f853fe70cc821edcaa805b9dbd
2025-10-15 15:24:44 +01:00
Sharlatan Hellseher
4c88f358ce
gnu: python-typeshed-client: Update to 2.8.2.
* gnu/packages/python-xyz.scm (python-typeshed-client): Update to 2.8.2.
[source]: Switch to git-fetch providing test data.
[arguments] <test-backend>: Use custom.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Remove python-wheel.

Change-Id: Icfbb809b45e0ca9e4b29237f0f622d77928f9730
2025-10-15 14:34:10 +01:00
Nicolas Graves
5f6cbf433b
gnu: python-lfdfiles: Update to 2025.9.17.
* gnu/packages/python-xyz.scm (python-lfdfiles): Update to 2025.9.17.
[source, propagated-inputs]: Improve style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: I728400b74276b036d021c25b6c25c92709f7776c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:23:15 +01:00
Nicolas Graves
6efecf9236
gnu: python-tifffile: Update to 2025.10.4.
* gnu/packages/python-xyz.scm (python-tifffile): Update to 2025.10.4.
[build-system]: Switch to pyproject-build-system.
[arguments, description]: Improve style.
[native-inputs]: Add python-setuptools.  Remove python-pytest, as
tests are not run.

Change-Id: Ica27197142bf7f80a7078cae1581b65a73a9b4b2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:23:15 +01:00
Nicolas Graves
327931ccfd
gnu: python-roifile: Update to 2025.5.10.
* gnu/packages/python-xyz.scm (python-roifile): Update to 2025.5.10.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-setuptools.

Change-Id: I35e052527647cc13ae345be3a2d99b7445bc3257
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:23:15 +01:00
Nicolas Graves
548206f941
gnu: python-imagecodecs: Update to 2025.8.2.
Warning: In phase 'create-configuration, I've disabled 3 modules that
fail compilation with gcc@14, although they should theorically
compile: apng, lzo, tiff.  IMO it's a bit out of the scope for a
already heavy patch to try and fix C compilation errors. I added a
FIXME comment though.

* gnu/packages/python-xyz.scm (python-imagecodecs): Update to 2025.8.2.
[source]<snippet>: Remove code unbundling 3rd party modules.  Almost
all of those are not bundled in the sense that they are extracted and
patched from upstream sources, and using those upstream sources
directly won't help.
[build-system]: Switch to pyproject-build-system.
[arguments]: Use gexps.
<#:tests?>: Enable them.
<#:test-flags>: Ignore flaky test.
<#:phases>: Re-factor phase 'create-configuration. Add phase
'fix-sanity-check and 'configure-tests.
[inputs]: Add lcms, libheif, lzfse, python-blosc2.
[propagated-inputs]: Add python-matplotlib, python-tifffile.
[native-inputs]: Add python-pytest, python-setuptools.
[synopsis]: Improve style.

Change-Id: I1c13eea510136891c667741f73fbf1d3f4231551
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:23:15 +01:00
Nicolas Graves
e03ecde37f
gnu: python-executor: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-executor):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-mock, python-pytest, python-setuptools.
[decription]: Improve style.

Change-Id: Iaa0008971f89d92158170a066a742f883e9e1017
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:23:14 +01:00
Nicolas Graves
9263d5ef68
gnu: python-property-manager: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-property-manager):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.  Replace python-pytest-cov by
python-pytest.
[description]: Improve style.

Change-Id: Ib74ee7b09448964276016fa14fbc86126c51366f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:23:14 +01:00
Nicolas Graves
ae108725b9
gnu: python-pixelmatch: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pixelmatch):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them for now, as I'm not able to
quickly diagnose the error.
[native-inputs]: Add python-poetry-core, python-pytest,
python-pytest-benchmark.
[description]: Improve style.

Change-Id: Ic63865d7d78ae49f06f953b460837f81daa9c361
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:23:14 +01:00
Nicolas Graves
609009ee4f
gnu: python-pikepdf: Update to 8.15.1.
* gnu/packages/python-xyz.scm (python-pikepdf): Update to 8.15.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phase 'set-version.
[native-inputs]: Add python-xmp-toolkit, python-setuptools.  Remove
python-coverage, python-pytest-cov.
[propagated-inputs]: Replace python-deprecation by python-deprecated.

Change-Id: Iae6014ce980a84461940f86866cd1000221c36cd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:23:12 +01:00
Allan Adair
daea83629d
gnu: Add python-types-pyyaml.
* gnu/packages/python-xyz.scm (python-types-pyyaml): New variable.

Change-Id: I4420c567d2414a53aea2e54f5e2e121cef69155b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-10-15 14:19:24 +01:00