Commit graph

4883 commits

Author SHA1 Message Date
Sharlatan Hellseher
b130a868dc
gnu: python-virtualenv-clone: Skip some tests.
* gnu/packages/python-xyz.scm (python-virtualenv-clone) [build-system]:
Switch to pyproject.
[arguments] <test-flags>: Skip 5 tests.
<phases>: Use default 'check.
[native-inputs]: Remove python-tox, python-coverage, and
python-hypothesis; add python-setuptools.

Change-Id: I0ecc55f694a03c7e3a41eb5acae0817adde1c0c9
2025-04-30 08:14:55 +01:00
Sharlatan Hellseher
c654cb469f
gnu: Deprecate python-hdf4.
The project has changed the name and VCS URL
<https://github.com/fhs/python-hdf4> redirects to
<https://github.com/fhs/pyhdf>, see
<https://github.com/fhs/pyhdf/pull/22>.

* gnu/packages/python-xyz.scm (python-hdf4): Deprecate variable.
(python-pyhdf): New variable.

Change-Id: I785804a57fa520109a0ceb89263b181889e18bd1
2025-04-30 08:14:54 +01:00
Vinicius Monego
fbf7662957
gnu: Add python-imageio-freeimage.
* gnu/packages/python-xyz.scm (python-imageio-freeimage): New variable.
(python-imageio)[arguments]<#:phases>: Remove the freeimage substitution
from the 'fix-source phase. Delete the 'fix-failing-tests phase, add
test logic in #:test-flags instead.
[inputs]: Remove freeimage.

Change-Id: I842998baea1568e1d9d1328e4387d14867bd3bb2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-29 12:30:48 +01:00
Sharlatan Hellseher
3048a24eb8
gnu: python-pyopengl: Move to python-graphics.
* gnu/packages/python-xyz.scm (python-pyopengl,
  python-pyopengl-accelerate): Move from here ...
* gnu/packages/python-graphics.scm: ... to here.

* gnu/packages/xorg.scm: Add python-graphics module.

Change-Id: I8d9e374a1948330ab37bb148a1ad6274563f9f1b
2025-04-28 21:58:59 +01:00
Sharlatan Hellseher
3e055916bf
gnu: python-pyqtgraph: Move to python-science.
* gnu/packages/python-xyz.scm (python-pyqtgraph): Move from here ...
* gnu/packages/python-science.scm: ... to here.

Change-Id: I3de3c6a71fb2c5c49b76e03a026eae7deaa55840
2025-04-28 21:58:59 +01:00
Sharlatan Hellseher
a6fcf6d465
gnu: python-pyopengl-accelerate: Update to 3.1.9.
* gnu/packages/python-xyz.scm (python-pyopengl-accelerate): Update to 3.1.9.
[inputs]: Remove mesa and python-numpy.

Change-Id: I39acd590f02853ba9c45ce40d3c2e1ace27d00b5
2025-04-28 21:58:59 +01:00
Sharlatan Hellseher
64f29218b6
gnu: python-pyopengl: Update to 3.1.9.
* gnu/packages/python-xyz.scm (python-pyopengl): Update to 3.1.9.
[native-inputs]: Add python-cython and python-numpy.

Change-Id: I8088e3745cabcf52d317413be2dca3e4c5a641b8
2025-04-28 21:58:59 +01:00
Sharlatan Hellseher
b5ed149bfa
gnu: python-concurrent-log-handler: Disable tests.
* gnu/packages/python-xyz.scm (python-concurrent-log-handler)
[arguments] <tests?>: Disable as broken, and can't be skipped.
[native-inputs]: Remove python-pytest.

Change-Id: Id1ec3c647428d833b938cde7b7f3dd1028f5b2b7
2025-04-28 21:58:59 +01:00
Sharlatan Hellseher
8cc71451ee
gnu: python-hdf5storage: 0.1.19-0.7ee2a96.
* gnu/packages/python-xyz.scm (python-hdf5storage): 0.1.19-0.7ee2a96.
[source]: Switch to git-fetch and use the latest commit containing
fixes.
[native-inputs]: Remove python-nose; add python-pytest.

Change-Id: I6f90d311eccd455de0335d60b776a20d25c9f328
2025-04-28 21:58:59 +01:00
Sharlatan Hellseher
f0e901b260
gnu: python-omegaconf: Update to 2.3.0.
* gnu/packages/python-xyz.scm (python-omegaconf): Update to 2.3.0.

