1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-27 04:30:32 +02:00
Commit Graph

166706 Commits

Author SHA1 Message Date
Sharlatan Hellseher
d704f9f6d4 gnu: python-google-api-core: Fix tests on python-3.12.
* gnu/packages/python-web.scm (python-google-api-core)[arguments]
<test-flags>: Ignore faileur on deprecation warning.

Change-Id: I8aff71d3a7c0fd2a4c4505fff0173f23c86455b0
2026-04-10 09:13:25 +01:00
Hugo Buddelmeijer
e238450ebd gnu: python-pyu2f: Update to 0.1.5-0.064be5a.
* gnu/packages/python-crypto.scm (python-pyu2f): Update to 0.1.5-0.064be5a.

Change-Id: I63a7f743f1e128b1e969056db35c3557e2791b86
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:25 +01:00
Hugo Buddelmeijer
71505845c3 gnu: python-makefun: Update to 1.16.0-0.bacb3e1.
* gnu/packages/python-xyz.scm (python-makefun): Update to 1.16.0-0.bacb3e1.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-wheel; add python-pytest-asyncio.

Change-Id: Iac0e5bad44b481b7f78ea5fec5da6ba9de50cc75
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:25 +01:00
Hugo Buddelmeijer
e5d5869515 gnu: python-httplib2: Update to 0.31.2.
* gnu/packages/python-web.scm (python-httplib2): Update to 0.31.2.
[propagated-inputs]: Add python-pyparsing and python-pysocks.
[native-inputs]: Remove python-future and python-pyparsing.

Change-Id: I6d8272b1ffa00fa54d1fd72f21202fe6f7464c66
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:25 +01:00
Hugo Buddelmeijer
7900e636ac gnu: python-flask-sqlalchemy: Update to 3.1.1-0.168cb4b.
* gnu/packages/python-web.scm (python-flask-sqlalchemy): Update to
3.1.1-0.168cb4b.
[source]: Switch to git-fetch.

Change-Id: I42972b20f998e5f99cab02938eb9cdd678720ef5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:24 +01:00
Hugo Buddelmeijer
c04950dde7 gnu: python-srsly: Update to 2.5.2.
* gnu/packages/python-xyz.scm (python-srsly): Update to 2.5.2.
[source]: Switch to git-fetch.

Change-Id: I0e5544b6d4258e6f9d66be3751247815e06f96c9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:24 +01:00
Hugo Buddelmeijer
eda883e7f5 gnu: python-catalogue: Update to 2.0.10.
* gnu/packages/python-xyz.scm (python-catalogue): Update to 2.0.10.
[native-inputs]: Remove python-wheel.

Change-Id: I5f1c5357f58454a70ec56ef1ff93944ad43fcb48
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:24 +01:00
Hugo Buddelmeijer
a1715600ff gnu: python-bson: Update to 0.5.10-0.4e6b4c2.
Fix build in Python 3.12.

* gnu/packages/python-xyz.scm (python-bson): Update to  0.5.10-0.4e6b4c2.

Change-Id: I412852030b326dfb20d57c7d75bc50073027abad
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:24 +01:00
Yan Abu Arab
12636df20d gnu: python-pydantic-core: Cleanup unneeded phase.
* gnu/packages/python-xyz.scm (python-pydantic-core)[phases]{patch-pyproject}:
Remove phase.

Merges: https://codeberg.org/guix/guix/pulls/6358
Change-Id: I04d0aaac7aec000db4e276e61097d55f9d8c630e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:24 +01:00
jgart
829e4b293c gnu: python-abjad: Update to 3.31.
* gnu/packages/music.scm (python-abjad): Update to 3.31.
[arguments]<tests?>: Enable them.
[phases]{fix-docstring}: Remove phase.
{remove-local-source}: New phase.
[native-inputs]: Add python-setuptools.
[description]: Fix fill-column.

Merges: https://codeberg.org/guix/guix/pulls/4256
Change-Id: Id5241c1fe706a57fabc6d714d4b92b49d8228be8
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:24 +01:00
Nicolas Graves
32434fac6f gnu: python-cython-0: Fix build for python@3.12.
* gnu/packages/python-xyz.scm
(importlib-util-load-dynamic): Add helper string.
(python-cython-0)[arguments]<#:phases>: Add phase
'fix-pyximport-python-3.12.

Merges: https://codeberg.org/guix/guix/pulls/6222
Change-Id: I403e72cfdc82210bdfcbcb21e77cef89e8c68398
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:24 +01:00
Sharlatan Hellseher
ef6c0f98dd gnu: Remove python-greenlet-2.
* gnu/packages/python-xyz.scm (python-greenlet-2): Delete variable.

