1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 22:50:34 +02:00
Commit Graph

136719 Commits

Author SHA1 Message Date
Ricardo Wurmus
ea1de82bce gnu: python-argcomplete: Update to 3.2.2.
* gnu/packages/patches/python-argcomplete-1.11.1-fish31.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/python-xyz.scm (python-argcomplete): Update to 3.2.2.
[source]: Delete obsolete patch.
[build-system]: Use pyproject-build-system.
[arguments]: Override check phase.
[native-inputs]: Remove python-flake8; add python-mypy, python-setuptools, and
zsh.

Change-Id: Ia7e37db2b535177eb2caeeab9d7e075af3f273a3
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
92581c8a2e gnu: Add python-pytest-mypy-testing.
* gnu/packages/check.scm (python-pytest-mypy-testing): New variable.

Change-Id: Ic55e63745eae070e439155f1dc6792285eb87312
2024-12-13 20:18:31 +00:00
Sharlatan Hellseher
62e7a5220a gnu: python-lightning-cloud: Disable tests.
* gnu/packages/machine-learning.scm (python-lightning-cloud) [arguments]
<#:tests?>: Set to #f as PyPI archive does not provide any.

Change-Id: I406b6515441d01dc1612caa3d3e7b70fa7b2c980
2024-12-13 20:18:31 +00:00
Sharlatan Hellseher
d1133823da gnu: python-myst-parser: Relax some requirements.
* gnu/packages/sphinx.scm (python-myst-parser) [arguments]
<#:test-flags>: Disable one more failing test.
<#:phases>: Add 'relax-requirements phase.

Change-Id: I4f77ce81e9f69b81b18f3faa546c7d8cd77adf50
2024-12-13 20:18:31 +00:00
Felix Gruber
7987f01baa gnu: python-textual: Update to 0.50.1.
* gnu/packages/python-xyz.scm (python-textual): Update to 0.50.1.
[source]: Download from github as pypi package does not include tests.
[build-system]: Change to pyproject-build-system.
[arguments]: Remove custom 'check phase; add #:test-flags to disable
broken tests.
[propagated-inputs]: Add python-markdown-it-py, python-mdit-py-plugins
and python-tree-sitter.
[native-inputs]: Add python-poetry-core and python-pytest-asyncio.

Change-Id: Ib144dc87f73e91d4c9d2e8f91ce6ce7a86a481a9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:18:31 +00:00
Sharlatan Hellseher
aa2771faff gnu: python-jupytext: Update to 1.15.0.
* gnu/packages/python-xyz.scm (python-jupytext): Update to 1.15.0.

Change-Id: I8cbd4e45eae838cb1733bf8feeb3bc2abe960513
2024-12-13 20:18:31 +00:00
Felix Gruber
98cab4b183 gnu: python-rich: Update to 13.7.0.
* gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0.
[source]: Use git-fetch since pypi package doesn't include tests.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-attrs, python-colorama,
python-commonmark and python-typingextensions; add
python-ipywidgets and python-markdown-it-py.
[native-inputs]: Add python-poetry-core; remove tests (which are now
included in new [source]).

Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:18:31 +00:00
Felix Gruber
8ba5d79d5a gnu: python-mdit-py-plugins: Update to 0.4.0.
* gnu/packages/python-xyz.scm (python-mdit-py-plugins): Update to 0.4.0.

Change-Id: I18ca46abebe125d1a6729c10a3f4fa4a62a145ba
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:18:30 +00:00
Felix Gruber
ccb2541641 gnu: python-markdown-it-py: Update to 3.0.0.
* gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 3.0.0.
[propagated-inputs]: Remove python-typing-extensions; add python-commonmark,
python-linkify-it-py, python-markdown, python-mistletoe,
python-mistune, python-panflute, python-psutil, and python-pyyaml.
[native-inputs]: Remove python-flit; add python-flit-core.

Change-Id: I5dc06b163ddbec0a32a9d7c3da2c834b2e74cd74
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:18:30 +00:00
Ricardo Wurmus
976cb712f5 gnu: meson-python: Do not delete LICENSES directory.
* gnu/packages/build-tools.scm (meson-python)[arguments]: Remove custom
phases.

Change-Id: I653d18200dbb718791b3e193105b7ce9b22aa6e2
2024-12-13 20:18:30 +00:00
Ricardo Wurmus
332ae4deda gnu: Add setuptools/wheel to more Python packages.
* gnu/packages/python-check.scm (python-beartype,
python-pytest-csv)[native-inputs]: Add python-setuptools and python-wheel.
* gnu/packages/python-xyz.scm (python-watchdog, python-xyzservices,
python-zeroconf)[native-inputs]: Same.