Change-Id: Ib967d173695b4e46770787fc414141366620bdb4
2025-04-28 21:58:58 +01:00
Jakob Kirsch
06ec680418
gnu: python-twisted: Remove test artifacts.
* gnu/packages/python-xyz.scm (python-twisted)[arguments]<phases>: Extend
check phase to clean up test artifacts.

Change-Id: Ibbf04771dea4342fe66221a740a11ad9882b6038
Signed-off-by: Christopher Baines <mail@cbaines.net>
2025-04-27 13:17:25 +01:00
Sharlatan Hellseher
60a7b3af4d
gnu: python-pdoc3: Update to 0.11.6.
* gnu/packages/python-xyz.scm (python-pdoc3): Update to 0.11.6.
[build-system]: Switch to pyproject.
[native-inputs]: Add python-setuptools and python-wheel.

* gnu/packages/patches/python-pdoc3-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Deregester python-pdoc3-tests.patch.

Change-Id: I1cffb6272d5de4ca7037aa761c36002bd0d03318
2025-04-26 22:12:42 +01:00
Sharlatan Hellseher
29069663fd
gnu: python-pydbus: Fix build.
* gnu/packages/python-xyz.scm (python-pydbus) [bulid-system]: Switch to
pyproject.
[arguments] <tests?>: Disable as no provided in PyPI archive.
<phases>: Add 'fix-comparability-with-pygobject.
[native-inputs]: Add python-setuptools and python-wheel.
[description]: Start from a new line.

Change-Id: Ie859207b700ed9c864b119b25bc3fcb2d1c2b8b4
2025-04-26 21:24:02 +01:00
Sharlatan Hellseher
dc8187ba0f
gnu: python-whatever: Update to 0.7.
* gnu/packages/python-xyz.scm (python-whatever): Update to 0.7.

Change-Id: I71bfbd02cd9f9e0302805af2568c9f8b0da27472
2025-04-25 12:50:56 +01:00
Sharlatan Hellseher
0b9d5fad44
gnu: Remove python-typed-ast.
Failing to build not compatible with Python 3.8 onward, see
<https://github.com/python/typed_ast/issues/179>.

* gnu/packages/python-xyz.scm (python-typed-ast): Delete variable.

Change-Id: Id602f14bc985a542ae05cbf138b9c96b89920005
2025-04-25 12:50:56 +01:00
Sharlatan Hellseher
2e91053dca
gnu: python-simpervisor: Fix tests.
* gnu/packages/python-xyz.scm (python-simpervisor) [arguments]
<test-flags>: Run test in a single thread, deselect one failing.
[native-inputs]: Remove python-pytest-xdist.

Change-Id: I2b5a2a9ad40d5b0d6156a4448776eafa91a01719
2025-04-25 12:50:56 +01:00
Sharlatan Hellseher
f0a8a4b44b
gnu: python-pytooling: Skip tests on i686.
* gnu/packages/python-xyz.scm (python-pytooling) [arguments] <tests?>:
Skip on i686-linux.

Change-Id: I6612edf524c1fe22b42eafbd9cbfcfd8c35d2f73
2025-04-24 22:21:23 +01:00
Sharlatan Hellseher
85b5c2c8f6
gnu: python-pytooling: Enable tests.
* gnu/packages/python-xyz.scm (python-pytooling)
[arguments] <test-flags>: Skip just 3 tests.
[native-inputs]: Add git-minimal/pinned, python-colorama, python-pytest,
and python-ruamel.yaml.

Change-Id: If3318a1634c2f1d90378b7a69156da5cc413ad5e
2025-04-24 19:10:38 +01:00
Cayetano Santos
c32666071c
gnu: python-pytooling: Update to 8.4.1.
* gnu/packages/python-xyz.scm (python-pytooling): Update to 8.4.1.

Change-Id: Ibe39d8c994d6e9e1883ea02b2a67099bfa1ecd4f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-24 18:52:11 +01:00
Sharlatan Hellseher
6cdafce595
gnu: python-pari-jupyter: Update to 1.4.3.
* gnu/packages/python-xyz.scm (python-pari-jupyter): Update to 1.4.3.
[build-system]: Switch to pyproject.
[inputs]: Remove python-ipykernel.
[propagated-inputs]: Add python-ipykernel.
[native-inputs]: Add python-cython, python-jupyter-kernel-test,
python-setuptools, and python-wheel.

