Commit Graph

213 Commits

Author SHA1 Message Date
Ricardo Wurmus
1b44a23503
gnu: python-gpy: Update to 1.13.1.
* gnu/packages/python-science.scm (python-gpy): Update to 1.13.1.
[source]: Remove snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Remove phase 'remove-plotting-tests; add phase 'compatibility.
[native-inputs]: Remove python-nose and python-climin; add python-pytest,
python-matplotlib, and python-pods.

Change-Id: I1ed95e3ad2e8444979fd2cf272d7f3104b1bf2ec
2024-05-05 22:38:18 +02:00
Ricardo Wurmus
9d615b915b
gnu: python-paramz: Update to 0.9.6.
* gnu/packages/python-science.scm (python-paramz): Update to 0.9.6.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-nose.

Change-Id: I62a2f7ecf600f48da74f4d233e108360a583d5ca
2024-05-05 22:38:18 +02:00
Ricardo Wurmus
041ea43a86
gnu: python-pingouin: Update to 0.5.4.
* gnu/packages/python-science.scm (python-pingouin): Update to 0.5.4.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'sklearn-compatibility phase;
skip one test.

Change-Id: I8d13f15558eadee0547f04bc4bb89a0fd0e0767b
2024-05-05 22:38:18 +02:00
Ricardo Wurmus
4d65083bf8
gnu: python-plotnine: Fix version string.
* gnu/packages/python-science.scm (python-plotnine)[native-inputs]: Add
python-setuptools-scm.

Change-Id: I0fc2f3ad7edcdaaa5e3bf9774bc6840c8fbeb727
2024-05-05 22:38:18 +02:00
Ricardo Wurmus
02ca781c03
gnu: python-plotnine: Disable test because of harmless warning.
* gnu/packages/python-science.scm (python-plotnine)[arguments]: Disable
test_save_method which prints an unexpected warning..

Change-Id: I28a20b85ee549311bed534efbf801db930419ca9
2024-05-05 22:38:18 +02:00
Ricardo Wurmus
78d5fb1720
gnu: python-dask: Propagate python-dask-expr.
* gnu/packages/python-xyz.scm (python-dask/bootstrap): New variable.
(python-dask)[propagated-inputs]: Add python-dask-expr.
* gnu/packages/python-science.scm (python-dask-expr)[propagated-inputs]:
Remove python-dask.
[native-inputs]: Add python-dask/bootstrap.

Change-Id: I1196641425421c7dde94c6fea8d573e78db9c402
2024-05-05 22:38:17 +02:00
Ricardo Wurmus
3c0579849c
gnu: python-pandas-stubs: Accept numpy 1.23.
* gnu/packages/python-science.scm (python-pandas-stubs)[arguments]: Add phase
'relax-requirements.

Change-Id: I62e04574d53abd7d67068d08475522dd8989dcca
2024-05-05 22:38:17 +02:00
Ricardo Wurmus
92259a5d4b
gnu: python-pandas-stubs: Update tests.
This is a follow-up to adding ORC support to pyarrow.

* gnu/packages/python-science.scm (python-pandas-stubs)[arguments]: Disable
more tests that are due to enabling ORC support to pyarrow.

Change-Id: I8c3ca6afff8128792738251c85a1dba3dc3b0569
2024-05-05 22:38:16 +02:00
Ricardo Wurmus
d4c62ff301
gnu: Add python-scikit-build-core.
* gnu/packages/python-science.scm (python-scikit-build-core): New variable.

Change-Id: If234d19d720afe88f6893bdd36fcc4955a45c5d3
2024-05-05 22:38:16 +02:00
Ricardo Wurmus
07c7b342bb
gnu: python-distributed: Update to 2024.4.2.
* gnu/packages/python-science.scm (python-distributed): Update to 2024.4.2.
[propagated-inputs]: Add python-dask-expr.
[arguments]: Adjust tests.

Change-Id: I9d3b45d14ae052f3a5a5dec3587bc01d13e4b71f
2024-05-05 22:38:16 +02:00
Ricardo Wurmus
f3a80df770
gnu: Add python-dask-expr.
* gnu/packages/python-science.scm (python-dask-expr): New variable.

Change-Id: I691593ab713fe865c771aa68b5521c4c10cc58f6
2024-05-05 22:38:16 +02:00
Ricardo Wurmus
adf54dea4e
gnu: python-pandas-stub: Update to 2.1.1.230928.
This is a follow-up to commit ff2d0ecfca.