Fixes: guix/guix#6801
Change-Id: Ib008ce81ca3af00d8c5c933d615b5a89effcc9ca
2026-04-10 09:13:23 +01:00
Hugo Buddelmeijer
ee8e8b1f4a gnu: python-virtualenv: Fix build.
The test_build_c_ext.py test explicitly checks for >= 3.12 to decide
to access the internet.

* gnu/packages/python-xyz.scm (python-virtualenv): Fix build.
[arguments]<#:test-flags>: Ignore internet-requiring test.

Change-Id: I4c48f7820ef222dd7deb334334558850b7c79b04
2026-04-10 09:13:23 +01:00
Hugo Buddelmeijer
d0cb6a52f8 gnu: python-fastapi: Update to 0.131.0.
* gnu/packages/python-web.scm (python-fastapi): Update to 0.131.0.
[native-inputs]: Remove python-sqlalchemy; add python-sqlalchemy-2.
[arguments]<#:test-backend>: Use 'custom.
<#:test-flags>: Update tests.
[home-page]: Update with redirect.
2026-04-10 09:13:23 +01:00
Hugo Buddelmeijer
5f80dd54aa gnu: python-httpbin: Update to 0.10.2.
* gnu/packages/web.scm (python-httpbin): Update to 0.10.2.
[propagated-inputs]: Remove python-greenlet-2; add python-greenlet.
[native-inputs]: Remove python-wheel.

Change-Id: I864cbade29f19667f1479139558738f63e8a4230
2026-04-10 09:13:23 +01:00
Sharlatan Hellseher
006e8a1eb0 gnu: python-roman: Fix tests.
* gnu/packages/python-xyz.scm (python-roman)[arguments]<test-flags>:
Add unitest discovery option in "src" directory.

Change-Id: I3e14d0a0bf6f5e50ec5755d4f1846123ca34e877
2026-04-10 09:13:23 +01:00
Sharlatan Hellseher
e70966baa2 gnu: fontforge: Fix build on python-3.12.
* gnu/packages/fontutils.scm (fontforge): Update to 20230101.
[inputs]: Add python-setuptools-bootstrap.

Change-Id: I4d997fe2b1d05a6d4629a80e98378d5a98252b0c
2026-04-10 09:13:23 +01:00
Nicolas Graves
fe78a0babc gnu: libtorrent-rasterbar: Fix build on python-3.12.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[native-inputs]:
Add python-setuptools.

Change-Id: I551065bcac8e62e3d25a95e235c567150ffe2ce3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:23 +01:00
Nicolas Graves
69f2dfe6ca gnu: libpwquality: Fix package build on python-3.12.
* gnu/packages/password-utils.scm (libpwquality)
[arguments]: Improve style, use gexps.
[native-inputs]: Improve style, add python-setuptools.

Change-Id: I124701452e3f8e22625aa30f69a51a71cb6827de
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:22 +01:00
Nicolas Graves
1d13fd7bca gnu: python-libfreenect: Fix package build on python-3.12.
* gnu/packages/openkinect.scm (python-libfreenect)[native-inputs]: Add
python-setuptools.

Change-Id: I3c1dc418063ffd2adecd91f2ef5ad510a6792f0a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:22 +01:00
Nicolas Graves
905bbd1eed gnu: libimobiledevice: Fix package build on python-3.12.
* gnu/packages/libusb.scm (libimobiledevice)[native-inputs]: Add
python-setuptools.

Change-Id: I0450c97b418f2f3879b81be05469e1560baddfa9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:22 +01:00
Nicolas Graves
8f766042f5 gnu: libplist: Fix package build on python-3.12.
* gnu/packages/libusb.scm (libplist)[native-inputs]: Add
python-setuptools.

Change-Id: If93408cb375f3e1d62207cb2a82bd4e3f0ee636a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:22 +01:00
Nicolas Graves
d8cf3df12a gnu: openpmix: Fix package build on python-3.12.
* gnu/packages/parallel.scm (openpmix)[native-inputs]: Add
python-setuptools.

Change-Id: I6b4c3e880a5678887d32f5fdb4ef11d308bafe91
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:13:20 +01:00
Nicolas Graves
f49f1b4edb gnu: libselinux: Fix package build under python-3.12.
* gnu/packages/selinux.scm (libselinux)[native-inputs]: Add
python-setuptools.

Change-Id: I035052b9e87690c9a7bf5a7b8526871a8f57df78
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:25 +01:00
Nicolas Graves
b05ccc9ee9 gnu: ableton-link: Fix package build under python-3.12.
* gnu/packages/audio.scm (ableton-link)
[arguments]: Relocate field, improve style (use gexps, and
search-input-file).
[native-inputs]: Add python-setuptools.

