[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/15: gnu: python2-scikit-learn: Downgrade to 0.20.4.
From: |
guix-commits |
Subject: |
03/15: gnu: python2-scikit-learn: Downgrade to 0.20.4. |
Date: |
Sun, 15 Mar 2020 10:11:09 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 382550f0be8f0023068dbd7005f0a29efeeea455
Author: Marius Bakke <address@hidden>
AuthorDate: Sun Mar 15 13:29:17 2020 +0100
gnu: python2-scikit-learn: Downgrade to 0.20.4.
This is a follow-up to commit 546893c2965c8114e4d7cfe1de46c46664ec4b9e.
* gnu/packages/machine-learning.scm (python-scikit-learn)[properties]: New
field.
(python2-scikit-learn)[version, source]: New fields.
---
gnu/packages/machine-learning.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 52e6397..62ef7b8 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <address@hidden>
;;; Copyright © 2016, 2020 Efraim Flashner <address@hidden>
-;;; Copyright © 2016, 2017 Marius Bakke <address@hidden>
+;;; Copyright © 2016, 2017, 2020 Marius Bakke <address@hidden>
;;; Copyright © 2016 Hartmut Goebel <address@hidden>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2018 Kei Kebreau <address@hidden>
@@ -847,10 +847,25 @@ computing environments.")
(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
- (package-with-python2 python-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.git")
+ (commit version)))
+ (file-name (git-file-name "python-scikit-learn" version))
+ (sha256
+ (base32
+ "08zbzi8yx5wdlxfx9jap61vg1malc9ajf576w7a0liv6jvvrxlpj")))))))
(define-public python-autograd
(let* ((commit "442205dfefe407beffb33550846434baa90c4de7")
- branch master updated (0b6de85 -> 45ebd90), guix-commits, 2020/03/15
- 02/15: gnu: libarea: Build with cmake-minimal., guix-commits, 2020/03/15
- 07/15: gnu: python-joblib: Update to 0.14.1., guix-commits, 2020/03/15
- 06/15: gnu: python-networkx: Update to 2.4., guix-commits, 2020/03/15
- 01/15: gnu: python-pyside: Update to 5.12.6., guix-commits, 2020/03/15
- 05/15: gnu: python-pyrsistent: Update to 0.15.7., guix-commits, 2020/03/15
- 11/15: gnu: python-sqlalchemy: Update to 1.3.15., guix-commits, 2020/03/15
- 12/15: gnu: python-psycopg2: Update to 2.8.4., guix-commits, 2020/03/15
- 03/15: gnu: python2-scikit-learn: Downgrade to 0.20.4.,
guix-commits <=
- 10/15: gnu: python-parso: Update to 0.6.2., guix-commits, 2020/03/15
- 08/15: gnu: Update python-seaborn to 0.10.0, python2-seaborn to 0.9.1., guix-commits, 2020/03/15
- 09/15: gnu: Update python-natsort to 7.0.1, python2-natsort to 6.2.1., guix-commits, 2020/03/15
- 04/15: gnu: python2-pandas: Fix build with Python 2.7.17., guix-commits, 2020/03/15
- 14/15: gnu: python-editor: Update to 1.0.4., guix-commits, 2020/03/15
- 13/15: gnu: python-jedi: Update to 0.16., guix-commits, 2020/03/15
- 15/15: gnu: python-alembic: Update to 1.4.1., guix-commits, 2020/03/15