* gnu/packages/python-science.scm (python-pandas-stub): Update to
2.1.1.230928.

Change-Id: I2e8ce18bd25399b467a6ff2a6fb846f8bb969e4c
2024-05-05 22:38:16 +02:00
Ricardo Wurmus
5e7da50260
gnu: python-pandas-2: Fix version.
* gnu/packages/python-science.scm (python-pandas-2)[arguments]: Write version
string to "_version.py", not "_version_meson.py" to avoid reporting the
version as "0+unknown".

Change-Id: I1a18814e37c023102714326bc8bd505705234205
2024-05-05 22:38:16 +02:00
Ricardo Wurmus
6962b32a2b
gnu: python-pyjanitor: Update to 0.27.0.
* gnu/packages/python-science.scm (python-pyjanitor): Update to 0.27.0.
[arguments]: Disable a few more tests; add phase 'pandas-compat.

Change-Id: Ia8891971a687342166f30ded11f9e341a208d95e
2024-05-05 22:38:16 +02:00
Ricardo Wurmus
297e88edff
gnu: python-xarray: Disable tests that are known to fail.
* gnu/packages/python-science.scm (python-xarray)[arguments]: Disable two
tests.

Change-Id: I70954173e0aca5a377cf19476e9390a97febadc7
2024-05-05 22:38:15 +02:00
Ricardo Wurmus
74dd2def7f
gnu: python-pandas: Default to version 2.x.
* gnu/packages/python-science.scm (python-pandas): Define as alias for
python-pandas-2; rename existing definition to...
(python-pandas-1): ...this new variable.

Change-Id: If359e3b2d42c683d7d0152b1757bbc5a979c999b
2024-05-05 22:38:15 +02:00
Ricardo Wurmus
d85a19a29c
gnu: python-scikit-opt: Add missing input.
* gnu/packages/python-science.scm (python-scikit-opt)[propagated-inputs]: Add
python-pytorch.

Change-Id: I037cc43bedeaebb05bf038c0bca72919f8c27c40
2024-05-05 22:38:15 +02:00
Marco Baggio
da18b8620f
gnu: Add python-cvxpy.
* gnu/packages/python-science.scm (python-cvxpy): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: I440ab3768cbc4e78364dc31cf9484effd9670f49
2024-05-05 22:38:15 +02:00
Marco Baggio
2c0cf38f04
gnu: Add python-ecos.
* gnu/packages/python-science.scm (python-ecos): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: I83d9b746f5f3563f417efc5d18911f2eb04f201c
2024-05-05 22:38:15 +02:00
Marco Baggio
a0971243bc
gnu: Add python-osqp.
* gnu/packages/python-science.scm (python-osqp): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Id6f1665505469fd6543046636b82d0730b319df3
2024-05-05 22:38:15 +02:00
Marco Baggio
d051ef0913
gnu: Add python-qdldl.
* gnu/packages/python-science.scm (python-qdldl): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: I523ecb2292c9b514b548e2130d0d43bb77317b00
2024-05-05 22:38:15 +02:00
Marco Baggio
d470a9aa54
gnu: Add python-scs.
* gnu/packages/python-science.scm (python-scs): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: I6c5ecdac4b558aab4b8ee396dff1dfc9cdec07f0
2024-05-05 22:38:15 +02:00
Marco Baggio
670dcc8e4c
gnu: Add python-fastcluster.
* gnu/packages/python-science.scm (python-fastcluster): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Ifc5229a4d00f581eb358a1f41fc3479fd1c33c2e
2024-05-05 22:38:15 +02:00
Ricardo Wurmus
c4eccd2066
gnu: Add python-clarabel.
* gnu/packages/python-science.scm (python-clarabel): New variable.

Change-Id: I28459162460ca9bf9e9557122f611c677afadc27
2024-05-05 22:38:15 +02:00
Ricardo Wurmus
c9d9b9572b
gnu: Add python-xarray-schema.
* gnu/packages/python-science.scm (python-xarray-schema): New variable.

Change-Id: I4ca650f2c2872698fc22392add169f44b9e2e035
2024-05-05 22:38:15 +02:00
Ricardo Wurmus
061885faec
gnu: python-xarray-datatree: Add missing input.
* gnu/packages/python-science.scm (python-xarray-datatree)[native-inputs]:
Add python-setuptools-scm.