Change-Id: I7d6773334674ddaec0ab7c611fb64e6e4cb43879
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:25 +01:00
Nicolas Graves
f6c07fb0a1 gnu: libiio: Fix package build under python-3.12.
* gnu/packages/radio.scm (libiio)
[native-inputs]: Add python-setuptools.
[license]: Relocate field.

Change-Id: Ief3c5f10b0744e4121b8b9297382d2d2d6598277
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:24 +01:00
Cayetano Santos
8c758db120 gnu: python-motulator: Update to 0.6.2.
* gnu/packages/engineering.scm (python-motulator): Update to 0.6.2.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-ipykernel and python-toml.
[propagated-inputs]: Add python-tqdm.

Change-Id: Ic29ffedc4b663e4d2138cacc56e69c135add7f6d
2026-04-10 09:10:24 +01:00
Aaron Covrig
f05c0d2c97 gnu: python-lxml: Update to 6.0.2.
* gnu/packages/xml.scm (python-lxml): Update to 6.0.2.

Change-Id: I5c16b8a2819e96a5fdeadbb35b72789cb78d1945
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:24 +01:00
Yan Abu Arab
59866d769f gnu: maturin: Update to 1.11.5.
* gnu/packages/rust-apps.scm (maturin): Update to 1.11.5.
[arguments]<#:cargo-test-flags>: Add skip for test_pep639 and
metadata_hello_world_pep639, renamed 'test' namespace to 'tests'.
[inputs]: Add zstd:libs.
[native-inputs]: Add pkg-config.
* gnu/packages/patches/maturin-no-cross-compile.patch: Update to 1.11.5.
* gnu/packages/rust-crates.scm (maturin): Update dependencies.

Change-Id: Ic479aa238b60331402749ff24fbf2a5e2b4c280c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:24 +01:00
Sharlatan Hellseher
fedccab66c gnu: python-pluggy: Switch to git-fetch.
* gnu/packages/python-build.scm (python-pluggy):
[source]: Switch to git-fetch.
[arguments] <tests?>: Disable to break cycle with Pytest.
[native-inputs]: Remove python-wheel.
[home-page]: Use the URL mentioned on GitHub.

Change-Id: I81b053c7de9e57598e2172e6b5c001a15b770e45
2026-04-10 09:10:24 +01:00
Nicolas Graves
e0a334f5df gnu: ganeti: Switch to pyproject.
* gnu/packages/virtualization.scm (ganeti):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: I7ae1cfede7f6eea321deb35af2f1bb32c610e570
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:23 +01:00
Nicolas Graves
6abc5ea45f gnu: ganeti: Improve style.
* gnu/packages/virtualization.scm (ganeti): Run guix style.
[arguments]: Run guix style -S arguments.
<#:phases>: Improve phase 'create-vcs-version.
[native-inputs]: Add comment to explain why there are still labels.

Change-Id: I3dbdb93292076597bf73d580d5dac22e0e40311a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:23 +01:00
Nicolas Graves
bf5f59e68d gnu: sugar-toolkit-gtk3: Switch to pyproject.
* gnu/packages/sugar.scm (sugar-toolkit-gtk3):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: Ie0f16e7616afc7e505e64e4be660f86f3952812d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:23 +01:00
Nicolas Graves
dcb16ba894 gnu: sby: Switch to pyproject.
* gnu/packages/electronics.scm (sby):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: I0d0ab1a192352c719a318a8383b9c77e4f979d00
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:23 +01:00
Nicolas Graves
3955d4b41f gnu: mcy: Switch to pyproject.
* gnu/packages/electronics.scm (mcy):
[arguments]<#:imported-modules, #:modules, #:phases>: Switch to
pyproject-build-system.

Change-Id: I0f1004a7c28e88a49a5c55bccdb734d4e017b8c5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:23 +01:00
Nicolas Graves
26ce237a87 gnu: eqy: Switch to pyproject.
* gnu/packages/electronics.scm (eqy):
[arguments]<#:imported-modules, #:modules, #:phases>: Switch to
pyproject-build-system.

Change-Id: Id206edb3a75bc025b18c70fc27a7d3b40efb2852
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:23 +01:00
Nicolas Graves
6ac4071602 gnu: koboldcpp: Switch to pyproject.
* gnu/packages/machine-learning.scm (koboldcpp):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: I320ad76b1c475f12a0cefc036bd1a19d91e00041
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:23 +01:00
Nicolas Graves
dd022cd535 gnu: llama-cpp: Switch to pyproject.
* gnu/packages/machine-learning.scm (llama-cpp):
[arguments]<#:imported-modules, #:modules>: Relocate keywords. Switch
to pyproject-build-system.

