1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-31 03:41:30 +02:00
Commit Graph

174490 Commits

Author SHA1 Message Date
Nicolas Graves b5e2b1a2a0 gnu: python-robotframework-pythonlibcore: Fix tests.
* gnu/packages/python-xyz.scm (python-robotframework-pythonlibcore):
[native-inputs]: Add python-pytest-cov and explain why.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:28 +01:00
Nicolas Graves 2144214000 gnu: python-wtforms: Update to 3.2.2.
* gnu/packages/python-web.scm (python-wtforms): Update to 3.2.2.
[native-inputs]: Add python-babel, python-email-validator (which are
only optional runtime dependencies, but needed for tests). Add
python-setuptools.
[propagated-inputs]: Remove python-babel, python-email-validator.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:28 +01:00
Nicolas Graves e94921bd7c gnu: python-rchitect: Update to 0.4.10.
* gnu/packages/statistics.scm (python-rchitect): Update to 0.4.10.
[propagated-inputs]: Drop python-six.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:28 +01:00
Nicolas Graves e519066d01 gnu: python-svgelements: Fix build on Python@3.12.
* gnu/packages/python-xyz.scm (python-svgelements)
[source]: Switch to git-fetch.
[arguments]: Add phase 'fix-python-incompatibilities.
[native-inputs]: Drop python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Nicolas Graves a2914f185f gnu: python-warcio: Update to 1.8.1.
* gnu/packages/python-web.scm (python-warcio): Update to 1.8.1.
[native-inputs]: Drop obvious comment, drop python-wheel, add
python-pytest.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Nicolas Graves 730ccf68a0 gnu: mod-wsgi: Update to 5.0.2.
* gnu/packages/web.scm (mod-wsgi): Update to 5.0.2.
[arguments, native-inputs, inputs]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Nicolas Graves d4e612d287 gnu: tuir: Fix build with Python@3.12.
* gnu/packages/patches/tuir-python-3.12-support.patch: Add patch.

* gnu/local.mk: Record patch.

* gnu/packages/syndication.scm (tuir)
[source]<origin>: Add patch.
[arguments, inputs]: Improve style.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Nicolas Graves 99ec187e21 gnu: rubber: Fix tests.
* gnu/packages/tex.scm (rubber)[arguments]<#:phases>: Replace 'check
phase to run tests properly.

Change-Id: I6516e03cd54eb2eceeefe291f552f9e812837b9e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:27 +01:00
Sharlatan Hellseher 544a687f6b gnu: borgmatic: Update to 2.1.5.
* gnu/packages/backup.scm (borgmatic): Update to 2.1.5.
[phases]{set-path}: Remove phase.
[native-inputs]: Remove python-wheel; add python-pytest-timeout.

Change-Id: Ia6aa2d2447db4f2fff6441c52298234396d7c057
2026-05-24 10:19:27 +01:00
Sharlatan Hellseher 7054c34e48 gnu: python-lenstronomy: Skip one test.
* gnu/packages/astronomy.scm (python-lenstronomy):
[arguments] <test-flags>: Skip one more test.

Change-Id: If2738b947f6d172ba8ac371b0ff1324b53a12f9c
2026-05-24 10:19:26 +01:00
Nicolas Graves 68761af76e gnu: python-zeroc-ice-3.6: Fix build on python@3.12.
* gnu/packages/patches/python-zeroc-ice-3.6.5-python-3.12-support.patch:
  Add patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-zeroc-ice-3.6): Use it.

Merges: https://codeberg.org/guix/guix/pulls/8389
Change-Id: I73d3b981414474d880a82413dcff2fc11ef04d53
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves 03c8bfc630 gnu: python-querystring-parser: Fix tests on Python@3.12.
* gnu/packages/python-web.scm
  (python-querystring-parser)[arguments]<#:phases>:
  Drop replacement of 'check.  Add 'fix-python-incompatibilities.
  <#:test-backend, #:test-flags>: Set them.

Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves 7971513884 gnu: python-show-in-file-manager: Update to 1.1.6.
* gnu/packages/python-xyz.scm (python-show-in-file-manager):
  Update to 1.1.6.  [source]: Switch to git-fetch.
  [arguments]<#:tests?>: Disable them.
  [native-inputs]: Replace python-setuptools by python-hatchling.
  Replace python-argparse-manpage by python-hatch-argparse-manpage.
  Add python-pytest.

