Commit graph

271 commits

Author SHA1 Message Date
Ricardo Wurmus
b221e34953
gnu: python-fastcluster: Add missing inputs.
* gnu/packages/python-science.scm (python-fastcluster)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I2fa034054f5183e04c2f1e673f841f07799a7b94
2025-01-20 21:37:39 +01:00
Ricardo Wurmus
c43c0d06e3
gnu: python-cvxpy: Add missing input.
* gnu/packages/python-science.scm (python-cvxpy)[native-inputs]: Add
python-wheel.

Change-Id: I66f4f504a0a4101abc845b7b7d0a0fccbd6b91b9
2025-01-20 21:37:39 +01:00
Ricardo Wurmus
f874d80a36
gnu: python-scikit-survival: Add missing input.
* gnu/packages/python-science.scm (python-scikit-survival)[native-inputs]: Add
python-setuptools.

Change-Id: I52e98c787cec226590f21c98e4287a41fb41f3d3
2025-01-20 21:37:39 +01:00
Ricardo Wurmus
440cd7d571
gnu: python-qdldl: Add missing input.
* gnu/packages/python-science.scm (python-qdldl)[native-inputs]: Add
python-wheel.

Change-Id: I6bca560b20a9c259eae95c09edcf10ead685ec21
2025-01-20 21:37:39 +01:00
Ricardo Wurmus
322e03c807
gnu: python-osqp: Add missing inputs.
* gnu/packages/python-science.scm (python-osqp)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ief43d97442a98935dea1499c67e022e9beb5359e
2025-01-20 21:37:39 +01:00
Ricardo Wurmus
7b70b21379
gnu: python-scikit-fuzzy: Add missing inputs.
* gnu/packages/python-science.scm (python-scikit-fuzzy)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Idbaf5fa622b3584f8fd348ec0783605936d3bf41
2025-01-20 21:37:39 +01:00
Ricardo Wurmus
b752a03e8b
gnu: python-scikit-allel: Update to 1.3.13.
* gnu/packages/python-science.scm (python-scikit-allel): Update to 1.3.13.
[propagated-inputs]: Remove python-click.
[native-inputs]: Remove python-scipy.

Change-Id: I3c29bd3d9f87d0866da747c344740bad71cae1c3
2025-01-20 21:37:39 +01:00
Ricardo Wurmus
38065d8104
gnu: python-scikit-opt: Add missing input.
* gnu/packages/python-science.scm (python-scikit-opt)[native-inputs]: Add
python-setuptools.

Change-Id: Id14e3964257e250c1ba597c6d8fe1a0410fa475f
2025-01-20 21:37:29 +01:00
Ricardo Wurmus
1fd5f28306
gnu: python-traittypes: Fix tests.
* gnu/packages/python-science.scm (python-traittypes)[arguments]: Add phase
'numpy-compatibility.

Change-Id: I41d55d65d0dafd44029de38b3044d9fad378db50
2025-01-20 21:37:28 +01:00
Ricardo Wurmus
aa0d8b7e6c
gnu: python-pandas-2: Restrict number of test processes.
* gnu/packages/python-science.scm (python-pandas-2)[arguments]: Restrict to at
most four processes.

Change-Id: I8ee4cb29ad922e9b853515b5f0e8f8aabca52c92
2025-01-20 21:37:24 +01:00
Ricardo Wurmus
0a7a2b24d3
gnu: python-pandas-2: Remove X.
These tests are not run anyway, so there is no need to launch an X server.

* gnu/packages/python-science.scm (python-pandas-2)[arguments]: Rename
'prepare-x phase to 'pre-check.
[native-inputs]: Remove xorg-server-for-tests.

Change-Id: Ib85883360397d2715a1893b74435d96a1d119f9e
2025-01-20 21:37:24 +01:00
Ricardo Wurmus
aa0650d159
gnu: python-pythran: Update to 0.17.0.
* gnu/packages/python-science.scm (python-pythran): Update to 0.17.0.
[build-system]: Use pyproject-build-system.
[source]: Remove obsolete snippet.
[arguments]: Remove phase 'do-not-install-third-parties and custom 'check
phase; use #:test-flags and add 'pre-check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I49ebdd21cfb0668dd84f0d12c460a86ed694c7d6
2025-01-20 21:37:24 +01:00
Ricardo Wurmus
35c5f07e96
gnu: python-scikit-build-core: Update to 0.10.7.
* gnu/packages/python-science.scm (python-scikit-build-core): Update to
0.10.7.
[native-inputs]: Add python-pytest-subprocess.