Change-Id: I0b99e2b4b4beaf9fd085428022ec38b9e25995c3
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:22 +01:00
Nicolas Graves
fee6ca7d18 gnu: sbcl-burgled-batteries3: Switch to pyproject.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.
<#:phases>: Rewrite phase 'set-*cpython-include-dir*-var to use modern
procedures.

Change-Id: Ifd210c047f29b5ddae84cdde93efe35a557fc810
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:22 +01:00
Nicolas Graves
81c04d5f40 gnu: emacs-jedi: Switch to pyproject.
* gnu/packages/emacs-xyz.scm (emacs-jedi)[arguments]<#:modules>:
Switch to pyproject.

Change-Id: I77ac94bbf8bd43e9f366ff7047a3bf90bf31c6fc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:22 +01:00
Nicolas Graves
9ad86a6a8a gnu: sbcl-burgled-batteries3: Improve style.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[arguments]: Use
modern style.

Change-Id: I9399703d9a207526a2f4f07fbfd65dff92881053
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:22 +01:00
Nicolas Graves
1ab5117cab gnu: qgis: Switch to pyproject.
* gnu/packages/geo.scm (qgis):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.
<#:phases>: Rewrite phase 'configure-pyqt5-sip-path with site-packages.

Change-Id: I481c31160d4452d6c146eb8c65966f1b2f4c1342
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:22 +01:00
Nicolas Graves
51758c52ab gnu: grass: Switch to pyproject.
* gnu/packages/geo.scm (grass):
[arguments]<#:imported-modules, #:modules>: Switch to
pyproject-build-system.

Change-Id: I00f74565eaab9e33f4cb8652b1df7f283e50a4cf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:22 +01:00
Nicolas Graves
1a5d84ea43 gnu: dblatex: Fix build with python@3.12.
* gnu/packages/patches/dblatex-importlib.patch: New file.
* gnu/packages/docbook.scm (dblatex)[origin]<patches>: Record patch.
* gnu/local.mk: Record patch.
2026-04-10 09:10:21 +01:00
Nicolas Graves
42ea4e747d gnu: nmap: Fix tests under python@3.12.
* gnu/packages/admin.scm (nmap)[arguments]<#:phases>:
Add phase 'fix-tests-for-python-3.12.

Change-Id: I9f4aa9fceca2d922e00b6305878e137644c2a39f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-10 09:10:21 +01:00
Nicolas Graves
aeaa81a9f0 gnu: python: Refactor module.
* gnu/packages/python.scm
(common-python-phases): New variable, encompassing phases used both in
all python packages.  Add a warning comment.
(common-python3-phases): New variable, encompassing phases used in all
python@3 packages.  Add a warning comment.
(python-2.7)[arguments]<#:phases>: Modify them
from (common-python-phases) base.
(python-3.10)[arguments]: Avoid substituting python-2.7 arguments.
<#:configure-flags>: ...except here, which is fine since it's not
further inherited.
<#:phases>: Modify them from (common-python3-phases) base.
(python-3.11)[arguments]<#:phases>: Modify them
from (common-python3-phases) base.
(python-2.7)[arguments]<#:phases>: Modify them
from (common-python3-phases) base.
2026-04-10 09:10:21 +01:00
Andreas Enge
6a84f6c2a9 gnu: python-3: Set to python-3.12.
* gnu/packages/python.scm (python-3): Define as python-3.12 instead of
python-3.11.

Change-Id: Ibb7106f19f54a5d7e58a128f37a2b62ba3b60e8c
2026-04-10 09:10:21 +01:00
Andreas Enge
309757f8de gnu: python-3.12: Set name to "python".
* gnu/packages/python.scm (python-3.12)[name]: Set to "python" instead
of "python-next".

Change-Id: I01bcc4adff7aaa97f7077279800d6ecc0ae1c36d
2026-04-10 09:10:18 +01:00
Hilton Chain
d9c7933f8e gnu: gamemode: Patch library references.
This change addresses the following error:
$ gamemoderun echo
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

* gnu/packages/linux.scm (gamemode) [arguments] <#:phases>: Patch
libgamemode.so.0 and libgamemodeauto.so.0 references.

Change-Id: I8a32677c835bcc1c2fe1a9d6e4363fbb32a88dc7
Merges: #7728
2026-04-10 13:14:26 +08:00
Hilton Chain
1e98199d97 gnu: pinentry-qt: Add qt-wrap phase.
* gnu/packages/gnupg.scm (pinentry-qt) [arguments]: Add qt-wrap phase from
qt-build-system.

Change-Id: Ib9e98ae4c094dc5f88ebbb2c5617d6de2310473c
2026-04-10 13:14:26 +08:00