Change-Id: Ifac6402da7447a95f4f8fca8d475e87c001bd583
2024-12-13 20:18:30 +00:00
Ricardo Wurmus
6f76ab84ba gnu: python-typing-extensions: Update to 4.10.0.
* gnu/packages/python-build.scm (python-typing-extensions): Update to 4.10.0.

Change-Id: I51c82f40f8093e17e8c6a8f20f1e3eae0917f8ee
2024-12-13 20:18:30 +00:00
Ricardo Wurmus
52813c9e98 gnu: python-sphinx: Update to 6.2.1.
* gnu/packages/sphinx.scm (python-sphinx): Update to 6.2.1.
[arguments]: Only disable one test.
[propagated-inputs]: Add texlive-booktabs.
(python-sphinx-5): New variable, inherit from python-sphinx.

Change-Id: I95144924c4c0f293993bfbd7b644c378dd160077
2024-12-13 20:18:30 +00:00
Lars-Dominik Braun
3c43863419 gnu: Add missing import (again).
Change-Id: I8a7de728a0c6bb3a54ad7213cb6cdc39e1172c81
2024-12-13 20:18:30 +00:00
Lars-Dominik Braun
b9b2cf3ccb gnu: Add missing import.
Change-Id: I096914ef3980a99e553f512d1e83a0a1e01b4f7e
2024-12-13 20:18:29 +00:00
Lars-Dominik Braun
6d97c15911 gnu: Add python-setuptools/python-wheel where necessary.
Changes to pyproject-build-system require explicit dependency on
setuptools/wheel.

Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
2024-12-13 20:18:25 +00:00
Lars-Dominik Braun
e6dd1f411d guix: pyproject-build-system: Default configure-flags to empty dictionary.
PEP 517 specifies it should be a dictionary and thus meson-python cannot
handle an empty list.

Fixes: <https://issues.guix.gnu.org/62781>

* guix/build-system/pyproject.scm (lower): Change default of configure-flags.
* gnu/packages/build-tools.scm (meson-python)[arguments]: Remove #:build-backend,
which was a workaround for this bug.
[native-inputs]: Remove python-p~a-build and python-wheel, which are
not required when using the default build system.

Change-Id: I240ced5c88cf55cbee0d6005d7657bfb6b653b12
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
0ce36a9cf3 gnu: python-pytest-xdist: Disable failing test.
* gnu/packages/check.scm (python-pytest-xdist)[arguments]: Skip failing
test.
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
efbce9a69a build-system/pyproject: Use TOML parser.
More reliable than regular expressions.

* guix/build-system/pyproject.scm (%pyproject-build-system-modules): Add (guix build toml).
(pyproject-build): Add argument #:backend-path.
* guix/build/pyproject-build-system.scm (build): Add support for
auto-detected and override backend-path.
* gnu/packages/python-build.scm (python-tomli)[arguments]: Remove
'add-self-to-path, because it is not necessary any more.
(python-poetry-core): Same.
(python-hatchling): Same.
(python-pdm-backend): Same.
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
eabed5e53d gnu: sssd: Import ensure-no-mtimes-pre-1980.
* gnu/packages/sssd.scm (sssd)[arguments]: Add
python-build-system to #:modules and #:imported modules instead of using
@@ reference.

Change-Id: Id5217e4872a62323691b8976030a1768a6885942
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
d4e7ce92e3 gnu: criu: Remove temporary workaround.
* gnu/packages/virtualization.scm (criu)[arguments]: Import
ensure-no-mtimes-pre-1980 from python-build-system and remove copied code.

Change-Id: I2ab9eb51dfa66fcf5b0144eab73d63055400e30c
2024-12-13 20:15:42 +00:00
Lars-Dominik Braun
fdc0fefd46 build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.

* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.

Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Ricardo Wurmus
ca945f7c35 gnu: python-sphinx: Update to 5.3.0.
* gnu/packages/sphinx.scm (python-sphinx): Update to 5.3.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom check phase; add pre-check phase.
[propagated-inputs]: Add python-colorama, python-filelock, python-flake8,
python-html5lib, python-isort, python-mypy, python-sphinxcontrib-websupport,
and python-types-requests.
[native-inputs]: Remove python-html5lib; add python-flit-core.

