From d8bb1097d764949e80f9e41d26b3b194163dd716 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 30 Oct 2019 14:28:39 +0100 Subject: 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 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 -- cgit v1.2.3