Change-Id: I3da5a9e5d59900335deee2d4a5a1c80d1dd7c5ab
2025-01-20 21:37:21 +01:00
Ricardo Wurmus
be60505289
gnu: python-qdldl: Add missing input.
* gnu/packages/python-science.scm (python-qdldl)[native-inputs]: Add
python-setuptools.

Change-Id: I5f4c5b8f368da21da1f7d5c5cedd7a806dbdd709
2025-01-20 21:37:20 +01:00
Ricardo Wurmus
3c31650d18
gnu: python-upsetplot: Add missing inputs.
* gnu/packages/python-science.scm (python-upsetplot)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ibddb6f183345af29dfce218145c7c8c83aa9c244
2025-01-01 14:11:52 +01:00
Sharlatan Hellseher
a835ef1cbe
gnu: python-mpl-scatter-density: Fix buld.
* gnu/packages/python-science.scm (python-mpl-scatter-density):
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ica320293019ae3e88e2b0654e356bc4d1be50626
2024-12-21 22:07:51 +00:00
Sharlatan Hellseher
0c0c2d8815
gnu: python-supersmoother: Fix build
* gnu/packages/python-science.scm (python-supersmoother):
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I33f151e74d54b6e0647b3cfae73c063522c35ea3
2024-12-21 22:07:51 +00:00
Sharlatan Hellseher
e5b3deb1ec
gnu: python-trimesh: Update to 4.5.3.
* gnu/packages/python-science.scm (python-trimesh): Update to 4.5.3, fix
build.
[arguments] <phases>: Remove 'fix-build, as resolved upstream.
Delete 'sanity-check.

Change-Id: I9320912764506a8c0d0bd7f300dca98b32ce4333
2024-12-21 22:06:45 +00:00
Maxim Cournoyer
0b6c957ca1
gnu: Add pyre.
* gnu/packages/python-science.scm (pyre): New variable.

Change-Id: I4a26d7a83f24210104cb0ab50b5392ab97d9bfc4
2024-12-19 14:35:20 +09:00
Maxim Cournoyer
106809a306
gnu: python-pandas-stubs: Update to 2.2.3.241126.
* gnu/packages/python-science.scm (python-pandas-stubs): Update to
2.2.3.241126.
[arguments]: Ignore tests/test_io.py in #:test-flags.
[native-inputs]: Replace python-sqlalchemy with python-sqlalchemy-2.

Change-Id: If27b3a5b687ca230a209e8a8087a89802414912e
2024-12-17 23:43:58 +09:00
Maxim Cournoyer
933f2ca76a
gnu: Add python-ndindex.
Adapted from <https://raw.githubusercontent.com/Blosc/python-blosc2/refs/heads/main/.guix/modules/python-blosc2-package.scm>.

* gnu/packages/python-science.scm (python-ndindex): New variable.

Co-authored-by: Ivan Vilata i Balaguer <ivan@selidor.net>
Change-Id: I38fbcbd8859c2ddbfdd39e8d84a63b20deef75c4
2024-12-17 23:43:58 +09:00
Ricardo Wurmus
ca0262ad5e
gnu: python-xarray: Disable bad tests.
* gnu/packages/python-science.scm (python-xarray)[arguments]: Disable two
tests.

Change-Id: Ia9799a5bd247907ee875925431cd0fe2714f51b3
2024-12-15 20:22:51 +01:00
Sharlatan Hellseher
e5a6faeb12
gnu: Remove python-typeguard-4.
* gnu/packages/python-xyz.scm (python-typeguard-4): Delete variable.
* gnu/packages/python-check.scm (python-icontract) [native-inputs]:
Remove python-typeguard-4; add python-typeguard.
* gnu/packages/python-science.scm (python-pandera) [propagated-inputs]:
Remove python-typeguard-4; add python-typeguard.

Change-Id: Ie20deee06629452c804fa6f62b1bd1f67038bc86
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
f2fa9e8a9f
gnu: python-pandas-2: Update to 2.2.3.
* gnu/packages/python-science.scm (python-pandas-2): Update to 2.2.3.
[arguments]<test-flags>: Ignore move failing test which require optional
dependencies.
[native-inputs]: Remove python-cython-0.29.35; add python-cython-3.