Change-Id: I843d70361cdf707ca67616075f4c71f1e59a72f3
2024-12-13 20:15:41 +00:00
Ricardo Wurmus
1190d8b148 gnu: python-sphinx-alabaster-theme: Update to 0.7.13.
* gnu/packages/sphinx.scm (python-sphinx-alabaster-theme): Update to 0.7.13.
[build-system]: Use pyproject-build-system.
2024-12-13 20:15:41 +00:00
Ricardo Wurmus
49982bb455 gnu: python-imagesize: Update to 1.4.1.
* gnu/packages/python-xyz.scm (python-imagesize): Update to 1.4.1.
[build-system]: Use pyproject-build-system.
2024-12-13 20:15:41 +00:00
Ricardo Wurmus
1269e01d3e gnu: python-pygments: Update to 2.15.1.
* gnu/packages/python-xyz.scm (python-pygments): Update to 2.15.1.
[build-system]: Use pyproject-build-system.
[arguments]: Run tests.
[native-inputs]: Add python-pytest.
2024-12-13 20:15:39 +00:00
Tomas Volf
0787a180b3 gnu: ngtcp2: Update to 1.9.1 [security fixes].
Fixes CVE-2024-52811.

* gnu/packages/networking.scm (ngtcp2): Update to 1.9.1.

Change-Id: Ifeb686e7cb66d8358d69277ac98472e1b0880860
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 18:20:07 +08:00
Tomas Volf
4c56e234dd gnu: cni-plugins: Update to 1.6.1.
* gnu/packages/containers.scm (cni-plugins): Update to 1.6.1.

Change-Id: I7c956732b118ab9654fbc3dce409498ea5ce08bb
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 18:19:59 +08:00
Tomas Volf
1b2e0fb85e gnu: crun: Update to 1.19.
* gnu/packages/containers.scm (crun): Update to 1.19.

Change-Id: Iadebc4419293075c78a377e27fe5c6cdfc6c373c
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 18:19:42 +08:00
Ashish SHUKLA
b8329e0721 gnu: zfs: Update to 2.2.7.
* gnu/packages/file-systems.scm (zfs): Update to 2.2.7.

Change-Id: I91e1cf9651937b231de46431c9865cbcea29c89b
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 11:55:01 +08:00
Igor Goryachev
49486911df gnu: erlang: Update to 27.2.
* gnu/packages/erlang.scm (erlang): Update to 27.2.

Change-Id: Ib7ed842d8112838c3b7dd2eb5d010822c2faf598
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-12-13 11:54:58 +08:00
Ludovic Courtès
97e7e47d6f packages: Optimize ‘all-packages’.
On my laptop, wall-clock time for (all-packages) goes from 27s to 1s.

* gnu/packages.scm (all-packages): Use a hash table to remember visited
packages instead of calling ‘delete-duplicates’ on the final list.

Change-Id: I4aae804656b56ef2095993e91f0572a5891f419f
2024-12-12 23:23:33 +01:00
Amélia Coutard-Sander
a9003b8e6b gnu: gnunet-gtk: Update to 0.23.0.
* gnu/packages/gnunet.scm (gnunet-gtk): Update to 0.23.0.

Change-Id: I2d5f47b5773c72777bc0ad4e4ebeaee63c3005b1
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-12-12 15:47:31 +01:00
Amélia Coutard-Sander
4bceee3ed0 gnu: gnunet: Update to 0.23.0.
* gnu/packages/gnunet.scm (gnunet): Update to 0.23.0.
  [phases]: Adjust disable-problematic-tests phase.

Change-Id: Ibf900d929bcd257932c6997eacbfaeeda1aa7f26
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-12-12 15:43:32 +01:00
Guillaume Le Vaillant
17dacde81a gnu: cl-simple-matrix: Update to 1.2-0.76b1df4.
* gnu/packages/lisp-xyz.scm (sbcl-simple-matrix): Update to 1.2-0.76b1df4.

Change-Id: Iad0abf2dad881e2c59b7f9e94fa3c3b04b62562d
2024-12-12 15:29:20 +01:00
Hilton Chain
9ef5533123 gnu: hyprlang: Fix cross-compilation.
* gnu/packages/cpp.scm (hyprlang)[arguments]<#:phases>: Set
PKG_CONFIG_EXECUTABLE in CMakeLists.txt.

Change-Id: Ied775ece2de83f6842bf405be76ce7f33fdce5fe
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:08 +01:00
Hilton Chain
d7c1c4bc8e gnu: hyprutils: Fix cross-compilation.
* gnu/packages/cpp.scm (hyprutils)[arguments]<#:phases>: Set
PKG_CONFIG_EXECUTABLE in CMakeLists.txt.

