1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 23:05:57 +02:00
Commit Graph

149068 Commits

Author SHA1 Message Date
Lars-Dominik Braun 8bb3bb19c2 import: pypi: Support extracting dependencies from pyproject.toml.
* guix/import/pypi.scm (guess-requirements): Support extracting
dependencies from pyproject.toml.
* tests/pypi.scm: ("pypi->guix-package, no requires.txt, but wheel."):
Renamed from "pypi->guix-package, wheels", remove requires.txt file,
because the current implementation cannot detect invalid files.
("pypi->guix-package, no usable requirement file, no wheel."): Renamed
from "pypi->guix-package, no usable requirement file.".
(test-pyproject.toml): New variable.
("pypi->guix-package, no wheel, no requires.txt, but pyproject.toml"):
New test.
("pypi->guix-package, no wheel, but requires.txt and pyproject.toml"):
Ditto.

Change-Id: Ib525750eb6ff4139a8209420042b28ae3c850764
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-16 19:27:43 +00:00
Fredrik Salomonsson f2b7e8f762 gnu: python-pycurl: Update to 7.45.4.
* gnu/packages/python-web.scm (python-pycurl): Update to 7.45.4.

Change-Id: I0b5357b3515af810cecb5eebeba14f07e1f9bac3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-16 19:20:03 +00:00
Leo Famulari 93eca69d69 gnu: linux-libre 6.6: Update to 6.6.65.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.65.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: I48f65a614f2ba5cc7ada038d0fad5f345f5d857f
2024-12-16 14:15:27 -05:00
Romain GARBAGE bf7813a9d4 gnu: python-puremagic: Add missing inputs.
* gnu/packages/python-xyz.scm (python-puremagic)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I9feb15e77c6e7f57c4c1678ed25ae73370b4d601
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-16 19:11:20 +00:00
Sharlatan Hellseher 6774c9e75a gnu: python-flask-sqlalchemy: Update to 3.1.1.
* gnu/packages/python-web.scm (python-flask-sqlalchemy): Update to
3.1.1. Fix build.
[source]<uri>: Adjust name as it was changed in PyPI source archive.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Skip some failing tests.
[propagated-inputs]: Remove python-sqlalchemy; add python-sqlalchemy-2.
[native-inputs]: Add python-flit-core and python-pytest.

Change-Id: Id9a7516ca56a8d6e30cd9a40253886e4e9dbf668
2024-12-16 16:47:45 +00:00
Sharlatan Hellseher 63547f5c50 gnu: python-cfn-lint: Update to 1.22.1.
* gnu/packages/python-web.scm (python-cfn-lint): Update to 1.22.1. Fix
build, improve package style.
[source]<url>: Use direct URL instead of home-page field.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Remove 'skip-network-test, use default 'check.
<test-flags>: Skip 4 failing tests.
[propagated-inputs]: Remove python-jsonschema and python-six; add
python-regex, python-sympy, and python-typing-extensions.
[native-inputs]: Remove python-mock; add python-defusedxml,
python-pytest, python-setuptools, and python-wheel.
[home-page]: Place above synopsis.

Change-Id: I39d1ed9ca6157e618d2c5905dff61679ff924a4e
2024-12-16 16:47:45 +00:00
Sharlatan Hellseher 82225664fa gnu: python-aws-sam-translator: Update to 1.94.0.
* gnu/packages/python-web.scm (python-aws-sam-translator): Update to
1.94.0. Fix build
[source]: Use git checkout containing tests.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Run test in parallel, skip some failing tests.
<phases>: Remove 'loosen-requirements, add 'fix-pytest-config, and
'pre-check.
[propagated-inputs]: Remove python-six; add python-pydantic and
python-typing-extensions.
[native-inputs]: Add python-pytest, python-setuptools,
python-pytest-xdist, python-parameterized, python-pyyaml, and
python-wheel.