Change-Id: I402627132c9f0771470d89dea986c92855ae4ced
2024-12-13 20:23:25 +00:00
Sharlatan Hellseher
a2fbf6879c
gnu: Remove python-pytest-next.
* gnu/packages/check.scm (python-pytest-next): Delete variable.

* gnu/packages/python-science.scm (python-pandas-2) [native-inputs]:
Remove python-pytest-next; add python-pytest.

* gnu/packages/python-xyz.scm (python-hy) [native-inputs]: Remove
python-pytest-next; add python-pytest.

Change-Id: I57e14aa11c2e3cd1d8e8119f566b49fd902c7957
2024-12-13 20:19:09 +00:00
Sharlatan Hellseher
62f52b0e71
gnu: python-fast-histogram: Adjust inputs.
* gnu/packages/python-science.scm (python-fast-histogram)
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I53e2ce8019c421894e50138099539021a91f7c24
2024-12-13 20:19:09 +00:00
Sharlatan Hellseher
cf0e5934d2
gnu: python-distributed: Adjust inputs.
* gnu/packages/python-science.scm (python-distributed) [native-inputs]:
Add python-wheel.

Change-Id: I9c8620c04f7ed75af6900b885b58937621af15f9
2024-12-13 20:19:08 +00:00
Sharlatan Hellseher
1228b3134f
gnu: python-scikit-fem: Update to 10.0.2.
* gnu/packages/python-science.scm (python-scikit-fem): Update to
10.0.2. Improve style.
[arguments]<test-flags>: Skip some failing tests.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I4efe9f0e93d315c7b979bf3160fa5a3a97ab2115
2024-12-13 20:19:06 +00:00
Sharlatan Hellseher
8f178be63f
gnu: python-unyt: Adjust inputs.
* gnu/packages/python-science.scm (python-unyt): Shift the order of
native and propagated inuts, add missing.
[native-inputs]: Add python-setuptools-scm.

Change-Id: Ibb1606be89743ac7d90fcafeaa75eae7ccfd756c
2024-12-13 20:19:05 +00:00
Sharlatan Hellseher
b77ef3ccd6
gnu: python-pandera: Adjust inputs.
* gnu/packages/python-science.scm (python-pandera) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ic0a46a11f0410a5d4a29dce8416a9d3ff89f471f
2024-12-13 20:19:04 +00:00
Nicolas Graves
3c2943b621
gnu: build-system/pyproject: Add missing native-inputs.
* gnu/packages/bioinformatics.scm (python-ega-download-client)
[native-inputs]: Add python-setuptools and python-wheel.

* gnu/packages/databases.scm (datasette)[native-inputs]: Add
python-pip.

* gnu/packages/django.scm (python-django-localflavor,
python-django-contact-form)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/graphviz.scm (python-uqbar)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/jupyter.scm (python-jupyterlab-server)[native-inputs]:
Add python-wheel.
(python-nbstripout)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/machine-learning.scm (python-captum,
python-linear-operator, python-gpytorch)[native-inputs]: Add
python-setuptools.

* gnu/packages/music.scm (abjad, abjad-ext-rmarkers,
abjed-ext-nauert, python-mutagen)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/package-management.scm
(python-conda-package-handling)[native-inputs]: Add python-setuptools
and python-wheel.
(conda)[native-inputs]: Add python-wheel.

* gnu/packages/python-check.scm (python-pyinstrument,
python-pytest-testmon, python-pytest-trio, python-nbval,
python-pytest-toolbox)[native-inputs]: Add python-setuptools and
python-wheel.
(python-nptyping)[native-inputs]: Add python-setuptools.

* gnu/packages/python-check.scm (python-dask-expr)[native-inputs]:
Add python-setuptools and python-wheel.

* gnu/packages/python-web.scm (parfive, python-aioftp, python-hupper,
python-sanic, python-mechanicalsoup, python-tinycss, python-aiostream,
python-cbor2, gunicorn)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/python-xyz.scm (python-apprise, python-jaraco-classes,
python-sparse, python-shtab, python-pyan3)[native-inputs]: Add
python-setuptools.
(python-jupytext, python-orderedmultidict, python-identify, python-nodeenv,
python-cfgv, python-zarr, python-multipart, python-nbconvert, python-cram,
python-immutables, python-numpydoc, python-cairosvg, python-unidecode,
python-black, python-multidict, python-mpv-jsonipc, python-humanize,
python-cmd2)[native-inputs]: Add python-setuptools and python-wheel.
(python-partd, python-dask, python-zarr)[native-inputs]: Add
python-wheel.
(python-nbconvert)[propagated-inputs]: Add texlive-etoolbox. Remove
duplicate textlive-jknapltx.
(python-isort)[native-inputs]: Add python-pip.

