From f407e4b0f9813dc52e15272cbb92bcdd35e8e45c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 20 Nov 2021 12:37:13 +0100 Subject: [PATCH] gnu: python2-joblib: Do not inherit source from python-joblib. * gnu/packages/python-xyz.scm (python2-joblib)[version]: Explicitly set to 0.14.1. [source]: Do not inherit. --- gnu/packages/python-xyz.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f3d9dd09be..3a7b0c82de 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4039,8 +4039,17 @@ and lazy re-evaluation (memoize pattern), easy simple parallel computing logging and tracing of the execution.") (license license:bsd-3))) +;; Newer versions of joblib don't support Python 2. (define-public python2-joblib - (package-with-python2 python-joblib)) + (package + (inherit (package-with-python2 python-joblib)) + (version "0.14.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "joblib" version)) + (sha256 + (base32 + "1j464w137w6s367gl697j1l63g52akydrxgv4czlck36ynjfwc06")))))) (define-public python-daemon (package