Change-Id: I86a7280ba687385edb15f30dae1a20e3811a0beb
2024-05-05 22:38:15 +02:00
Sharlatan Hellseher
8cea282efe
gnu: Add python-supersmoother.
* gnu/packages/python-science.scm (python-supersmoother): New variable.

Change-Id: I8fb43d746757014e3b773c07458b777b893adb4a
2024-04-30 21:36:10 +01:00
Ricardo Wurmus
e6586f55e0
gnu: python-xarray-dataclasses: Add missing test input.
* gnu/packages/python-science.scm (python-xarray-dataclasses)[native-inputs]:
Add python-pytest.

Change-Id: I137d49380d772f11f75837aa9a915ced85cfc1a2
2024-04-22 11:29:30 +02:00
Ricardo Wurmus
061c7bc1ca
gnu: python-pandas-2: Skip expensive tests.
* gnu/packages/python-science.scm (python-pandas-2)[arguments]: Set PANDAS_CI
variable.

Change-Id: I7c400ff260b3c833be1a55a30de021a81a5cbacb
2024-04-22 11:29:30 +02:00
Nicolas Graves
ff2d0ecfca
gnu: Add python-pandas-2.
* gnu/packages/python-science.scm (python-pandas-2): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: I7f0510f9021d4eac3c981e5e58f73dc3ec7efd2f
2024-04-22 11:29:30 +02:00
Ricardo Wurmus
81eb92105f
gnu: Add python-xarray-datatree.
* gnu/packages/python-science.scm (python-xarray-datatree): New variable.

Change-Id: I403f241b6daae8b5c835f4517a1dceca0393f8e6
2024-04-22 11:29:29 +02:00
Ricardo Wurmus
3c00ef084b
gnu: Add python-xarray-dataclasses.
* gnu/packages/python-science.scm (python-xarray-dataclasses): New variable.

Change-Id: I55f258e36ea70a2efb142bd652a81d70771a457c
2024-04-22 11:29:29 +02:00
Maxim Cournoyer
05eb9349e3
gnu: Add python-pods.
* gnu/packages/python-science.scm (python-pods): New variable.

Change-Id: I9044baaa750ee9cb7411e41dcee1df17b57741db
2024-03-31 21:25:51 -04:00
Sharlatan Hellseher
25d66b55c2
gnu: python-distributed: Disable parallel tests.
As seen in <https://ci.guix.gnu.org/build/3708961/log/raw>, parallel
tests introduced package build regression.

* gnu/packages/python-science.scm (python-distributed) [arguments]
<#:test-flags>: Disable parallel tests.
[native-inputs]: Remove python-pytest-xdist.

Change-Id: I3a04098604fa03ab91ceb228dd70c34c3d84db78
2024-03-29 19:08:08 +00:00
Sharlatan Hellseher
249f0a9c9f
gnu: python-distributed: Speed up tests.
* gnu/packages/python-science.scm (python-distributed) [arguments]
<#:test-flags>: Add option to run tests in parallel. Disable 3 more
flaky tests.
[native-inputs]: Add python-pytest-xdist. Sort alphabetically.

Change-Id: I588c1a1dc82e3208cc1eeeefbdc58fb080775ac0
2024-03-29 15:08:07 +00:00
nafkhamdc
d616e85ac8
gnu: python-upsetplot: Update to 0.9.0.
* gnu/packages/python-science.scm (python-upsetplot): Update to 0.9.0.
[source]: Remove obsolete snippet.
[arguments]: Remove custom check phase.
[build-system]: Use pyproject-build-system.

Change-Id: I68bcd6840577a12594e491e9fd5e114f9261f6c7
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2024-03-28 13:37:20 +01:00
TimotheeMathieu
9474e64b09
gnu: Add python-scikit-opt.
* gnu/packages/python-science.scm (python-scikit-opt): New variable.

Change-Id: I47d6b35d9658a37a242b4db61d293fa7efd33802
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-02-10 22:51:59 +01:00
Sharlatan Hellseher
5729b2b352
gnu: python-traittypes: Simplify package.
* gnu/packages/python-science.scm (python-traittypes) [build-system]:
Swap to pyproject-build-system.
[arguments]: Move excluded tests to <#:test-flags>. Use standard 'check
phase.

