Ricardo Wurmus
c7a0088d3f
gnu: python-ipython: Update to 8.22.1.
...
* gnu/packages/python-xyz.scm (python-ipython): Update to 8.22.1.
[source]: Use git-fetch.
[build-system]: Use pyproject-build-system.
[arguments]: Disable tests that need git; respect test flags in custom check
phase.
[propagated-inputs]: Remove python-backcall, python-jinja2, python-jsonschema,
python-matplotlib, python-mistune, python-nbformat, python-numpy,
python-numpydoc, python-pickleshare, python-pyzmq, python-simplegeneric, and
python-terminado; add python-colorama, python-exceptiongroup, and
python-typing-extensions.
[native-inputs]: Remove graphviz, pkg-config, and python-requests; add
python-curio, python-matplotlib, python-nbformat, python-numpy, python-pandas,
python-pickleshare, python-pytest-asyncio, python-setuptools, python-testpath,
python-wheel.
Change-Id: Iecdbb03b0f81ef0d4bf84187ef9fcd7ff744f3ab
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
446973b4a1
gnu: python-prompt-toolkit: Update to 3.0.43.
...
* gnu/packages/python-xyz.scm (python-prompt-toolkit): Update to 3.0.43.
Change-Id: I55d26227bd5c20f9da61932ac8f51ef6fe4122d9
2024-12-13 20:18:32 +00:00
Ricardo Wurmus
b3949c72d9
gnu: python-traitlets: Update to 5.14.1.
...
* gnu/packages/python-xyz.scm (python-traitlets): Update to 5.14.1.
[arguments]: Disable two typing tests.
[native-inputs]: Add python-argcomplete, python-mypy, and
python-pytest-mypy-testing.
Change-Id: Ie77ca0837977147f657cd4daa2f8f90ed07ebdfd
2024-12-13 20:18:32 +00:00
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
1ef178c644
doc: Document new options for pyproject-build-system.
...
* doc/guix.texi (Build Systems): Add documentation for
changed #:configure-flags and new #:backend-path.
Change-Id: Ic8be598ea52ae04230b1e61c329ee55ccbb5dd63
2024-12-13 20:15:42 +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
a163b85444
guix: toml: Add TOML parser.
...
* guix/build/toml.scm: New file.
* tests/toml.scm: New file.
* Makefile.am: Register new files.
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
275123dbd9
build-system/python: Ignore symlinks when changing mtime.
...
* guix/build/python-build-system.scm (ensure-no-mtimes-pre-1980): Ignore
'symlink.
2024-12-13 20:15:41 +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
98aca7a2b6
etc: upgrade: Attempt to upgrade the latest libgit2, not the default one.
...
* etc/manifests/upgrade.scm (security-packages): Use
‘specification->package’ for libgit2.
Change-Id: I6901ff6d40c645b292aab4779acf1c0547fdc024
2024-12-12 23:30:52 +01:00
Ludovic Courtès
5e2daf4b10
maint: Add ungrafting manifest.
...
* etc/manifests/ungraft.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
Change-Id: If4aa7649721b93d3297ecd967d5db4a6b71ec6eb
2024-12-12 23:23:34 +01:00
Ludovic Courtès
46a8922105
guix build: Last argument of ‘dependents’ is optional.
...
* guix/scripts/build.scm (dependents): Make ‘max-depth’ optional.
Improve docstring.
Change-Id: Ibeffcf15297ecba3d4000b3adb4e3bc7853f6957
2024-12-12 23:23:34 +01:00
Ludovic Courtès
3addff87c1
build-system/cargo: Simplify ‘crate-closure’.
...
* guix/build-system/cargo.scm (crate-closure): Remove ‘first?’.
Change-Id: Ica1a661eb422a882ae3a1a54819b2dd7d68449de
2024-12-12 23:23:34 +01: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
Ludovic Courtès
12d00767f0
etc: Move manifests to a separate directory.
...
* etc/disarchive-manifest.scm, etc/hurd-manifest.scm,
etc/kernels-manifest.scm, etc/release-manifest.scm,
etc/source-manifest.scm, etc/system-tests.scm,
etc/time-travel-manifest.scm, etc/upgrade-manifest.scm: Move to…
* etc/manifests: … here, and drop “-manifest” from file name.
* Makefile.am (EXTRA_DIST, assert-binaries-available, check-system):
Adjust accordingly.
Change-Id: Iedee3d0cdd42e72ef8bbf654ea5d3b47dca95874
2024-12-12 23:23:33 +01:00
Tomas Volf
b8a45bd047
build: Fix detection of guile-ssh.
...
Fixes <https://issues.guix.gnu.org/74800 >.
The check for make-session stopped working after update to 0.18.0. This
commit adds the additional `#:config #f' to skip reading the ssh
configuration, arguably we did not want to do that anyway.
* m4/guix.m4 (GUIX_CHECK_GUILE_SSH): Add `#:config #f' to make-session call.
Change-Id: Id6ea3860292159ac2e6cf2a77df5f720f66aa071
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reported-by: Dariqq <dariqq@posteo.net>
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
Gabriel Wicki
1fad7d9d15
doc: cookbook: Document postgres upgrade for cuirass.
...
* doc/guix-cookbook.texi(System Management): New chapter.
[Upgrade Postgres for Cuirass] New node.
Change-Id: I23aae16b1f50b6c40c56b78712dfd6eae3834761
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-12 12:52:08 +01:00