Change-Id: I3f0c6ce0128358fa01aeeb82d3222fdbbb78af4f
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves 0edf5af5ad gnu: python-senf: Update to 1.5.1.
* gnu/packages/python-xyz.scm (python-senf): Update to 1.5.1.
  [source]: Switch to git-fetch.
  [arguments]<#:test-flags>: Add comment.
  [native-inputs]: Remove python-wheel.

Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves 81cb24829a gnu: notmuch: Update to 0.40.
* gnu/packages/mail.scm (notmuch): Update to 0.40.
  [outputs]: Add output python.
  [arguments]<#:imported-modules, #:modules>: Import pyproject modules.
  <#:phases>: Add phase 'build-and-install-python,
  improve style of phase 'prepare-test-environment.
  [native-inputs]: Add patchelf, python-cffi, python-pytest,
  python-setuptools.  Replace python by python-wrapper.
  Remove emacs-no-x, which is not used (--without-emacs is set).

Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Nicolas Graves c137824069 gnu: python-pyvcd: Fix tests.
* gnu/packages/electronics.scm (python-pyvcd)[source]:
  Switch to git-fetch.  [native-inputs]: Add python-pytest.

Reviewed-by: Maxim Cournoyer <maxim@guixotic.coop>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:26 +01:00
Sharlatan Hellseher 830a130dc4 gnu: python-pyopengl: Update to 3.1.10.
* gnu/packages/python-graphics.scm (python-pyopengl): Update to 3.1.10.
[source]: Swap to git-fetch.
[arguments] <test-flags>: Rework skipped tests.
[phases]{fix-paths}: Switch to search-input-file, adjust regexp
patterns.
{pre-check}: New phase.
[native-inputs]: Remove python-pygame and python-wheel; add
python-psutil and python-pygame-ce.

Change-Id: I73cc20a0182b5d9aecb945fccf7740bd68afcfde
2026-05-24 10:19:26 +01:00
Sharlatan Hellseher 9b8fe6da45 gnu: python-pygame-ce: Update to 2.5.7.
* gnu/packages/game-development.scm (python-pygame-ce): Update to 2.5.7.
[source]: Swap to git-fetch.

Change-Id: Ie7a34494b1f8d1ee1a5e684a9146e6ecb4af631a
2026-05-24 10:19:26 +01:00
Nicolas Graves 72d9d1fcfa gnu: python-lfdfiles: Update to 2026.4.30.
* gnu/packages/python-xyz.scm (python-lfdfiles): Update to 2026.4.30.
[source]<snippet>: Delete ldfiles/conftest.py which prevents tests/ to
run and doesn't seem used at all.
[arguments]: Update test comment.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 81494d2031 gnu: python-linux-procfs: Fix tests.
* gnu/packages/file-systems.scm (python-linux-procfs)
[arguments]<#:test-backend, #:test-flags>: Set them.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 1fde50fe3f gnu: lirc: Fix build on Python@3.12.
* gnu/packages/lirc.scm (lirc)
[arguments]: Run guix style -S arguments.
[native-inputs]: Add python-setuptools.
[inputs]: Drop input labels.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 704ee963d1 gnu: lofreq: Fix build on Python@3.12.
* gnu/packages/bioinformatics.scm (lofreq)[native-inputs]: Add
python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 3f3927c800 gnu: libpst: Fix build on Python@3.12.
* gnu/packages/mail.scm (libpst)[native-inputs]: Add
python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves c2989a556a gnu: libnl-python-package: Fix build on Python@3.12.
* gnu/packages/linux.scm (libnl-python-package)
[inputs]: Improve style, drop input labels. For python@3, replace
python-3 by python-wrapper, and add python-setuptools.
[arguments]: Rewrite them in a modern style, don't change the logic.

Change-Id: Id87cfdcc2afdd299b46fc47f53c59bd0f75e7125
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 45ffe3d00b gnu: lensfun: Fix build on Python@3.12.
* gnu/packages/photo.scm (lensfun)[inputs]: Add python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves 3958781f18 gnu: clang-runtime: Fix build on Python@3.12.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)
[native-inputs]: Add python-setuptools.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:25 +01:00
Nicolas Graves d21bd2ae79 gnu: c-vise: Update to 2.8.0.
* gnu/packages/debug.scm (c-vise): Update to 2.8.0.
[native-inputs]: Relocate field, add python-pytest-flake8.
[inputs]: Relocate field, improve style.
[arguments]<#:phases>: Run guix style -S arguments.
In phase 'wrap, filter out native-input paths.
In phase 'hardcode-paths, use explicit "all" and "blank".

