gnu: python-brian2tools: Switch to pyproject. * gnu/packages/machine-learning.scm (python-brian2tools): [build-system]: Switch to pyproject-build-system. [propagated-inputs]: Remove python-setuptools and python-setuptools-scm. [native-inputs]: Remove python-pytest; add python-setuptools, python-setuptools-scm. Change-Id: Idfa91dcf22f79aba09ce2191ac89f0e2772dfbf5 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pytorch: Switch to pyproject. * gnu/packages/machine-learning.scm (python-pytorch): [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Relocate field. <#:phases>: Add a fix in phase 'use-system-libraries. Change-Id: I780c1be6d9f1d3359a35a16686d3dd45b3b940f3 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-brian2tools: Fix build. * gnu/packages/machine-learning.scm (python-brian2tools): Add missing input. [propagated-inputs]: Add python-tables. Change-Id: I974d3a4e1101272710e791ab92b9bc793d17f28e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: openmm: Remove shaky tests. The package could not finish build in CI because of some not deterministic tests, see: <https://ci.guix.gnu.org/build/16867177/details>. This change removes some of them. * gnu/packages/machine-learning.scm (openmm): [phases]{remove-shaky-tests}: New phase. Change-Id: I508b23db8b6f0d5a567561b190897bc90cb8faf3 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pot: Update to 0.9.6.post1. * gnu/packages/machine-learning.scm (python-pot): Update to 0.9.6.post1. [arguments]: Drop all. [propagated-inputs]: Add python-cvxopt and python-matplotlib. [native-inputs]: Remove python-pytest-cov. Change-Id: I763bf521a30f1bd4067089133421239af160173c Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: openmm: Update to 8.4.0. * gnu/packages/machine-learning.scm (openmm): Update to 8.4.0. Change-Id: If91f5557966b7982b3504800d7761cc9b79b3af2 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-hyperopt: Fix build. * gnu/packages/machine-learning.scm (python-hyperopt): [arguments] <test-flags>: Move test logic from custom 'check phase here. <phases>: Use default 'check. [propagated-inputs]: Remove python-numpy; add python-numpy-1 and python-scikit-learn. Change-Id: Ic5b8b5a2ed37417e4869b8b00110367778b2c632 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-paramz Move to machinve-learning. * gnu/packages/python-science.scm (python-paramz): Move from here ... * gnu/packages/machine-learning.scm: ... to here. Change-Id: I128d863626a9b70bf31c37e200d40ad6ccd48ad2 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-gpy: Use python-numpy@1. * gnu/packages/machine-learning.scm (python-gpy): [propagated-inputs]: Remove python-numpy; add python-numpy-1. Change-Id: Ie8740ce69188726c58b9a6ee753bdd3ac6b214a8 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-scikit-learn-1.6: Skip 3 more tests. * gnu/packages/machine-learning.scm (python-scikit-learn-1.6)[arguments] <test-flags>: Skip 3 more tests. Change-Id: I1c7e2eb7c18ddc5479cf45b84a6cf07d374842fe Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-funsor: Update to 0.4.6. * gnu/packages/machine-learning.scm (python-funsor): Update to 0.4.6. [source]: Switch to git-fetch providing a fresh version. [arguments] <test-flags>: Run tests in parallel, supported upstream; skip more problematic tests. [propagated-inputs]: Remove python-numpy; add python-numpy-1, python-pyro-ppl, and python-pytorch. [native-inputs]: Add python-pytest-xdist. Change-Id: I6a82951485324e465c93aec07b4f98ef632ebae3 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pomegranate: Move to machine-learning. * gnu/packages/python-xyz.scm (python-pomegranate): Move from here ... * gnu/packages/machine-learning.scm: ... to here. Change-Id: I1ef53f52439c0cae22e96ec381ecff3e2f616d71 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: Add python-apricot-select. * gnu/packages/machine-learning.scm (python-apricot-select): New variable. Change-Id: Ib4e7b76e4025870e73a52d67277f8bc302740d01 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-brian2: Update to 2.10.1. * gnu/packages/machine-learning.scm (python-brian2): Update to 2.10.1. [arguments] <test-flags>: Run portion of tests. <phases>: Use default 'check; add 'relax-requirements. [propagated-inputs]: Remove python-py-cpuinfo; add python-packaging. [native-inputs]: Remove python-wheel; add python-pytest-timeout and python-setuptools-scm. Fixes: guix/guix#2568 Change-Id: Iad4d1bc211069fccbec7eb9b0082bf2ea73c8e41 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-captum: Update to 0.8.0-0.4fade3a. * gnu/packages/machine-learning.scm (python-captum): Update to 4fade3af8dc398c1f96b193c969565aad23aedf5 commit. [propagated-inputs]: Add python-openai. Change-Id: Ic51de929ac28f565244b7aec93b9b2be7211fb02 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-cleanlab: Fix build. * gnu/packages/machine-learning.scm (python-cleanlab)[arguments] <test-flags>: Skip one more test. <phases>: Add 'relax-requirements. [native-inputs]: Remove python-wheel; add python-matplotlib. Change-Id: I10e9d8a2eadc2de6d26f6247dc5e2305a215bd91 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-scikit-learn: Update to 1.7.2. * gnu/packages/machine-learning.scm (python-scikit-learn): Update to 1.7.2. [arguments] <test-flags>: Limit parallel tests up to 8 thread; all tests passed, don't skip any. [native-inputs]: Add pkg-config. Change-Id: I4ef534538ba83feb6d8e2bfb91f766e5dfd157e8 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pydantic-2: Deprecate by python-pydantic. * gnu/packages/python-xyz.scm (python-pydantic-2): Deprecate variable. * gnu/packages/astronomy.scm (python-czml3, python-edps, python-hvpy): [propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/cybersecurity.scm (gallia): [inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/databases.scm (python-prisma)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. (python-tortoise-orm, aerich)[native-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/django.scm (python-django-ninja)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/finance.scm (python-schwifty)[native-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/games.scm (tuxemon)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/machine-learning.scm (python-spacy, python-thinc): [propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/maths.scm (python-libensemble)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/protobuf.scm (python-pure-protobuf)[native-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/python-check.scm (python-inline-snapshot)[native-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/python-science.scm (python-iminuit):[native-inputs]: Remove python-pydantic-2; add python-pydantic. (python-pandera, python-vaex-core)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/python-web.scm: (python-cloudpathlib, python-huggingface-hub): [native-inputs]: Remove python-pydantic-2; add python-pydantic. (python-aws-sam-translator, python-weasel, python-openai, python-fastapi, python-fastapi-csrf-protect, python-fastapi-pagination-minimal, python-fastapi-pagination): [propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/python-xyz.scm: (python-safety-schemas, python-pytoolconfig, python-pydantic-cli, python-pydantic-settings, python-confection, python-safety)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. (python-deepdiff, python-lief)[native-inputs]: Remove python-pydantic-2; add python-pydantic. Change-Id: I20842162ae8a6c0abd54e4ef1fc676f928541184 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-numpy-2: Deprecate by python-numpy. * gnu/packages/python-xyz.scm (python-numpy-2): Deprecated in favor of python-numpy. (python-omero-py, python-numexpr) [propagated-inputs]: Remove python-numpy-2; add python-numpy. * gnu/packages/algebra.scm (kissfft) [native-inputs]: Remove python-numpy-2; add python-numpy. * gnu/packages/image.scm (vigra): [inputs]: Remove python-numpy-2; add python-numpy. * gnu/packages/machine-learning.scm (python-spacy): [propagated-inputs]: Remove python-numpy-2; add python-numpy. * gnu/packages/machine-learning.scm (python-thinc): [propagated-inputs]: Remove python-numpy-2; add python-numpy. * gnu/packages/maths.scm (python-blis): [native-inputs]: Remove python-numpy-2; add python-numpy. Change-Id: Ie6041de76a227246ec63b0efa04d293dcc22b40b Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pytorch: Patch Python build. * gnu/packages/machine-learning.scm (python-pytorch)[arguments]: Add phases 'patch-build-system to remove "__legacy__". Change-Id: Ic2243bdb4539cca3a0a0ac955961feeec963c2e5