Commit graph

4586 commits

Author SHA1 Message Date
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
Sharlatan Hellseher
b130569ee9
gnu: python-precis-i18n: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-precis-i18n): Update to 1.1.1.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Idd332ac15bddcc408d0675557ff5f8c1e5206222
2025-04-16 11:46:33 +02:00
Sharlatan Hellseher
cf6e0232f3
gnu: python-qrcode: Update to 8.0.
* gnu/packages/python-xyz.scm (python-qrcode): Update to 8.0.
[build-system]: Switch to pyproject.
[arguments] <tests?>: Enable them.
[propagated-inputs]: Remove python-lxml; add python-pypng.
[native-inputs]: Add python-poetry-core and python-pytest.
[description]: Fix fill column indentation.

Change-Id: I1b4cf8c3a7ff470b9cc1f0fbaebab26f68d3aef3
2025-04-16 11:46:33 +02:00
Sharlatan Hellseher
149905f81b
gnu: python-aenum: Update to 3.1.15.
* gnu/packages/python-xyz.scm (python-aenum): Update to 3.1.15.
[build-system]: Switch to pyproject.
[arguments] <phases>: Use default 'check; add 'fix-tests.
<test-flags>: Skip 3 failing tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[home-page]: Fix it, Bitbucket's one no longer exists, current one was
taken from <https://pypi.org/project/aenum/>.

Change-Id: I43994aac2ea688a63066ee8c8aa1855c51632ac2
2025-04-16 11:46:32 +02:00
Nicolas Graves
13a2c019c2
gnu: python-ujson: Update to 5.10.0.
* gnu/packages/python-xyz.scm (python-ujson): Update to 5.10.0.
[build-system]: Switch to pyproject.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.

Change-Id: I73a0352677cfb4d1cd2c48560955415ce57fafbf
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:32 +02:00
Nicolas Graves
0d41651da2
gnu: python-flufl-i18n: Update to 5.1.0.
* gnu/packages/python-xyz.scm (python-flufl-i18n): Update to 5.1.0.
[build-system]: Switch to pyproject.
[arguments]{test-flags}: Ignore docs and coverage tests.
{phases}: Add phase 'add-custom-dist-info.
[native-inputs]: Add python-hatchling, python-pytest,
python-pytest-cov, python-sybil.

Change-Id: Ibbe6edfe9fcf94c0b09eed6a308f452d25073760
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:31 +02:00
Nicolas Graves
b26969865f
gnu: python-flufl-lock: Update to 8.1.0.
* gnu/packages/python-xyz.scm (python-flufl-lock): Update to 8.1.0.
[build-system]: Switch to pyproject.
[arguments]{test-flags}: Ignore docs and coverage tests.
{phases}: Add phase 'add-custom-dist-info.
[native-inputs]: Add python-hatchling, python-pytest,
python-pytest-cov, python-sybil.

Change-Id: I11b115a054d7e59aa19b72cd8c375a19dabffc71
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:31 +02:00
Nicolas Graves
4056a5eb3b
gnu: python-pymodbus: Update to 3.8.6.
* gnu/packages/python-xyz.scm (python-pymodbus): Update to 3.8.6.
[build-system]: Swith to pyproject.
[arguments]{test-flags}: Ignore failing tests.
{phases}: Remove field, use test-flags instead.
[native-inputs]: Add python-pytest-asyncio, python-pytest-cov,
python-pytest-xdist, python-setuptools, python-wheel.

Change-Id: I39425bc6d3697e942e6f81868406bd83c8da7332
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:31 +02:00
Nicolas Graves
b708d41795
gnu: pomegranate: Disable tests.
* gnu/packages/python-xyz.scm (pomegranate): Disable tests.
[build-system]: Switch to pyproject.
[arguments]{tests?}: Disable them.
{phases}: Remove 'check phase replacement.
[native-inputs]: Add python-setuptools, python-wheel.  Remove python-nose.

Change-Id: Id3ded96a59703eae4c12ccc96aedce756a3fa07d
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:31 +02:00
Nicolas Graves
fd03c6feed
gnu: Remove python-pydiff.
This package is a leaf package, stale for 11 years and not compatible
with the latest python.

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