* gnu/packages/simulation.scm (python-fenics-dijitso)[native-inputs]:
Add python-setuptools and python-wheel.

* gnu/packages/sphinx.scm (python-pydata-sphinx-theme,
python-sphinx-autodoc-typehints)[native-inputs]: Add
python-setuptools.

* gnu/packages/syndication.scm (tuir)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/terminals.scm (python-halo)[native-inputs]: Add
python-setuptools and python-wheel.

* gnu/packages/time.scm (python-arrow, python-dateutil)
[native-inputs]: Add python-setuptools and python-wheel.

* gnu/packages/version-control.scm (pre-commit)[native-inputs]: Add
python-setuptools and python-wheel.  Remove input labels.

* gnu/packages/virtualization.scm (python-qemu-qmp,
python-transient)[native-inputs]: Add python-setuptools and
python-wheel.

* gnu/packages/xorg.scm (python-xcffib)[native-inputs]: Add
python-setuptools and python-wheel.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>

Change-Id: Id61cf8cdc47bd4c2871c0a9c8e9a5bfd51157df0
2024-12-13 20:18:58 +00:00
Lars-Dominik Braun
6d97c15911
gnu: Add python-setuptools/python-wheel where necessary.
Changes to pyproject-build-system require explicit dependency on
setuptools/wheel.

Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
2024-12-13 20:18:25 +00:00
Lars-Dominik Braun
fdc0fefd46
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.

* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.

Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Gabriel Wicki
8d05f0c8db
gnu: Fix synopsis in various python packages.
* gnu/packages/python-compression.scm (python-inflate64): Fix synopsis.
* gnu/packages/python-science.scm (python-xarray-dataclasses): Fix synopsis.
* gnu/packages/python-web.scm (python-waybackpack): Fix synopsis.
* gnu/packages/python-xyz.scm (python-mir-eval): Fix synopsis.
(python-restructuredtext-lint): Fix synopsis.  (python-pixelmatch): Fix
synopsis.  (python-google-pasta): Fix synopsis.  (python-xmp-toolkit): Fix
synopsis.
* gnu/packages/bioinformatics.scm (python-mgatk): Fix synopsis.
* gnu/packages/rpc.scm (python-grpc-stubs): Fix synopsis.
* gnu/packages/simulation.scm (python-commonroad-io): Fix synopsis.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-12-10 22:35:06 -08:00
Sharlatan Hellseher
0c1dddd90f
gnu: packages/python-science: Update copyright header.
* gnu/packages/python-science.scm: Update copyright header for Antero
Mejr <antero@mailbox.org> .

Change-Id: I4153d51d74f7de1629d5a7851346021b77e7352d
2024-12-04 14:38:09 +00:00
Antero Mejr
16c71b7fe3
gnu: Add python-scikit-surprise.
* gnu/packages/python-science.scm (python-scikit-surprise): New variable.

Change-Id: I9b5e13f0c985f34bb0bd759e76ebd27221a340a4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-04 14:28:10 +00:00
Rick Huijzer
ea195b286e
gnu: Add python-pyet.
* gnu/packages/python-science.scm (python-pyet): New variable.

Change-Id: Ia2be23aeb83911aa93869f82cf0667da8af509c4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-18 21:45:45 +00:00
Sharlatan Hellseher
bb5ccbfc70
gnu: python-scs: Adjust inputs.
* gnu/packages/python-science.scm (python-scs) [inputs]: Remove
meson-python.
[native-inputs]: Remove python-meson-python; add meson-python.

Change-Id: I0122ecd0db405b134a6587c32592b59522e6320b
2024-11-01 21:28:24 +00:00
Sharlatan Hellseher
39fc289fd6
gnu: python-trimesh: Update to 4.1.8.
* gnu/packages/python-science.scm (python-trimesh): Update to 4.1.8.
[arguments]<test-flags>: Refresh list of disabled tests.
[propagated-inputs]: Add python-meshio, python-psutil, python-pycollada,
python-pyglet, and python-scikit-image.
[native-inputs]: Remove python-pytest-cov.
[description]: Adjust fill alignment.