Fixes: guix/guix#8233
Change-Id: I1d3bb7c07c648f1bff731b94acc4d51559935303
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:24 +01:00
Nicolas Graves f62495b5c2 gnu: bcc: Fix build on Python@3.12.
* gnu/packages/linux.scm (bcc)[native-inputs]: Add python-setuptools.

Change-Id: I964718ba33741b38ea2b71ed9eb026638f526eaa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:24 +01:00
Sharlatan Hellseher 9f52fc6d9b gnu: aacircuit: Fix tests on Python@3.12.
* gnu/packages/electronics.scm (aacircuit):
[phases]{fix-python-incompatibilities}: New phase.

Change-Id: Iaa5c02bb5f9c4753108f0fa31af60a36e4ac7e82
2026-05-24 10:19:24 +01:00
Sharlatan Hellseher 3ce7f2f1c1 gnu: volume-key: Fix build on Python@3.12.
* gnu/packages/disk.scm (volume-key): Use G-Expressions.
[source]: Switch to git-fetch.
[arguments] <configure-flags>: Provide option to build only with
Python3 support.
[phases]{patch-python.h-path}: Remove phase.
{set-python-paths}: Add phase.
[native-inputs]: Remove swig-4.0 and python-3; add autoconf, automake,
gettext-minimal, libtool, python, python-setuptools, and swig.

Fixes: guix/guix#8368
Change-Id: I123d3314c31a111fc72e3afa44d9cdf079bc076e
Reported-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
2026-05-24 10:19:24 +01:00
Nicolas Graves 5f21a890b1 gnu: guile-wisp: Update to 1.0.13.
* gnu/packages/guile-xyz.scm (guile-wisp): Update to 1.0.13.
  [arguments]<#:imported-modules>: Make more robust to module changes.
  [native-inputs]: Drop input labels.

Change-Id: Ib644e797c963aca2759eb7af263bc2ca7949d68e
Merges: https://codeberg.org/guix/guix/pulls/8371
Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:24 +01:00
Nicolas Graves 60f6956aef gnu: nsis-*: Build with scons.
Rationale: This package is the last user of scons-3 in Guix,
which doesn't build on python-team and would most likely
be easier to remove than fix.

* gnu/packages/installers.scm (make-nsis)[arguments]:
  Improve style, use G-expressions, the logic is not affected.
  <#:scons>: Remove keyword, effectively defaulting to scons-3.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: I038dacf1b1725df32b9aec1bd1c2c431d455a642
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:24 +01:00
Nicolas Graves 05964f9c4e gnu: python-pysrt: Fix tests on Python@3.12.
* gnu/packages/python-xyz.scm (python-pysrt)[arguments]<#:phases>:
  Add phase 'fix-python-incompatibilities.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: I69fb37881e9f6e65ef9856ce7bdd4a848d0af744
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:24 +01:00
Nicolas Graves d7c8ba60bd gnu: python-straight-plugin: Fix compilation, disable tests.
* gnu/packages/python-xyz.scm
  (python-straight-plugin)[arguments]<#:tests?>: Disable them.
  <#:phases>: Add phase 'fix-python-3.12-incompatibility.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: If9b3a36c1eedf00147b84333cac976e51c773c2e
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:24 +01:00
Nicolas Graves a86e253c7d gnu: python-pyactiveresource: Disable tests.
* gnu/packages/python-web.scm
  (python-pyactiveresource)[arguments]<#:tests?>:
  Disable them, use a comment.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: If5eac389c9976f9257e159ee9236e90506a042b9
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:23 +01:00
Nicolas Graves 0dec0b3ceb gnu: python-py-ubjson: Fix failing test.
* gnu/packages/patches/python-ubjson-recursion-test.patch: New file.
* gnu/local.mk: Register it
* gnu/packages/web.scm (python-py-ubjson)[source]<patches>: Use it.
  [arguments]<#:phases>: Drop them.  <#:test-backend>: Set to unittest.
  [native-inputs]: Drop python-coverage, lcov.  Relocate field.