Change-Id: I4cab0c94036a7e5f0851edf2833dfac2f675d2a0
2024-02-06 21:11:40 +00:00
Sharlatan Hellseher
5dee582c13
gnu: python-pynrrd: Update to 1.0.0.
* gnu/packages/python-science.scm (python-pynrrd): Update to 1.0.0.
[arguments]: Keep 'ensure-no-mtimes-pre-1980 phase as it's building with
it successfully.
[propagated-inputs]: Add python-nptyping and python-typing-extensions.

Change-Id: Ic4dcd0825e71d3eb4acd39694bee9e22e8485f9f
2024-02-06 19:56:05 +00:00
Sharlatan Hellseher
ac18dfc675
gnu: python-pynrrd: Improve description.
* gnu/packages/python-science.scm (python-pynrrd) [description]: Add
definition of NRRD.

Change-Id: I0335df0eb4be600d81799da64374ddfb49b06720
2024-02-06 19:49:50 +00:00
Antero Mejr
36f5db706c
gnu: Add python-pynrrd.
* gnu/packages/python-science.scm (python-pynrrd): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-02-06 19:40:17 +00:00
Wiktor Żelazny
a879dd8b36
gnu: Add python-pandarallel.
* gnu/packages/python-science.scm (python-pandarallel): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-02-01 21:16:14 +00:00
Efraim Flashner
9f1ab898c3
gnu: python-scipy: Enable building on more architectures.
* gnu/packages/python-science.scm (python-scipy)[propagated-inputs]:
Only include python-jupytext on systems where it is supported.

Change-Id: Ic085094e4e3977e4c0698e8c03de09ee8e70f144
2024-01-30 13:43:32 +02:00
Troy Figiel
cde0adaacd
gnu: Add python-pyjanitor.
* gnu/packages/python-science.scm (python-pyjanitor): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-01-29 21:40:59 +00:00
Troy Figiel
343f4f1d70
gnu: Add python-unyt.
* gnu/packages/python-science.scm (python-unyt): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-01-29 21:12:12 +00:00
Sharlatan Hellseher
77a07a968f
gnu: python-pyamg: Regenerate bundled files.
* gnu/packages/python-science.scm (python-pyamg) [source]: Delete
auto-generated files.
[arguments] <#:phases>: Add 'amg-core-bind-them phase to
re-generate *_bind.cpp files deleted in snippet.
[native-inputs]: Add python-cppheaderparser and python-pyyaml.
[description]: Improve style, omit implementation details.

Change-Id: I6f68914cd912e6f4592e51c21b129847e73be847
2024-01-28 22:44:30 +00:00
Sharlatan Hellseher
42c7b50e23
gnu: python-trimesh: Enable tests.
* gnu/packages/python-science.scm (python-trimesh): Enable tests and
apply new package style.
[source]: Use git checkout which has working test suit.
[arguments] <#:test-flags>: Disable tests requiring optional Python
modules.
[propagated-inputs]: Add python-chardet, python-colorlog python-httpx
python-jsonschema python-lxml python-networkx python-pillow
python-requests python-rtree python-scipy python-setuptools
python-shapely python-sympy and python-xxhash.

Change-Id: I1aa363053c2d736bc44b8f9071c637256cc2d952
2024-01-28 22:39:22 +00:00
Sharlatan Hellseher
a01afbd300
gnu: python-trimesh: Update to 4.0.10.
* gnu/packages/python-science.scm (python-trimesh): Update to 4.0.10.
[build-system]: Swap to pyproject-build-system.

Change-Id: I757b4c27db9969d42021434883a057debbbc83fd
2024-01-28 22:38:05 +00:00
Vinicius Monego
a4c9766108
gnu: python-xarray-einstats: Update to 0.7.0.
* gnu/packages/python-science.scm (python-xarray-einstats): Update to 0.7.0.

Change-Id: Iddd1fca8c37f05a928d20b90f9f95814f31435b2
2024-01-24 20:02:51 -03:00
Ricardo Wurmus
afd0fe50b0
gnu: python-pyts: Update to 0.13.0.
* gnu/packages/python-science.scm (python-pyts): Update to 0.13.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; enable all tests.
[propagated-inputs]: Remove python-matplotlib.

Change-Id: Iafcc047d8bb14e1eef514fd92aa53f8fda38eab0
2024-01-24 11:34:35 +01:00