Change-Id: Ia80e3949c4d05b584241d783d49207c8553e9da1
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:30 +02:00
Nicolas Graves via Guix-patches via
e4cdcbbcbb
gnu: python-lazr-config: Update to 3.1.
* gnu/packages/python-xyz.scm (python-lazr-config): Update to 3.1.
[build-system]: Switch to pyproject.
[arguments]{test-flags}: Run tests in output.
{phases}: Add a 'check-cleanup phase to remove tests from output.
[native-inputs]: Remove python-nose.  Add python-pytest,
python-setuptools, python-wheel.

Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:30 +02:00
Nicolas Graves
0a369a73cb
gnu: python-lazr-delegates: Update to 2.1.1.
* gnu/packages/python-xyz.scm (python-lazr-delegates): Update to 2.1.1.
[build-system]: Switch to pyproject.
[arguments]{test-flags}: Run tests in output.
{phases}: Add a 'check-cleanup phase to remove tests from output.
[native-inputs]: Remove python-nose.  Add python-pytest,
python-setuptools, python-wheel.

Change-Id: Ic60d9a53af627c360d6829df27ec83c4b58e5638
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:30 +02:00
Nicolas Graves
27858d9aff
gnu: python-stem: Update to 1.8.2.
* gnu/packages/python-xyz.scm (python-stem): Update to 1.8.2.
[build-system]: Switch to pyproject.
[arguments]{phases}: Remove phase 'fix-tests.
[native-inputs]: Remove python-mock, python-pycodestyle,
python-pyflakes.  Add python-setuptools, python-wheel.

Change-Id: I32dce8ff5ddd8d8ac8c3a3eb96fab54206f2ab7f
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:30 +02:00
Nicolas Graves
400b431b03
gnu: python-itemloaders: Update to 1.3.2.
* gnu/packages/python-xyz.scm (python-itemloaders): Update to 1.3.2.
[native-inputs]: Add python-packaging.
[propagated-inputs]: Remove python-w3lib.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:29 +02:00
Nicolas Graves
180a69e23a
gnu: python-stone: Update to 3.3.9.
* gnu/packages/python-xyz.scm (python-stone): Update to 3.3.9.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject.
[arguments]: Remove field.
[propagated-inputs]: Add python-jinja2, python-packaging.
[native-inputs]: Add python-setuptools, python-wheel. Remove
python-coverage, python-mock.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:29 +02:00
Nicolas Graves
4fe1a73ab8
gnu: python-crontab: Update to 3.2.0.
* gnu/packages/python-xyz.scm (python-crontab): Update to 3.2.0.
[build-system]: Switch to pyproject.
[arguments]{test-flags}: Ignore test.
{phases}: Remove phase 'disable-failing-tests. Add phase
default-to-mcron.
[inputs]: Add mcron.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:29 +02:00
Nicolas Graves
e8e46bbeb5
gnu: python-qasync: Ignore failing test.
* gnu/packages/python-xyz.scm (python-qasync)[arguments]{test-flags}:
Ignore failing tests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:28 +02:00
Nicolas Graves
a2b0677470
gnu: python-pyro4: Update to 4.82.
* gnu/packages/python-xyz.scm (python-pyro4): Update to 4.82.
[build-system]: Switch to pyproject-build-system.
[arguments]{tests?}: Remove to enable tests.
{test-flags}: Skip missing tests.
{phases}: Add 'check phase replacement.
[native-inputs]: Add python-setuptools, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:27 +02:00
Nicolas Graves
88866dd4aa
gnu: python-serpent: Update to 1.41.
* gnu/packages/python-xyz.scm (python-serpent): Update to 1.41.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:27 +02:00
Nicolas Graves
a081c80b2f
gnu: python-attr: Update to 0.3.2.
* gnu/packages/python-xyz.scm (python-attr): Update to 0.3.2.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:27 +02:00
Nicolas Graves
e4750cbff9
gnu: python-property-cached: Fix build.
* gnu/packages/python-xyz.scm (python-property-cached): Fix build.
* gnu/packages/patches/python-property-cached-asyncio-3_11.patch: Add
patch.
* gnu/local.mk: Record patch.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:27 +02:00
Nicolas Graves
1c27ceac65
gnu: Remove pybind11-2.3.
This package is now a leaf package that fails to build.

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

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:27 +02:00
Nicolas Graves
ec22768c11
gnu: autokey: Add missing native-inputs.
* gnu/packages/python-xyz.scm (autokey)[native-inputs]: Add
python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:26 +02:00
Nicolas Graves
36949b911d
gnu: python-mechanize: Update to 0.4.10.
* gnu/packages/python-xyz.scm (python-mechanize): Update to 0.4.10.
[build-system]: Switch to pyproject-build-system.
[arguments]{tests?}: Disable them.
{phases}: Add 'configure-tests phase to setup GUIX_PYTHONPATH.
[native-inputs]: Add python-html5-parser, python-html5lib,
python-lxml, python-service-identity, python-setuptools, python-six,
python-twisted, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:26 +02:00
Nicolas Graves
5cbb9d2166
gnu: python-cu2qu: Fix tests.
* gnu/packages/fontutils.scm (python-cu2qu): Fix tests.
[build-system]: Switch to pyproject-build-system.
[arguments]{test-flags}: Ignore failing test (most likely due to
lagging behing python-fonttools package).
[native-inputs]: Add python-setuptools, python-wheel.
* gnu/packages/python-xyz.scm (python-fonttools-minimal): Add comment.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:25 +02:00
Nicolas Graves
f806aa80aa
gnu: python-patch-ng: Update to 1.18.1.
* gnu/packages/python-xyz.scm (python-patch-ng): Update to 1.18.1.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:25 +02:00
Nicolas Graves
5676350d87
gnu: Add python-pybktree.
* gnu/packages/backup.scm (python-pybktree): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:25 +02:00
Nicolas Graves
8088bd7604
gnu: python-sip: Update to 6.10.0.
* gnu/packages/qt.scm (python-sip): Update to 6.10.0.
[source]: Add snippet to relax python-setuptools requirement.
[native-inputs]: Remove python-wrapper. Add python-wheel. Sort inputs.
[propagated-inputs]: Remove python-tomli, python-wheel. Sort inputs.