Change-Id: Ia08cf44230c311f444e4881bdca2b759cda9b112
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:08 +01:00
Ludovic Courtès
33bed95107 services: cuirass: Run in a UTF-8 locale.
Fixes <https://issues.guix.gnu.org/73751>.

* gnu/services/cuirass.scm (cuirass-shepherd-service): Add ‘LC_ALL’.

Reported-by: Noé Lopez <noelopez@free.fr>
Change-Id: I9121a213405d287e2f15338c8608153e11c2508d
2024-12-12 12:52:07 +01:00
Ludovic Courtès
536202958c gnu: lapack: Mark as tunable.
* gnu/packages/maths.scm (lapack)[properties]: New field.

Change-Id: Iec6383a36f699a573654827a0f7ddaf52790625a
2024-12-12 12:52:06 +01:00
Danny Milosavljevic
d916d3b156 Revert "gnu: python-mathics-core: Add docs."
This reverts commit 978305639e since it was too early.

Change-Id: I934d5bd0de1a895670be44a754e54ca0ab431156
2024-12-12 11:02:06 +01:00
Ricardo Wurmus
21905248b4 gnu: snd: Update to 24.9.
* gnu/packages/audio.scm (snd): Update to 24.9.
[arguments]: Use G-expressions; add configure flag "--with-gui"; add phase
'install-s7.
[inputs]: Replace jack-1 with jack-2; remove gtk+; add motif.

Change-Id: Iaba84c2dafa4bf5c0a33f087743844412d961adc
2024-12-12 08:44:22 +01:00
Danny Milosavljevic
3d3556ace0 gnu: texmacs: Make it find qtwayland plugin at runtime.
* gnu/packages/text-editors.scm (texmacs)[build-system]: Change to qt-build-system.
(texmacs-guile3)[build-system]: Change to qt-build-system.

Change-Id: Ic7b2af22d146f757a54c3ee6d56969493a561aab
2024-12-12 07:17:22 +01:00
Danny Milosavljevic
1b319a7e30 gnu: texmacs: Add qtwayland-5.
* gnu/packages/text-editors.scm (texmacs)[inputs]: Add qtwayland-5.
(texmacs-guile3)[inputs]: Add qtwayland-5.
(mogan)[inputs]: Add qtwayland-5.

Change-Id: Ia5cebcff38059533c7add3bcc3c764cb5df1816e
2024-12-12 06:39:34 +01:00
Danny Milosavljevic
a28a8661a6 gnu: rust-swc: Fix build.
* gnu/packages/rust-apps.scm (rust-swc): Fix build.

Change-Id: I06106439e7df8112075880081c3b444d84ecccf1
2024-12-12 06:31:36 +01:00
Danny Milosavljevic
978305639e gnu: python-mathics-core: Add docs.
* gnu/packages/plotutils.scm (asymptote): Install files where latex will find them.
* gnu/packages/maths.scm (python-mathics-core): Add docs.

Change-Id: Id2dac5f9b4b3bdcfbb751a94263261fb69edb461
2024-12-12 00:56:47 +01:00
Danny Milosavljevic
8b65fdc182 gnu: Add python-mathics-django.
* gnu/packages/maths.scm (python-mathics-django): New variable.

Change-Id: I9f928a13e07f4fc680a6d0e3e965a72d45d7d80c
2024-12-12 00:30:09 +01:00
Danny Milosavljevic
942dd1700d gnu: python-networkx: Update to 3.4.2.
* gnu/packages/python-xyz.scm (python-networkx-next): New variable.

Change-Id: I59d3883f13ef60b92bd5892edf89b09defdd8845
2024-12-12 00:28:48 +01:00
Danny Milosavljevic
76fd21e0e8 gnu: python-mathics-core: Fix license.
* gnu/packages/maths.scm (python-mathics-core)[license]: Change to gpl3.

Change-Id: Ic48b004f5fd429ddf99c34d5ba891736f9ffafd6
2024-12-12 00:05:54 +01:00
Danny Milosavljevic
f168af92f7 gnu: Add python-mathicsscript.
* gnu/packages/maths.scm (python-mathicsscript): New variable.

Change-Id: Id98fe33f3e6fdef5fcdc2ea58b2f71f396b9ea23
2024-12-12 00:03:24 +01:00
Danny Milosavljevic
06dfdaf80e gnu: Add perl-pdl.
* gnu/packages (perl-pdl-2.019): New variable.

Change-Id: I608a1d59ee4dfebf9df45886c0a8bbf93bee4696
2024-12-11 23:39:36 +01:00