Reviewed-by: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Change-Id: I0090eb39caa431775f8606740d2795eebe5bbc3a
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
2026-05-24 10:19:23 +01:00
Nicolas Graves aa2701e550 gnu: python-jupyter-server: Update to 2.17.0.
* gnu/packages/jupyter.scm (python-jupyter-server): Update to 2.17.0.
[native-inputs]: Add python-pytest-asyncio.
2026-05-24 10:19:23 +01:00
Nicolas Graves dae11eead9 gnu: python-openapi-core: Fix tests.
* gnu/packages/python-web.scm (python-openapi-core)[native-inputs]:
Add python-pytest-asyncio.
2026-05-24 10:19:23 +01:00
Nicolas Graves 70c8daebb7 gnu: python-sphinxcontrib-websupport: Fix build.
* gnu/packages/sphinx.scm (python-sphinxcontrib-websupport):
[propagated-inputs]: Add python-jinja2, python-sphinx.
2026-05-24 10:19:23 +01:00
Nicolas Graves 9f6e09a7d7 gnu: python-sphinxcontrib-jquery: Disable tests.
* gnu/packages/sphinx.scm (python-sphinxcontrib-jquery):
[arguments]<#:tests?>: Disable them.
2026-05-24 10:19:23 +01:00
Nicolas Graves ac09b67c2f gnu: python-bleak: Update to 2.1.1.
* gnu/packages/python-xyz.scm (python-bleak): Update to 2.1.1.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Disable integration tests.
[native-inputs]: Add python-coverage, python-packaging,
python-poetry-core, python-pytest, python-pytest-asyncio.
2026-05-24 10:19:23 +01:00
Nicolas Graves a584aaeb8e gnu: python-jupyterlite-core: Fix tests.
* gnu/packages/jupyter.scm (python-jupyterlite-core)[native-inputs]:
Add python-pytest.
2026-05-24 10:19:23 +01:00
Nicolas Graves 852107cc82 gnu: shorah: Update to 1.99.3.
* gnu/packages/bioinformatics.scm (shorah): Update to 1.99.3.
[native-inputs]: Add python-setuptools.
2026-05-24 10:19:22 +01:00
Nicolas Graves a28ba47d80 gnu: python-latexminted: Disable tests.
* gnu/packages/python-xyz.scm (python-latexminted)
[arguments]<#:tests?>: Disable them.
[native-inputs]: Drop python-wheel.
2026-05-24 10:19:22 +01:00
Nicolas Graves 0228c25072 gnu: python-pympler: Update to 1.1-0.6d595e0.
* gnu/packages/python-xyz.scm (python-pympler): Update to 1.1-0.6d595e0.
[arguments]<#:test-flags>: Ignore additional test.
[native-inputs]: Drop python-wheel.
2026-05-24 10:19:22 +01:00
Sharlatan Hellseher 8b9cd90288 gnu: pdf-tocgen: Remove unused phases and native-inputs.
* gnu/packages/pdf.scm (pdf-tocgen):
[phases]{patch-tests}: Remove phase.
[native-inputs]: Remove poetry, python-mamba, and python-pylint.

Relates-to: guix/guix#8361
Change-Id: I54ffb9668e6e1c3056b91df419ebe70a219cc463
2026-05-24 10:19:22 +01:00
Sharlatan Hellseher 6667a6d47b gnu: python-memory-profiler: Update to 0.61-0.025929f.
* gnu/packages/python-check.scm (python-memory-profiler): Update to
025929f8e4f4ea8c27ddb5ef72fc91f6bd703ea5 commit.
[phases]{disable-failing-tests}: Remove phase.
{check}: Use custom phase, run each test scenario manually as seen in
Makefile.
[native-inputs]: Remove python-pytest, python-pytest-fixture-config,
python-safety, and python-wheel.

Change-Id: Idc3770c0f01163845645da79b984ead326954314
2026-05-24 10:19:22 +01:00
Sharlatan Hellseher 3d6cc35ef2 gnu: python-jupyter-events: Adjust inputs.
* gnu/packages/jupyter.scm (python-jupyter-events):
[propagated-inputs]: Remove python-rich.
[native-inputs]: Add python-rich.

Change-Id: Icf52c8d0816c11fb2e0447556f66ef738c00e015
2026-05-24 10:19:22 +01:00
Nicolas Graves fc031dfe45 gnu: python-intersphinx-registry: Update to 0.2705.27.
* gnu/packages/sphinx.scm (python-intersphinx-registry): Update to 0.2705.27.
[source]<file-name>: Set it.
[arguments]<#:tests?>: Disable them.
[propagated-inputs]: Add python-requests.

Change-Id: I6fa10a6f19e01e872903f5a6ce7d314b82da3882
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:22 +01:00
Nicolas Graves 3a85bc86c5 gnu: python-icontract: Update to 2.7.3.
* gnu/packages/python-check.scm (python-icontract): Update to 2.7.3.

Change-Id: I6d748fde84b566abd7022780f3819af334f4f064
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-05-24 10:19:22 +01:00