diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-10-30 14:28:39 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-10-30 14:32:17 +0100 |
commit | d8bb1097d764949e80f9e41d26b3b194163dd716 (patch) | |
tree | 9c5c0d5083580c228e8daa17f7928700760db158 | |
parent | adb396eae3524d9b82294aaf5cc87a615515b04d (diff) | |
download | guix-d8bb1097d764949e80f9e41d26b3b194163dd716.tar.gz guix-d8bb1097d764949e80f9e41d26b3b194163dd716.zip |
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.
-rw-r--r-- | gnu/packages/python-xyz.scm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 061d9b9822..29362e2f2b 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 |