* gnu/packages/backup.scm (vorta)[native-inputs]: Add
python-setuptools, python-wheel.

* gnu/packages/python-xyz.scm (python-echo)[native-inputs]: Add
python-setuptools, python-wheel.

* gnu/packages/patches/python-sip-include-dirs.patch: Refresh patch.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:25 +02:00
Nicolas Graves
ce93d3697d
gnu: python-rstr: Update to 3.2.2. Enable tests.
* gnu/packages/python-xyz.scm (python-rstr): Update to 3.2.2.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]{phases}: Add phase 'pretend-version.
[native-inputs]: Add python-pytest, python-setuptools,
python-setuptools-scm, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:25 +02:00
Nicolas Graves
e8cdc2d6fb
gnu: python-pyquery: Update to 2.0.1.
* gnu/packages/python-xyz.scm (python-pyquery): Update to 2.0.1.
[build-system]: Switch to pyproject-build-system.
[arguments]{test-flags}: Ignore a test that requires network access.
[native-inputs]: Add python-pytest, python-pytest-cov,
python-requests, python-setuptools, python-webob, python-webtest,
python-wheel.
[propagated-inputs]: Sort inputs.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:24 +02:00
Nicolas Graves
0e5db833b3
gnu: Remove python-anyjson.
This package is a leaf package in Guix, is stale for 13 years, and its
upstream repository is not even up anymore.

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

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:24 +02:00
Nicolas Graves
55d4ab9a08
gnu: python-jsonargparse: Update to 4.37.0.
* gnu/packages/python-xyz.scm (python-jsonargparse): Update to 4.37.0.
[arguments]{test-flags}: Remove uneeded test-flags.
[propagated-inputs]: Remove python-contextvars,
python-docstring-parser, python-pyyaml, python-typeshed-client.
[native-inputs]: Add python-pypa-build. Remove python-coverage,
python-pycodestyle, python-tox, python-types-requests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:24 +02:00
Nicolas Graves
e1b1759832
gnu: python-zeroc-ice: Update to 3.7.10.1.
* gnu/packages/python-xyz.scm (python-zeroc-ice): Update to 3.7.10.1.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:23 +02:00
Nicolas Graves
f4a21e1848
gnu: python-netaddr: Move to (gnu packages python-web).
* gnu/packages/python-xyz.scm (python-netaddr): Move from here…
* gnu/packages/python-web.scm (python-netaddr): …to here.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:21 +02:00
Nicolas Graves
6b143b10eb
gnu: Add python-colored-traceback.
* gnu/packages/python-xyz.scm (python-colored-traceback): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:21 +02:00
Nicolas Graves
91677b47b2
gnu: python-ncls: Update to 0.0.68.
* gnu/packages/python-xyz.scm (python-ncls): Update to 0.0.68.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-cython, python-pandas, python-pytest,
python-setuptools, python-wheel.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:21 +02:00
Nicolas Graves
26826a0728
gnu: python-cesium: Move to (gnu packages astronomy).
The dependencies of this package are already in (gnu packages astronomy).

* gnu/packages/python-xyz.scm (python-cesium): Move from here…
* gnu/packages/astronomy.scm (python-cesium): …to here.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:20 +02:00
Sharlatan Hellseher
aae586b0e0
gnu: Remove python-asynctest.
No updates since 2019, fails to build and has no users in Guix.  See
<https://github.com/Martiusweb/asynctest/issues/163> there is a standard
'unittest.IsolatedAsyncioTestCase' drop-in replacement.

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