Change-Id: I722311cbe883499c0eca99d0f30b0788e87598d3
2024-10-30 21:40:03 +00:00
Sharlatan Hellseher
cfd383f263
gnu: Add python-pymcubes.
* gnu/packages/python-science.scm (python-pymcubes): New variable.

Change-Id: I47273d933824fb96d3c2c1950f0a2f89ce635c41
2024-10-30 19:32:18 +00:00
Sharlatan Hellseher
3abe0134be
gnu: python-pynsee: Update to 0.1.8.
* gnu/packages/python-science.scm (python-pynsee): Update to 0.1.8.
[propagated-inputs]: Add python-openpyxl, python-platformdirs, python-pyarrow, and
python-xlrd.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ibb9ec7b979b7e27d2c2a48e2bf27dfcddc79200d
2024-10-02 22:58:39 +01:00
Nicolas Graves
37076a20f9
gnu: Add python-pynsee.
* gnu/packages/python-science.scm (python-pynsee): New variable.

Change-Id: I4e93d26ad4b6be238b0e4cce82ea77030caf6e02
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-10-02 22:58:39 +01:00
Vinicius Monego
7d50da20b0
gnu: python-scikit-fuzzy: Enable tests.
* gnu/packages/python-science.scm (python-scikit-fuzzy)[arguments]:
Remove #:tests? #f and add #:test-flags.
[native-inputs]: Remove python-nose. Add python-pytest.

Change-Id: I317d6ad2fdede1a3a4737c45118932e2ddc5ce46
2024-09-02 17:42:24 -03:00
Vinicius Monego
91b2192050
gnu: python-scikit-fuzzy: Update to 0.5.0.
* gnu/packages/python-science.scm (python-scikit-fuzzy): Update to 0.5.0.
[source]: Adjust URI.
[build-system]: Move to pyproject-build-system.

Change-Id: I5dbe3788c34767d4af0c1b526a3ce79f0f6d532f
2024-09-02 17:40:28 -03:00
宋文武
7dfc98b151
gnu: python-clarabel: Fix build.
* gnu/packages/python-science.scm (python-clarabel)[arguments]:
Don't refer to nonexistent 'prepare-python-module' phase.

Change-Id: I002e6a5a5bf9a540c5d6e169a9ba59dc96f6b361
2024-08-31 10:45:17 +02:00
Ludovic Courtès
bb5a447992
gnu: meson: Update to 1.1.1 and ungraft.
* gnu/packages/build-tools.scm (meson): Update to 1.1.1.
[replacement]: Remove.
(meson/newer): Remove.
(meson-python/newer): Remove.
* gnu/packages/pdf.scm (capypdf)[arguments]: Remove #:meson.

Change-Id: I77dd9203461e8dd635753ec742bd8046dd63e3f9
* gnu/packages/python-science.scm (python-pandas-2): Use regular meson-python.
* gnu/packages/python-xyz.scm (python-contourpy): Same
2024-08-31 10:44:25 +02:00
Sharlatan Hellseher
c6ecd58a0d
gnu: Add python-mpl-scatter-density.
* gnu/packages/python-science.scm (python-mpl-scatter-density): New variable.

Change-Id: Id4ea80b2c62642affbe1944e0c5126a1c53d16c3
2024-07-30 10:30:48 +01:00
Sharlatan Hellseher
77d4efec42
gnu: python-fast-histogram: Adjust inputs.
* gnu/packages/python-science.scm (python-fast-histogram): Fix lint
warnings and adjust inputs.
[native-inputs]: Add python-setuptools-scm.

Change-Id: Ic51660d7542114f2bb45be4720ab4d899633e56d
2024-07-30 10:30:47 +01:00
Vinicius Monego
e1e36294ad
gnu: python-scikit-optimize: Update to 0.10.2.
* gnu/packages/python-science.scm (python-scikit-optimize): Update to 0.10.2.
[source]: Switch to maintained repository. Remove compatibility patches and
snippet.
* gnu/packages/patches/python-scikit-optimize-1148.patch,
gnu/packages/patches/python-scikit-optimize-1150.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.

Change-Id: I6c23c93d3c256b0b97166f80eaeab7f2c7282c5f
2024-07-05 23:04:15 -03:00
Sharlatan Hellseher
48e9b346db
gnu: Add python-fast-histogram.
* gnu/packages/python-science.scm (python-fast-histogram): New variable.

Change-Id: Ibecdd87db9c132052a8eca76c01108c4f6e624c4
2024-06-30 10:11:19 +01:00