diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2024-02-22 20:47:54 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-10-11 21:17:59 +0100 |
commit | d62b350a8e816aef3d52bab87af88373675f1b8b (patch) | |
tree | b1ed4402d68ea465d11bbf41f51bff2c14302b2a /gnu/packages/machine-learning.scm | |
parent | d1f362d81c01544a1f16a0419075f025ff80df4f (diff) |
gnu: Add python-setuptools/python-wheel where necessary.
Changes to pyproject-build-system require explicit dependency on
setuptools/wheel.
Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r-- | gnu/packages/machine-learning.scm | 43 |
1 files changed, 29 insertions, 14 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 2e4153cb45..a39048b65e 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -183,7 +183,7 @@ family of functions.") (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-scipy)) (inputs (list fasttext)) - (native-inputs (list pybind11)))) + (native-inputs (list pybind11 python-setuptools python-wheel)))) (define-public python-funsor (package @@ -209,11 +209,13 @@ family of functions.") python-pytest python-pytest-xdist python-requests + python-setuptools python-scipy python-sphinx python-sphinx-gallery python-sphinx-rtd-theme - python-torchvision)) + python-torchvision + python-wheel)) (home-page "https://github.com/pyro-ppl/funsor") (synopsis "Tensor-like library for functions and distributions") (description @@ -358,7 +360,8 @@ classification.") "-k" "not testJSONConversionBestEffort"))))))) (propagated-inputs (list python-absl-py python-contextlib2 python-pyyaml python-six)) - (native-inputs (list python-mock python-pytest)) + (native-inputs (list python-mock python-pytest python-setuptools + python-wheel)) (home-page "https://github.com/google/ml_collections") (synopsis "Python collections designed for Machine Learning usecases") (description @@ -940,6 +943,7 @@ depend on language-specific pre- or post-processing.") (sha256 (base32 "018ilrp41fcclmb5lsml3aijwbmhbq3m7wy65hr1fryj0avic8fr")))) (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-wheel)) (home-page "https://github.com/sofiatolaosebikan/hopcroftkarp") (synopsis "Implementation of the Hopcroft-Karp algorithm") (description @@ -965,7 +969,8 @@ cardinality matching from a bipartite graph.") python-numpy python-scikit-learn python-scipy)) - (native-inputs (list python-pytest python-pytest-cov)) + (native-inputs (list python-pytest python-pytest-cov python-setuptools + python-wheel)) (home-page "https://persim.scikit-tda.org") (synopsis "Tools for analyzing persistence diagrams in Python") (description @@ -996,7 +1001,8 @@ It currently houses implementations of (build-system pyproject-build-system) (propagated-inputs (list python-numpy python-persim python-scikit-learn python-scipy)) - (native-inputs (list python-cython python-pytest)) + (native-inputs (list python-cython python-pytest python-setuptools + python-wheel)) (home-page "https://ripser.scikit-tda.org") (synopsis "Persistent homology library for Python") (description @@ -1779,7 +1785,9 @@ computing environments.") (list python-cython-3 python-pandas python-pytest - python-pytest-xdist)) + python-pytest-xdist + python-setuptools + python-wheel)) (propagated-inputs (list python-numpy python-threadpoolctl python-scipy python-joblib)) (home-page "https://scikit-learn.org/") @@ -1840,7 +1848,8 @@ data analysis.") python-scikit-learn python-scipy python-packaging)) - (native-inputs (list python-pytest python-pytest-cov python-cython)) + (native-inputs (list python-pytest python-pytest-cov python-cython + python-setuptools python-wheel)) (home-page "https://github.com/scikit-learn-contrib/scikit-learn-extra") (synopsis "Set of tools for scikit-learn") (description @@ -1905,7 +1914,8 @@ and are compatible with its API.") python-srsly python-typing-extensions python-wasabi)) - (native-inputs (list python-cython python-mock python-pytest)) + (native-inputs (list python-cython python-mock python-pytest + python-setuptools python-wheel)) (home-page "https://github.com/explosion/thinc") (synopsis "Functional take on deep learning") (description @@ -2004,7 +2014,9 @@ It is compatible with @code{scikit-learn}.") python-nose python-pytest python-pandas - python-networkx)) + python-networkx + python-setuptools + python-wheel)) (home-page "https://github.com/scikit-learn-contrib/hdbscan") (synopsis "High performance implementation of HDBSCAN clustering") (description "HDBSCAN - Hierarchical Density-Based Spatial Clustering of @@ -2027,7 +2039,7 @@ to return meaningful clusters (if there are any).") (sha256 (base32 "0l5dpdsk5vg7rpay81bncp04119hnl5z7zxjv63jrnm9spcwwi3g")))) (build-system pyproject-build-system) - (native-inputs (list python-pytest)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-importlib-metadata python-joblib @@ -2251,7 +2263,7 @@ Covariance Matrix Adaptation Evolution Strategy (CMA-ES) for Python.") (version version) (build-system pyproject-build-system) (native-inputs - (list python-nose python-pytest)) + (list python-nose python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-future python-numpy)) (synopsis "Efficiently computes derivatives of NumPy code") @@ -2427,7 +2439,8 @@ discrete, and conditional dimensions.") (setenv "HOME" "/tmp")))))) ;; DeepXDE supported backends are TensorFlow (v1 and v2), PyTorch, JAX and ;; PaddlePaddle. We test with PyTorch because we have it up to date. - (native-inputs (list python-pytorch python-setuptools-scm)) + (native-inputs (list python-pytorch python-setuptools + python-setuptools-scm python-wheel)) (propagated-inputs (list python-matplotlib python-numpy python-scikit-learn python-scikit-optimize python-scipy)) @@ -3652,7 +3665,8 @@ in a fast and accurate way.") (symlink libxgboost (string-append xgbdir "/lib" "/libxgboost.so")))))))) (native-inputs - (list python-pandas python-pytest python-scikit-learn)) + (list python-pandas python-pytest python-scikit-learn python-setuptools + python-wheel)) (inputs (list xgboost)) (propagated-inputs @@ -4007,7 +4021,7 @@ methodxs at scale on CPU or GPU.") (add-before 'check 'set-numba-cache-dir (lambda _ (setenv "NUMBA_CACHE_DIR" "/tmp")))))) - (native-inputs (list python-pytest)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (propagated-inputs (list python-numba python-numpy @@ -5038,6 +5052,7 @@ Neural Networks for a wide range of applications related to structured data.") python-urllib3 python-uvicorn python-websocket-client)) + (native-inputs (list python-setuptools python-wheel)) (home-page "https://lightning.ai") (synopsis "Lightning Cloud command line client") (description "This package provides a command line interface for Lightning |