Change-Id: I1b9f6845223d54d2179012ac84524bf3ed27699d
2025-04-24 15:44:42 +01:00
Sharlatan Hellseher
323af5817a
gnu: python-numpy-2: Update to 2.2.5.
* gnu/packages/python-xyz.scm (python-numpy-2): Update to 2.2.5.

Change-Id: I4b62ab9e0aa1f5c1f20b2d29e51e3e192bbc795b
2025-04-24 14:27:54 +01:00
Sharlatan Hellseher
9801822b8b
gnu: python-numpy-2: Enable tests.
* gnu/packages/python-xyz.scm (python-numpy-2)
  [arguments] <tests?>: Enable them.
  <test-flags>: Run fast test suite only.
  <phases>: Use custom 'check; Adjust path to Python in
  'fix-executable-paths.

Change-Id: I267bca274fc8d3ea87aaf14eb59b5297ccb2d227
2025-04-24 14:05:57 +01:00
Sharlatan Hellseher
3d9279b009
gnu: python-qtconsole: Move to jupyter.
* gnu/packages/python-xyz.scm (python-qtconsole): Move from here ...
* gnu/packages/jupyter.scm: ... to here. Add qt and xorg modules.
* gnu/packages/orange.scm: Add jupyter module.

Change-Id: I9145393c469050aca748543cac04c391dbab7c83
2025-04-24 13:31:43 +01:00
Sharlatan Hellseher
3f5a6dc5f0
gnu: python-qtconsole: Update to 5.6.1.
* gnu/packages/python-xyz.scm (python-qtconsole): Update to 5.6.1. Fix
build.
[build-system]: Switch to pyproject.
[propagated-inputs]: Remove python-ipython-genutils, python-pyqt, and
python-pyzmq; add python-packaging.
[native-inputs]: Add python-pyqt, python-setuptools, python-wheel, and
xorg-server-for-tests.

Change-Id: I19833b507dfc5245bc9424c629c11f2df4024dd2
2025-04-24 13:24:03 +01:00
Sharlatan Hellseher
9079dc6c61
gnu: Remove python-commentjson.
No users in Guix, it was intermediate dependency for Ansible which no
longer required; no fresh releases for 4y.

* gnu/packages/python-xyz.scm (python-commentjson): Delete variable.

Change-Id: If2638628f9adc80913a0d5d3e692330e911d1415
2025-04-24 04:53:42 +01:00
Sharlatan Hellseher
2e33d34cd7
gnu: python-resolvelib: Update to 1.1.0.
* gnu/packages/python-xyz.scm (python-resolvelib): Update to 1.1.0.
[native-inputs]: Remove python-commentjson.

Change-Id: I6977761a6dfd4aca754b8c9c814806b662a61614
2025-04-24 04:53:42 +01:00
Nicolas Graves
6104249936
gnu: Remove python-lark-parser.
* gnu/packages/python-xyz.scm (python-lark-parser): Delete variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-24 04:53:41 +01:00
Nicolas Graves
5d81b890db
gnu: python-commentjson: Switch to python-lark.
* gnu/packages/python-xyz.scm (python-commentjson):
[arguments]{phases}: Refresh phase 'relax-requirements.
[propagated-inputs]: Replace python-lark-parser by python-lark.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-24 04:53:41 +01:00
Nicolas Graves
dbc331397e
gnu: Add python-lark.
* gnu/packages/python-xyz.scm (python-lark): New variable.
(python-lark-parser): Inherit from python-lark and update to 0.12.0.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-24 04:53:40 +01:00
Sharlatan Hellseher
5cf0a65c81
gnu: python-ddt: Move python-check.
* gnu/packages/python-xyz.scm (python-ddt): Move from here ...
* gnu/packages/python-check.scm: ... to here.

Change-Id: If098b89d4abb795db7dc9756a76060e2e6ae11cc
2025-04-23 23:12:23 +01:00
Nicolas Graves
3901b539d2
gnu: python-omero-py: Update to 5.20.0.
* gnu/packages/python-xyz.scm (python-omero-py): Update to 5.20.0.
  [arguments]<test-flags>: Ignore collection of some tests (which should
  be fixed when updating to numpy@2).
  [native-inputs]: Add python-portalocker. Update omero-blitz to 5.8.2.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-23 23:12:22 +01:00
Nicolas Graves
03c4dc54a7
gnu: python-zeroc-ice-3.6: Fix build with Python@3.11.
* gnu/packages/python-xyz.scm (python-zeroc-ice-3.6)
  [source]: Add patch.
