Commit graph

4551 commits

Author SHA1 Message Date
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
Ricardo Wurmus
7ff7963cd9
gnu: snakemake-6: Disable one more test.
* gnu/packages/python-xyz.scm (snakemake)[arguments]: Disable test_lint test;
replace custom 'check phase with 'pre-check phase.

Change-Id: I9631383ab6160ee8a234145515bbf198b54b1e57
2025-04-16 11:46:16 +02:00
Ricardo Wurmus
62853330ed
gnu: snakemake: Disable one more test.
* gnu/packages/python-xyz.scm (snakemake)[arguments]: Disable test_lint test.

Change-Id: I00d3e1e900c5d4dacb660d253a2a1839c7c7826a
2025-04-16 11:46:16 +02:00
Ricardo Wurmus
ce8db9583b
gnu: python-yte: Update to 1.7.0.
* gnu/packages/python-xyz.scm (python-yte): Update to 1.7.0.
[build-system]: Use pyproject-build-system.
[arguments]: Replace 'check phase.
[propagated-inputs]: Add python-dpath.
[native-inputs]: Add python-numpy, python-poetry-core, and python-pytest.

Change-Id: If1d4e8e0289d9a36205353ad2c9bb345076e4ff7
2025-04-16 11:46:16 +02:00
Ricardo Wurmus
f7ac711df5
gnu: python-dpath: Update to 2.2.0.
* gnu/packages/python-xyz.scm (python-dpath): Update to 2.2.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Remove python-mock and python-nose; add python-nose2,
python-setuptools, and python-wheel.

Change-Id: I30ca919712b03f868d3e9fed4802817e4602dcda
2025-04-16 11:46:16 +02:00
Ricardo Wurmus
1dc317fbbd
gnu: snakemake-7: Update to 7.32.4.
* gnu/packages/python-xyz.scm (snakemake-7): Update to 7.32.4.
[arguments]: Use #:test-flags instead of a custom 'check phase; remove
'tabulate-compatibility phase; add 'pre-check phase.
[propagated-inputs]: Add python-humanfriendly, python-reretry, and
python-throttler; remove python-ratelimiter.

Change-Id: Iea7f17559b19098ca5a589d164355f3918f4bb3e
2025-04-16 11:46:16 +02:00
Ricardo Wurmus
bcf4ab7511
gnu: python-toposort: Update to 1.10.
* gnu/packages/python-xyz.scm (python-toposort): Update to 1.10.
[build-system]: Use pyproject-build-system.
[arguments]: Replace 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ifde522ecba6331634c911856892c3b25098fbd88
2025-04-16 11:46:16 +02:00
Ricardo Wurmus
9ebcce5a92
gnu: Add python-reretry.
* gnu/packages/python-xyz.scm (python-reretry): New variable.

Change-Id: Ic54bdb5eee422b12d2c0e475abb6c4f142cad1e3
2025-04-16 11:46:16 +02:00
Ricardo Wurmus
7af8a3ad8d
gnu: Add python-throttler.
* gnu/packages/python-xyz.scm (python-throttler): New variable.

Change-Id: I04a07281d4ba77d880d7c8176b1a3269713b9b63
2025-04-16 11:46:16 +02:00
Sharlatan Hellseher
a5b507230c
gnu: python-cftime: Fix tests.
* gnu/packages/python-xyz.scm (python-cftime) [arguments] <phases>:
Remove 'remove-unwanted-dev-dependencies, add ''remove-unwanted-pytest-options.
[native-inputs]: Remove python-sphinx.

Change-Id: Ib196a6a3781da4067d287f62f5f92b72eb024de3
2025-04-16 11:46:15 +02:00
Nicolas Graves
ae7d115436
gnu: Remove python-pep8.
* gnu/packages/python-xyz.scm (python-pep8): Delete variable.
(python-cliapp, python-ttystatus)[native-inputs]: Remove python-pep8.
* gnu/packages/radio.scm (chirp)[native-inputs]: Remove python-pep8.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:15 +02:00
Nicolas Graves
24ad03da5a
gnu: python-anndata: Ignore failing test.
* gnu/packages/python-xyz.scm (python-anndata)[arguments]{test-flags}:
Ignore test_read_write_X test.
2025-04-16 11:46:15 +02:00
Nicolas Graves
6838baeffc
gnu: Remove python-dictpath.
* gnu/packages/python-xyz.scm (python-dictpath): Remove variable.
* gnu/packages/python-web.scm (python-openapi-core)[propagated-inputs]:
Remove unecessary python-dictpath.
2025-04-16 11:46:15 +02:00
Nicolas Graves
0165b28b86
gnu: Remove python-rednose.
This package is broken with the latest python version, and is easy to
remove.

