[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55424] [PATCH 060/602] gnu: Remove python2-scikit-learn.
From: |
Maxim Cournoyer |
Subject: |
[bug#55424] [PATCH 060/602] gnu: Remove python2-scikit-learn. |
Date: |
Sun, 15 May 2022 00:37:27 -0400 |
* gnu/packages/machine-learning.scm (python2-scikit-learn): Delete variable.
(python-scikit-learn)[properties]: Remove the python2-variant property.
---
gnu/packages/machine-learning.scm | 47 -------------------------------
1 file changed, 47 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 3897342345..02cd6b31aa 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1128,55 +1128,8 @@ (define-public python-scikit-learn
(description
"Scikit-learn provides simple and efficient tools for data mining and
data analysis.")
- (properties `((python2-variant . ,(delay python2-scikit-learn))))
(license license:bsd-3)))
-;; scikit-learn 0.22 and later only supports Python 3, so we stick with
-;; an older version here.
-(define-public python2-scikit-learn
- (let ((base (package-with-python2 (strip-python2-variant
python-scikit-learn))))
- (package
- (inherit base)
- (version "0.20.4")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/scikit-learn/scikit-learn")
- (commit version)))
- (file-name (git-file-name "python-scikit-learn" version))
- (sha256
- (base32
- "08zbzi8yx5wdlxfx9jap61vg1malc9ajf576w7a0liv6jvvrxlpj"))))
- (arguments
- `(#:python ,python-2
- #:phases
- (modify-phases %standard-phases
- (add-after 'build 'build-ext
- (lambda _ (invoke "python" "setup.py" "build_ext" "--inplace")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; Restrict OpenBLAS threads to prevent segfaults while
testing!
- (setenv "OPENBLAS_NUM_THREADS" "1")
-
- ;; Some tests require write access to $HOME.
- (setenv "HOME" "/tmp")
-
- (invoke "pytest" "sklearn" "-m" "not network"
- "-k"
- (string-append
- ;; This test tries to access the internet.
- "not test_load_boston_alternative"
- ;; This test fails for unknown reasons
- " and not test_rank_deficient_design"))))))))
- (inputs
- (list openblas))
- (native-inputs
- (list python2-pytest python2-pandas ;for tests
- python2-cython))
- (propagated-inputs
- (list python2-numpy python2-scipy python2-joblib)))))
-
(define-public python-threadpoolctl
(package
(name "python-threadpoolctl")
--
2.36.0
- [bug#55424] [PATCH 092/602] gnu: Remove python2-tegaki-recognize., (continued)
- [bug#55424] [PATCH 092/602] gnu: Remove python2-tegaki-recognize., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 096/602] gnu: Remove python2-mailmanclient., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 103/602] gnu: Remove python2-ipy., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 104/602] gnu: Remove sala., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 085/602] gnu: pius: Update to 3.0.0., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 099/602] gnu: Remove mloop., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 101/602] gnu: Remove non-timeline., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 091/602] gnu: Remove key-mon., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 100/602] gnu: Remove gtklick., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 102/602] gnu: Remove non-mixer., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 060/602] gnu: Remove python2-scikit-learn.,
Maxim Cournoyer <=
- [bug#55424] [PATCH 028/602] gnu: Remove python2-screed., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 039/602] gnu: Remove python2-rednose., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 064/602] gnu: Remove python2-statsmodels., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 026/602] gnu: Remove python2-warpedlmm., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 086/602] gnu: Remove python2-pydot., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 097/602] gnu: Remove python2-musicbrainzngs., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 083/602] gnu: Remove python2-gpg., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 031/602] gnu: Remove pyicoteo., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 032/602] gnu: Remove transmission-remote-cli., Maxim Cournoyer, 2022/05/15
- [bug#55424] [PATCH 037/602] gnu: Remove python2-pytest-capturelog., Maxim Cournoyer, 2022/05/15