Change-Id: I16181f714cfc9bcd97ca034631a204969c323542
2024-12-16 16:47:45 +00:00
Sharlatan Hellseher 453ee1c84d gnu: python-cattrs: Skip some tests.
* gnu/packages/python-xyz.scm (python-cattrs)
[arguments]<test-flags>: Add "--numprocesses". Ignore benchmark tests
and skip some failing ones.
[native-inputs]: Remove python-poetry-core.

Change-Id: I581953b86b20ecde97611e768fbcda3db46dd716
2024-12-16 16:47:45 +00:00
Sharlatan Hellseher 4d56a73699 gnu: python-ephem: Fix build.
* gnu/packages/astronomy.scm (python-ephem): [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I1989fb4a6534a53f561850f1cd214c332c02d992
2024-12-16 16:47:45 +00:00
Sharlatan Hellseher 456f967a5a gnu: python-asdf-wcs-schemas: Fix build.
* gnu/packages/astronomy.scm (python-asdf-wcs-schemas): [native-inputs]:
Add python-setuptools and python-wheel.

Change-Id: I2aac4b7435b987d85f7270e50ad510e3b5d777fb
2024-12-16 16:47:45 +00:00
Sharlatan Hellseher 0fdff11977 gnu: python-asdf-coordinates-schemas: Fix build.
* gnu/packages/astronomy.scm (python-asdf-coordinates-schemas)
[native-inputs]: Add python-setuptools and python-wheel.
[description]: Start from a new line.

Change-Id: I32a2e74b3b90b31f73e3b3aba5f72379c30d7fc7
2024-12-16 16:47:44 +00:00
Sharlatan Hellseher c54f6c0b53 gnu: python-asdf-compression: Fix build.
* gnu/packages/astronomy.scm (python-asdf-compression) [native-inputs]:
Add python-setuptools and python-wheel.

Change-Id: Ib077d9d7448fe3ad52e8697ca64caa62081434d0
2024-12-16 16:47:44 +00:00
Sharlatan Hellseher 18bb90665c gnu: python-asdf: Fix build.
* gnu/packages/astronomy.scm (python-asdf)
[arguments]<test-flags>: Remove "-p" add "--numprocesses" option.
[phases]{patch-pyproject-toml}: Remove redundant substitution.
[native-inputs]: Add python-wheel.

Change-Id: I672a83ab3dcc179b1dd3c15316d4e52d834edfd6
2024-12-16 16:47:44 +00:00
Maxim Cournoyer 097de97982 doc: Document naming convention for work-in-progress branches.
* doc/contributing.texi (Managing Patches and Branches): Extend doc.

Change-Id: I12253a81fe7c954734e68eba08eb5e8c8a434faa
2024-12-16 22:39:24 +09:00
Sharlatan Hellseher 445eaccd76 gnu: python-adbc-driver-manager: Fix buld.
* gnu/packages/databases.scm (python-adbc-driver-manager):
[native-inputs]: Remove python-pytest; add python-setuptools and
python-wheel.

Change-Id: Idda91f087d8169185a02a61ae6b69d5668ae88b3
2024-12-16 13:18:11 +00:00
Sharlatan Hellseher d51b94abfa gnu: python-calver: Fix bulid.
* gnu/packages/python-xyz.scm (python-calver) [native-inputs]: Add
python-wheel.

Change-Id: I9394fb092a335dadc69a0b06c0e16e65a83ae402
2024-12-16 13:14:51 +00:00
Sharlatan Hellseher 858469f17b gnu: python-aionotify: Update to 0.3.1.
* gnu/packages/python-xyz.scm (python-aionotify): Update to 0.3.1.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I8e553d9e41ba5fbe6447c59525810db3fb726c0d
2024-12-16 13:13:06 +00:00
Sharlatan Hellseher 351e094be1 gnu: python-cbor: Fix build.
* gnu/packages/serialization.scm (python-cbor) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I18f86c8afdafbd58b170925665c3a2c66822ac9e
2024-12-16 13:09:55 +00:00
Sharlatan Hellseher 323ab17caf gnu: borgmatic: Fix build.
* gnu/packages/backup.scm (borgmatic)
[arguments]<tests?>: Disable them as all failing
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I2bd80ff1943547c66174357371b128be8a580384
2024-12-16 13:03:51 +00:00
Sharlatan Hellseher 6a6e2cce69 gnu: python-apprise: Respect --cores build argument.
* gnu/packages/python-xyz.scm (python-apprise) [arguments]<test-flags>:
Respect --cores build argument.

Change-Id: I217981c457516a5d02d9d06553c50a6ba7fb2fa7
2024-12-16 12:42:17 +00:00
Sharlatan Hellseher 8f524034d8 gnu: python-lifelines: Update to 0.30.0.
* gnu/packages/statistics.scm (python-lifelines): Update to 0.30.0.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ie486d6c023d79eb3356ffa9050d125e3f39ca3a7
2024-12-16 12:40:21 +00:00
Sharlatan Hellseher 3bd3a572fd gnu: python-autograd-gamma: Fix build.
* gnu/packages/machine-learning.scm (python-autograd-gamma)
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I8d537670e50e2fbd571f69c4e20030686fa6e4ea
2024-12-16 12:10:21 +00:00
Juliana Sims 5179e70366 gnu: python-colorthief: Fix build.
* gnu/packages/python-xyz.scm (python-colorthief) [native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: Ic725b97a40718ab1c22dde7e5342947ff5ebd99c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-16 11:31:41 +00:00
Juliana Sims 1a89e7d65f gnu: python-emoji: Fix build.
* gnu/packages/python-xyz (python-emoji)[native-inputs]: Add
python-setuptools, python-wheel.

Change-Id: Iac4383c33df71b089340154876cb614bff3bac72
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-16 11:31:40 +00:00
Christopher Baines acb256d458 services: guix-data-service: Support specifying configuration.
The database contains some tables that are effectively used for configuration.
This commit starts to expose these to the guix service, enabling the
configuration to be handled by the service.

* gnu/services/guix.scm (<guix-data-service-configuration>): Add
git-repositories and build-servers.
(guix-data-service-configuration-git-repositories,
guix-data-service-configuration-build-servers): New procedures.
(guix-data-service-shepherd-services): Add new shepherd service to setup the
database.

Change-Id: I519efd9157b60f18c7e80e3bdc92c0e3c5729334
2024-12-16 09:20:40 +00:00
Christopher Baines f3f371a4d7 gnu: guix-data-service: Update to 0.0.1-56.62d6b59.
Add guile-lzlip as a direct propagated input, as this is used directly.

* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-56.62d6b59.
[propagated-inputs]: Add guile-knots and guile-lzlip.

Change-Id: Iae7d172d92ca8004b92f721730e094ed0eee94b0
2024-12-16 09:20:40 +00:00
Christopher Baines 787dee7a6b gnu: Add guile-knots.
* gnu/packages/guile-xyz.scm (guile-knots): New variable.

Change-Id: Ie021e01ac1e381c9a6b14afa6d1817bec62d17d3
2024-12-16 09:20:39 +00:00
Maxim Cournoyer 2e8a8b3ddb gnu: emacs-debbugs: Update to 0.42.
* gnu/packages/emacs-xyz.scm (emacs-debbugs): Update to 0.42.

Change-Id: I3b3d23a68cd8e8749b8e4275b11a8f8ae909a3bf
2024-12-16 17:20:45 +09:00
Dariqq 3a8e19a61d gnu: lightdm-service-type: Add lightdm.conf to /etc/lightdm.
* gnu/services/lightdm.scm
(lightdm-configuration->greeters-config-dir): Rename to...
(lightdm-configuration-directory): ... this, and add the
lightdm-configuration-file.
(lightdm-shepherd-service): Don't pass the configuration file, don't set
XDG_CONFIG_DIRS
(lightdm-etc-service): New procedure.
(lightdm-service-type): Use lightdm-etc-service as the etc-extension.

Change-Id: I982ec1f7bdfd085621f45a8a1e4b175ab481202f
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-12-16 09:54:23 +09:00
Dariqq b9d7e15f9f gnu: lightdm: Use global sysconfdir.
* gnu/packages/display-managers.scm (lightm)
[#:configure-flags]: Set sysconfdir to /etc.
[#:phases]: Overwrite sysconfdir in install phase for installing sample config
files.

Change-Id: If9c6ce810c726551bd3bf568d50cad8680829262
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-12-16 09:54:23 +09:00
Maxim Cournoyer 97dccd6449 import/pypi: Fix project URL discovery when the project name contains periods.
* guix/import/pypi.scm (find-project-url): Add an extra candidate rewriting
periods to underscores in the project name.

Change-Id: I7e3afc63bcc87fafa40fcff2b394b90633d23067
2024-12-16 09:54:23 +09:00
Maxim Cournoyer 2c9867fde5 import/utils: Replace '.' by '-' in snake-case procedure.
* guix/import/utils.scm (snake-case): Replace '.' by '-'.  Update doc.

Change-Id: I46f2e066c82849627464d0690549288ebbc4e926
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 09:54:23 +09:00
Brian Kubisiak a945eb151a pack: Allow cross-compiling with '--relocatable'.
* guix/scripts/pack.scm (c-compiler-compiler): Remove exception when
cross-compiling and always build gexp->script for the host.
[toolchain]: Use standard-cross-packages when cross-compiling.
[search-paths]: Use package-search-paths instead of
package-native-search-paths when cross-compiling.
[run]: Use cc-for-target and strip-for-target.

Change-Id: I5503e48b3394fdfee06999f8d1ad82f5f0d9af96
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:06 +01:00
Herman Rimm e3bf81c7df gnu: libcbor: Update to 0.11.0.
* gnu/packages/compression.scm (libcbor): Update.

Change-Id: Ie372a9a73369eddac0620394e3e3608d8f27e0b6
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:06 +01:00
Richard Sent 6ec3c260a1 services: Add resize-file-system-service.
* gnu/services/admin.scm (resize-file-system-configuration): New configuration
type.
(resize-file-system-shepherd-service): New procedure.
(resize-file-system-service-type): New variable.
* doc/guix.texi (Miscallaneous Services): Document it.

Change-Id: Icae2fefc9a8d936d4c3add47520258b341f689a4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:05 +01:00
Richard Sent 4fc1ee837b packages: cloud-utils: Add missing growpart programs to path.
This ensures growpart can run in environments that may not have a PATH
variable set.

* gnu/packages/admin.scm (cloud-utils): Augment growpart PATH with necessary
programs.

Change-Id: Idf0ca9e14e4c9d82208fbf715dd0b235cd5a371b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:05 +01:00
Simon Tournier 79f8769530 gnu: cgit: Remove input labels.
* gnu/packages/version-control.scm (cgit)
[inputs]: Remove labels.
[arguments]<phases>: Adjust.

Change-Id: Iff479fa636f7a4c4fef5137ae22934d4e213223b
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:21:05 +01:00
Simon Tournier 1c35fe0831 gnu: gnulib: Move PropList.txt origin from phases to native-inputs.
* gnu/packages/dlang.scm (gnulib-checkout)[arguments]<phases>: Move PropList
origin from here...
[native-inputs]: ...to here.

Change-Id: I3576a169837039bc6beaae0d68ab459ed642e3c8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:20:53 +01:00
Simon Tournier 8581717065 gnu: farstream: Move common origin from phases to native-inputs.
* gnu/packages/dlang.scm (farstream)[arguments]<phases>: Move common
origin from here...
[native-inputs]: ...to here.

Change-Id: I0023bca2fc021b82875b1ec7329c7e37116df0b3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:19:56 +01:00
Simon Tournier 6606c46490 gnu: smithforth: Move system.fs origin from phases to native-inputs.
* gnu/packages/dlang.scm (smithforth)[arguments]<phases>: Move system.fs
origin from here...
[native-inputs]: ...to here.

Change-Id: I82ff81f72dbe2ecf70fbbd44674596e1a62cadcf
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:19:56 +01:00
Simon Tournier 9320d86029 gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs.
* gnu/packages/dlang.scm (dmd-bootstrap)[arguments]<phases>: Move phobos
origin from here...
[native-inputs]: ...to here.

Change-Id: I10cb5f628dad2fdbb01df58134996bdcd0b73d62
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:19:56 +01:00
Simon Tournier 4410b818df gnu: gnome-recipes: Move libgd origin from phases to native-inputs.
* gnu/packages/dlang.scm (gnome-recipes)[arguments]<phases>: Move libgd
origin from here...
[native-inputs]: ...to here.

Change-Id: Ic1775a66608e114b5b31058386c8b739c155b7a5
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-12-16 00:19:56 +01:00
Ludovic Courtès f8f005815e packages: Use origin file names as their input labels.
* guix/packages.scm (add-input-label): Rely on 'origin-actual-file-name' for
internal inputs labels.
* tests/packages.scm ("this-package-input, origin"): New test.
* doc/guix.texi (package Reference): Mention origin lookup for
‘lookup-package-input’ & co.
* gnu/packages/base.scm (tzdata)[inputs]: Reintroduce label.
* gnu/packages/tex.scm (texlive-hyphen-complete)[inputs]: Likewise.
(texlive-newverbs)[native-inputs]: Likewise.

Change-Id: I6ba5352b1b1b8ab810da3730b09cb9db61d6429c
Co-authored-by: Simon Tournier <zimon.toutoune@gmail.com>
2024-12-16 00:19:56 +01:00
Danny Milosavljevic e9e4b2fafd gnu: python-extension-helpers: Fix build.
* gnu/packages/python-xyz.scm (python-extension-helpers)[native-inputs]:
Add python-pip.

Change-Id: I831a04e0581e5bbfb975d3cf8cc4ecb1e8ab01fd
2024-12-15 23:39:13 +01:00
Ricardo Wurmus 2743faebb2 gnu: python-deeptools: Add missing inputs.
* gnu/packages/bioinformatics.scm (python-deeptools)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I36e563e9fbdaf9c34b9ca8437c3559e04b3f58a6
2024-12-15 20:34:52 +01:00
Ricardo Wurmus ca0262ad5e gnu: python-xarray: Disable bad tests.
* gnu/packages/python-science.scm (python-xarray)[arguments]: Disable two
tests.

Change-Id: Ia9799a5bd247907ee875925431cd0fe2714f51b3
2024-12-15 20:22:51 +01:00
Ricardo Wurmus e4aeec2fe4 gnu: snakemake: Add missing inputs.
* gnu/packages/python-xyz.scm (snakemake)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I133a813d1c5a5d6d7c4450d09987ee94e97b9089
2024-12-15 20:21:21 +01:00
Ricardo Wurmus ba450f1879 gnu: python-loompy: Fix build.
* gnu/packages/bioinformatics.scm (python-loompy)[build-system]: Use
pyproject-build-system.
[arguments]: Remove custom 'check phase; add phase 'numpy-compatibility.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I2a3121e042fb7f7980bae14cea3e256fd4c9b115
2024-12-15 20:16:29 +01:00
Ian Eure de4ab8c770 gnu: python-jellyfin-apiclient: Fix build.
* gnu/packages/python-xyz.scm (python-jellyfin-apiclient)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I8966718c60e44e398ab56ace905f4105a8a44569
2024-12-15 19:56:25 +01:00
Ian Eure 356e0ce87f gnu: python-sqlalchemy-2: Fix build.
* gnu/packages/databases.scm (python-sqlalchemy-2)[native-inputs]: Add
python-wheel.

Change-Id: Ie35026f3049f9103397979cc6d0b8b347584d92d
2024-12-15 19:55:55 +01:00