* gnu/packages/patches/python-zeroc-ice-3.6.5-python-3.11-support.patch:
  Add patch.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-23 23:12:22 +01:00
Sharlatan Hellseher
695187c45a
gnu: python-ipyparallel: Update to 9.0.1.
* gnu/packages/python-xyz.scm (python-ipyparallel-bootstrap): Update to 9.0.1.
[build-system]: Switch to pyproject.
[native-inputs]: Add python-hatchling.
(python-ipyparallel) [arguments] <phases>: Use default 'check.
[native-inputs]: Inherit from python-ipyparallel-bootstrap; remove
python-pytest-cov.

Change-Id: I2200d2757f36d566b57ba1ac0368cb5f9751d2ba
2025-04-23 23:12:22 +01:00
Maxim Cournoyer
238ce45f13
gnu: python-screenkey: Update to 1.5.
Sadly, it still fails to run, apparently due to
<https://gitlab.com/screenkey/screenkey/-/issues/166>.

* gnu/packages/python-xyz.scm (python-screenkey): Update to 1.5.
[phases] {fix-dlopen-paths}: Use search-input-file.
[inputs]: Sort.  Add python-dbus-python.

Change-Id: I9a41e03db74ba3e0254452f02108bab739d1f93e
2025-04-23 16:24:54 +09:00
Sharlatan Hellseher
39c9f47600
gnu: python-robotframework: Update to 7.2.2.
* gnu/packages/python-xyz.scm (python-robotframework): Update to 7.2.2.
Use G-expressions.
[source] <patches>: Remove patches after been accepted upstream.
[build-system]: Switch to pyproject.
[arguments] <modules>: Switch to pyproject.
<phases>: Remove 'delete-problematic-tests, as acceptance tests not run.
Remove setting up time zone and do not run acceptance tests in 'check
phase.
[native-inputs]: Remove python-lxml, python-pyyaml, python-xmlschema,
libxml2, libxslt, scrot, tzdata-for-tests, xorg-server-for-tests, and
xvfb-run; add python-setuptools, and python-wheel.

* gnu/packages/patches/python-robotframework-atest.patch: Delete file.
gnu/packages/patches/python-robotframework-source-date-epoch.patch:
Delete File

* gnu/local.mk: Deregister 2 patches.

Change-Id: I0c664da3db8c448c61a61676873842243a97627f
2025-04-22 21:33:51 +01:00
Sharlatan Hellseher
7ad53f737a
gnu: python-invoke: Update to 2.2.0.
* gnu/packages/python-xyz.scm (python-invoke): Update to 2.2.0.
[arguments] <phases>: Remove 'delete-python2-code as "vendor/yaml2" no
longer exists.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia2ddbbae377aeac1273fdb64cf6296d70d644ecd
2025-04-22 21:33:51 +01:00
Sharlatan Hellseher
e7ed7acf7c
gnu: python-invoke: Refresh style.
* gnu/packages/python-xyz.scm (python-invoke): Use G-expressions, fix
order of fields.
[description]: Fix fill paragraph indentation.

Change-Id: I493bfe2a7308d51c9ef00083f88742e330ad79de
2025-04-22 21:33:48 +01:00
Guillaume Le Vaillant
43542a0301
gnu: python-gamera: Update to 4.1.0.
* gnu/packages/python-xyz.scm (python-gamera): Update to 4.1.0.
  [arguments]: Remove 'disable-wx-support' phase. Add 'fix-build' phase.

Change-Id: Ic7a9a9991e7c12614adc255496b6220ad5cc30f3
2025-04-22 09:52:43 +02:00
Ian Eure
032ffbc747
gnu: python-jellyfin-apiclient: Update to 1.11.0.
* gnu/packages/python-xyz.scm (python-jellyfin-apiclient): Update to 1.11.0.

Change-Id: I7be4b4737bfe50abb0dae740008eafa41c9cc9ca
2025-04-21 16:23:38 -07:00
Liliana Marie Prikler
f978300d5d
gnu: python-pillow-heif: Update to 0.22.0.
* gnu/packages/python-xyz.scm (python-pillow-heif): Update to 0.22.0.
[arguments]: Drop #:test-flags.
[native-inputs]: Add python-pylint.
Move python-setuptools after python-pytest.
2025-04-21 14:00:23 +02:00
Sharlatan Hellseher
ae5e5cb697
gnu: python-apprise: Update to 1.9.3.
* gnu/packages/python-xyz.scm (python-apprise): Update to 1.9.3, fix
build.
[arguments] <test-flags>: Deselect only one freshly failing test.
[native-inputs]: Remove python-pytest-cov.
[synopsis]: Simplify.
[description]: Fix fill paragraph indentation.

