[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: python2-pandas: Downgrade to 0.24.2.
From: |
guix-commits |
Subject: |
02/02: gnu: python2-pandas: Downgrade to 0.24.2. |
Date: |
Wed, 30 Oct 2019 09:32:34 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit d8bb1097d764949e80f9e41d26b3b194163dd716
Author: Marius Bakke <address@hidden>
Date: Wed Oct 30 14:28:39 2019 +0100
gnu: python2-pandas: Downgrade to 0.24.2.
This is a follow-up to commit 7a97a26d012da08fad4540eed99643f6306de423.
* gnu/packages/python-xyz.scm (python-pandas)[properties]: New field.
(python2-pandas): Downgrade to 0.24.2.
---
gnu/packages/python-xyz.scm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 061d9b9..29362e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1226,10 +1226,22 @@ structures designed to make working with structured
(tabular,
multidimensional, potentially heterogeneous) and time series data both easy
and intuitive. It aims to be the fundamental high-level building block for
doing practical, real world data analysis in Python.")
+ (properties `((python2-variant . ,(delay python2-pandas))))
(license license:bsd-3)))
+;; Pandas 0.24.x are the last versions that support Python 2.
(define-public python2-pandas
- (package-with-python2 python-pandas))
+ (let ((pandas (package-with-python2
+ (strip-python2-variant python-pandas))))
+ (package/inherit
+ pandas
+ (version "0.24.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pandas" version))
+ (sha256
+ (base32
+ "18imlm8xbhcbwy4wa957a1fkamrcb0z988z006jpfda3ki09z4ag")))))))
(define-public python2-mechanize
(package