Change-Id: If63cfd698a74f86c6895db04e0d7cd02728ae757
2025-04-16 11:46:20 +02:00
Sharlatan Hellseher
2999dea81b
gnu: python-asn1tools: Update to 0.167.0 and fix build.
* gnu/packages/python-xyz.scm (python-asn1tools): Update to 0.167.0, fix
build.
[build-system]: Swap to pyproject-build-system.
[arguments] <test-flags>: Skip 7 failing tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I36d12d9bfe2fd6d62a75dd0d30de42a782c4a746
2025-04-16 11:46:20 +02:00
Sharlatan Hellseher
5101eb697e
gnu: nikola: Skip one test.
* gnu/packages/python-xyz.scm (nikola) [arguments] <test-flags>: Skip
one test.

Change-Id: I10d4edf07b7c7b4e19020773215da5eae27cd0f4
2025-04-16 11:46:20 +02:00
Ricardo Wurmus
93878712a2
gnu: Add python-pyemd.
* gnu/packages/python-xyz.scm (python-pyemd): New variable.

Change-Id: Ibdbbebd22616aa1a83ad721d3a96caa75ab7e1b1
2025-04-16 11:46:18 +02:00
Ricardo Wurmus
631c03a80a
gnu: python-jsondiff: Update to 2.2.1.
* gnu/packages/python-xyz.scm (python-jsondiff): Update to 2.2.1.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'set-version.
[propagated-inputs]: Add python-pyyaml.
[native-inputs]: Add python-hypothesis, python-pytest, python-setuptools,
python-setuptools-scm, and python-wheel; remove python-nose and
python-nose-random.

Change-Id: Ib3756e561e6f53353c950e472c8cf5275e055005
2025-04-16 11:46:18 +02:00
Ricardo Wurmus
b835357bf2
gnu: python-strict-rfc3339: Disable more tests on 32-bit platforms.
* gnu/packages/python-xyz.scm (python-strict-rfc3339)[arguments]:
Conditionally ignore the TestTimestampToRFC3339UTCOffset tests on 32-bit
platforms due to the size of the time_t type.

Change-Id: I2c9844c6a022946d9ec917bb3a6b06777b0fc260
2025-04-16 11:46:18 +02:00
Ricardo Wurmus
81baead2c4
gnu: python-numpy: Disable test on 32 bit systems.
* gnu/packages/python-xyz.scm (python-numpy)[arguments]: Conditionally disable
failing test_int test.

Change-Id: I12b25b4019ff8a06b311decdcd2eafe68854b241
2025-04-16 11:46:18 +02:00
Ricardo Wurmus
a330b7acff
gnu: Remove python-anyio/without-dataclasses.
* gnu/packages/python-xyz.scm (python-anyio/without-dataclasses): Remove
variable.
* gnu/packages/jupyter.scm (python-jupyter-server)[propagated-inputs]: Replace
python-anyio/without-dataclasses with python-anyio.

Change-Id: I81433128fc3ed2f098bd84f1f89555e9dda62d6d
2025-04-16 11:46:18 +02:00
Ricardo Wurmus
309373b9a9
gnu: python-dask-image: Update to 2024.5.3.
* gnu/packages/python-xyz.scm (python-dask-image): Update to 2024.5.3.
[arguments]: Add phase 'set-version.
[native-inputs]: Add python-coverage, python-flake8, python-pytest-cov,
python-pytest-timeout, python-setuptools, python-setuptools-scm, python-twine,
and python-wheel.

Change-Id: I2297cb6942f7c97a330847bda8e0c33c84266322
2025-04-16 11:46:17 +02:00
Ricardo Wurmus
6cdede88e9
gnu: python-duckdb: Disable one more test.
* gnu/packages/python-xyz.scm (python-duckdb)[arguments]: Disable wrap
coverage test.

Change-Id: I625bc37c979d7c0fa3a2e67d35267993ae791b9e
2025-04-16 11:46:17 +02:00
Ricardo Wurmus
6309ac44c6
gnu: python-ratelimiter: Update to 1.2.0.post1.
* gnu/packages/python-xyz.scm (python-ratelimiter): Update to 1.2.0.post1.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'pytest-compatibility.
[native-inputs]: Add python-pytest, python-pytest-asyncio, python-setuptools,
and python-wheel.

Change-Id: I9f7665feb4cf31e38185be7e0cd5ffe7691e26f7
2025-04-16 11:46:17 +02:00