* gnu/packages/check.scm (python-rednose): Delete variable.
* gnu/packages/python-xyz.scm (python-sure) and
* gnu/packages/web.scm (python-httpretty):
[arguments]: Add 'remove-rednose-dependency in {phases}.
[native-inputs]: Remove python-rednose.
2025-04-16 11:46:14 +02:00
Nicolas Graves
fb00a1ec45
gnu: python-peachpy: Update to 0.2.0-3.349e8f8.
* gnu/packages/python-xyz.scm (python-peachpy): Update to
0.2.0-3.349e8f8.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove {phases}. Add {test-target} to ignore a failing
test.
[native-inputs]: Remove python-nose, python-rednose. Add
python-pytest, python-wheel.
2025-04-16 11:46:14 +02:00
Nicolas Graves
8195252da9
gnu: python-pykdtree: Update to 1.3.9.
* gnu/packages/python-xyz.scm (python-pykdtree): Update to 1.3.9.
[native-inputs]: Remove python-nose. Add python-cython, python-pytest,
python-setuptools, python-wheel.
2025-04-16 11:46:14 +02:00
Nicolas Graves
b160f49b59
gnu: python-multiprocessing-on-dill: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-multiprocessing-on-dill): Use pyproject-build-system.
[arguments]: Remove field.
[native-inputs]: Remove uneeded python-check-manifest. Add python-pytest.
2025-04-16 11:46:14 +02:00
Nicolas Graves
090f572edf
gnu: python-cftime: Update to 1.6.4.
* gnu/packages/python-xyz.scm (python-cftime): Update to 1.6.4.
[arguments]{phases}: Add phase 'remove-unwanted-dev-dependencies.
[native-inputs]: Remove python-check-manifest, python-pytest-cov. Add
python-setuptools.
2025-04-16 11:46:14 +02:00
Nicolas Graves
7e8f8c0d3d
gnu: python-pillow-heif: Update test-flags.
* gnu/packages/python-xyz.scm (python-pillow-heif)[arguments]{test-flags}:
Update them.
[native-inputs]: Remove uneeded python-pylint.
2025-04-16 11:46:13 +02:00
Nicolas Graves
1e099d3e47
gnu: python-watchgod: Rename package to python-watchfiles.
* gnu/packages/python-xyz.scm (python-watchgod): Define in terms of
'deprecated-package'.
[version]: Update to 1.0.4.
[build-system]: Switch to cargo-build-system.
[arguments]: Likewise.
[native-inputs]: Add maturin, python-dirty-equals,
python-pytest-timeout, python-wrapper. Remove python-pygments,
python-pytest-sygar, python-setuptools and python-wheel.
(python-watchfiles): New variable, formerly known as
"python-watchgod".
2025-04-16 11:46:13 +02:00
Ricardo Wurmus
9ba755e015
gnu: python-shortuuid: Update to 1.0.13.
* gnu/packages/python-xyz.scm (python-shortuuid): Update to 1.0.13.
[native-inputs]: Remove python-pep8; add python-poetry-core and python-pytest.
[build-system]: Use pyproject-build-system.

Change-Id: If854af9296fa378c505e83d87bacf609978edf9f
2025-04-16 11:46:13 +02:00
Nicolas Graves
d6de00627e
gnu: python-multiprocess: Update to 0.70.17.
* gnu/packages/python-xyz.scm (python-multiprocess): Update to 0.70.17.
[arguments]{phases}: Use gexps. Remove phase
'disable-broken-tests. Improve phase 'check.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:13 +02:00
Nicolas Graves
f5ace3d164
gnu: python-dill: Update to 0.3.9.
* gnu/packages/python-xyz.scm (python-dill): Update to 0.3.9.
[arguments]{phases}: Rewrite using gexp. Adapt 'check phase.
[native-inputs]: Remove python-nose.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-16 11:46:13 +02:00
Sharlatan Hellseher
8224c56e00
gnu: Remove python-flake8-pie.
* gnu/packages/python-xyz.scm (python-flake8-pie): Delete variable.

Change-Id: I094d1b46090473f4cdb19bf40088d717c574f778
2025-04-16 11:46:12 +02:00
Ricardo Wurmus
c080336271
gnu: Remove python-contextlib2.
This was a backport of the Python 3.10 version of contextlib.

* gnu/packages/python-xyz.scm (python-contextlib2): Remove variable.
* gnu/packages/machine-learning.scm (python-ml-collections)
[propagated-inputs]: Remove it.

Change-Id: I47e4eccf98d8caa18235008e94a0849e21975a68
2025-04-16 11:46:12 +02:00
Ricardo Wurmus
6abfc4a723
gnu: python-pywavelets: Update to 1.8.0.
* gnu/packages/python-xyz.scm (python-pywavelets): Update to 1.8.0.
[source]: Remove obsolete snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'pre-check phase.
[native-inputs]: Replace python-cython with python-cython-3; remove
python-matplotlib; add meson, ninja, pkg-config, python-meson-python, and
python-numpy.
[propagated-inputs]: Add python-scipy.