Change-Id: If546f2b18da5ed6c25c94557d8f8ee89f67f3e9a
2025-04-17 08:31:59 +01:00
Sharlatan Hellseher
5698a05a07
gnu: Remove pybind11-2.13.
It's the same version as pybind11.

* gnu/packages/python-xyz.scm (pybind11-2.13): Delete variable.

* gnu/packages/python-xyz.scm (python-optree) [native-inputs]: Remove
pybind11-2.13; add pybind11.

Change-Id: I3c3a8e37da4dcfff90c23a0392fb474d55ad2a1d
2025-04-16 20:42:26 +01:00
Sharlatan Hellseher
ea5cee19a6
gnu: snakemake: Rename variable in python-xyz.
There is a duplicated variable with this name in python-science but
different version, rename the variable in python-xyz to reflect it's
version.

* gnu/packages/python-xyz.scm (snakemake): Rename variable to snakemake-5.
(snakemake-6): Inherit from snakemake-5.

Change-Id: Iabb67d68ea5b896a2524eaf9bf73669068cccaeb
2025-04-16 20:39:12 +01:00
Nicolas Graves
5fc0d555f4
gnu: Add python-argparse-dataclass.
* gnu/packages/python-xyz.scm (python-argparse-dataclass): New variable.

Change-Id: If669a77f36753b4639136fc612dda42aca1a61f9
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:35 +02:00
Nicolas Graves via Guix-patches via
b09cf29ad4
gnu: python-importlib-resources: Update python-setuptools input.
* gnu/packages/python-xyz.scm (python-importlib-resource)
[native-inputs]: Replace python-setuptools-57 by python-setuptools.

Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:35 +02:00
Nicolas Graves
568867b62e
gnu: python-docutils-0.15: Update to 0.16.
* gnu/packages/python-xyz.scm (python-docutils-0.15): Update to 0.16.
[native-inputs]: Replace python-setuptools-57 by python-setuptools.
* gnu/packages/python-web.scm (awscli)[inputs]: Update accordingly.
* gnu/packages/sphinx.scm (python-sphinx-panels)[propagated-inputs]:
Update accordingly.

Change-Id: I84360acf8d8213d0d49301e116f1a158bdb545e7
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:35 +02:00
Nicolas Graves
9faf277083
gnu: python-numpy-documentation: Update python-sphinx native-input.
* gnu/packages/python-xyz.scm (python-numpy-documentation):
[arguments]{phases}: Add phase 'avoid-external-deps. Adapt phase
'install by removing sphinx.ext.autodoc extension.
[native-inputs]: Replace python-sphinx-4 by python-sphinx. Add
python-sphinx-design.

Change-Id: Ica1c0a72b2106cadd6e51ffcb272980508abb29f
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:34 +02:00
Sharlatan Hellseher
e63728d0f0
gnu: Remove python-networkx-next.
It's the same version variant as python-networkx.

* gnu/packages/python-xyz.scm (python-networkx-next): Delete variable.
* gnu/packages/maths.scm (python-mathics-django) [propagated-inputs]:
Remove python-networkx-next; add python-networkx.

Change-Id: Iedc48767af728ff258cc7b2d453f979eb1cc70e4
2025-04-16 11:46:33 +02:00
Sharlatan Hellseher
20591361e1
gnu: Remove python-webcolors-24.
It's the same variant as python-webcolors.

* gnu/packages/python-web.scm (python-webcolors-24): Delete variable.
* gnu/packages/python-xyz.scm (python-jsonschema) [propagated-inputs]:
Remove python-webcolors-24; add python-webcolors.

Change-Id: Iaa1db96aaf95618ecef5e8560472b1122e18f009
2025-04-16 11:46:33 +02:00
Sharlatan Hellseher
168154c6b6
gnu: Remove python-caniusepython3.
It's a leaf package without users in Guix, failed to build and
archived upstream 4 years ago: "This repository was archived by the
owner on Jan 2, 2021. It is now read-only."

* gnu/packages/python-xyz.scm (python-caniusepython3): Delete variable.

Change-Id: I45ccdfb92dee71d5b7d65e7c7bd0736f305e1d4c
2025-04-16 11:46:33 +02:00