Change-Id: I1d157775a2079e2a218dea89ab46bbd01685d91a
2025-04-16 11:46:12 +02:00
Ricardo Wurmus
50cd73c12e
gnu: python-cmd2: Update to 2.5.11.
* gnu/packages/python-xyz.scm (python-cmd2): Update to 2.5.11.
[propagated-inputs]: Remove python-attrs and python-colorama.
[native-inputs]: Remoe python-invoke and python-mock.

Change-Id: I97b98a7eb39e8dd2c83e837cd08ab52965b8a58c
2025-04-16 11:46:12 +02:00
Ricardo Wurmus
c8435ea369
gnu: python-wcwidth: Update to 0.2.13.
* gnu/packages/python-xyz.scm (python-wcwidth): Update to 0.2.13.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest, python-pytest-cov, python-setuptools, and
python-wheel.

Change-Id: I50b427532a834026ca5dac869440df1216148cad
2025-04-16 11:46:12 +02:00
Sharlatan Hellseher
e8e3684665
gnu: python-numpy: Update to 1.26.2.
* gnu/packages/python-xyz.scm (python-numpy): Update to 1.26.2.
[arguments] <phases>: Add 'hide-gfortran.
[native-inputs]: Remove python-cython.

Change-Id: I1f02d45dd5c5bc7ad248dbbdc63a8e6a7a21ca9f
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2025-04-16 11:46:11 +02:00
Sharlatan Hellseher
f5b677e762
gnu: python-frozendict: Update to 2.4.6.
* gnu/packages/python-xyz.scm (python-frozendict): Update to 2.4.6. Fix build.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I023c36fb55fb4d89ffb965165818221d3c6a58f3
2025-04-16 11:46:11 +02:00
Ricardo Wurmus
f6ac61a1be
gnu: python-zarr: Update list of disabled tests.
* gnu/packages/python-xyz.scm (python-zarr)[arguments]: Enable one, disable
another test.

Change-Id: I52af5563621f9f44c8397a606cd0551e595dcfe8
2025-04-16 11:46:11 +02:00
Ricardo Wurmus
5b6a692ed3
gnu: python-cattrs: Disable failing test.
* gnu/packages/python-xyz.scm (python-cattrs)[arguments]: Disable one
additional test.

Change-Id: Ice48bd139d8dda509a0c380ebef69afa863fd245
2025-04-16 11:46:11 +02:00
Ricardo Wurmus
d87896da28
gnu: python-requests-unixsocket: Update to 0.4.2.
* gnu/packages/python-web.scm (python-requests-unixsocket): Define as
deprecated alias for...
(python-requests-unixsocket2): ...this new variable.
[source]: Fetch from forked git repository.
[home-page]: Update.
[arguments]: Remove.
[native-inputs]: Remove python-apipkg, python-appdirs, python-execnet,
python-packaging, python-pep8, python-py, python-pyparsing,
python-pytest-cache, python-pytest-pep8, python-setuptools, python-six, and
python-wheel; add python-poetry-core.
[propagated-inputs]: Remove python-urllib3.
(python-cheroot)[native-inputs]: Replace python-requests-unixsocket with
python-requests-unixsocket2.
* gnu/packages/python-xyz.scm (python-notebook)[native-inputs]: Same.
* gnu/packages/jupyter.scm (python-nbclassic)[native-inputs]: Same.

Change-Id: I4c35ff9f86aa7e3df0f2b9ed8616727a7a94f12d
2025-04-16 11:46:11 +02:00
Ricardo Wurmus
4fbac2167e
gnu: python-relatorio: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-relatorio)[build-system]: Use
pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel; move python-magic
from here...
[propagated-inputs]: ...to here.
[description]: Reformat.

Change-Id: Ie1bc69be70c37d283e6dbd5264e27479b8dca3fc
2025-04-16 11:46:10 +02:00
Sharlatan Hellseher
1e62855b54
gnu: python-toolz: Update to 1.0.0.
* gnu/packages/python-xyz.scm (python-toolz): Update to 1.0.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I275909a94c8214aecd9ed6969589df443deb28cb
2025-04-16 11:46:10 +02:00
Sharlatan Hellseher
d8128447e0
gnu: python-tblib: Update to 2.0.0.
* gnu/packages/python-xyz.scm (python-tblib): Update to 2.0.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-six; add python-setuptools and
python-wheel.

Change-Id: Iafb318162ff5cee5b7f5c0e41d2a4735cee9d30b
2025-04-16 11:46:10 +02:00