From 758c97ef60e00309d8e6e20ff06eecb4bc44928d Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Thu, 11 Jul 2019 15:42:10 -0500 Subject: [PATCH 2/9] gnu: Add python-urllib3-1.24. * gnu/packages/python-web.scm (python-urllib3-1.24): New variable. --- gnu/packages/python-web.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e441cbaa81..04f53740e4 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1528,6 +1528,18 @@ can reuse the same socket connection for multiple requests, it can POST files, supports url redirection and retries, and also gzip and deflate decoding.") (license license:expat))) +;; Some software requires an older version of urllib3, notably Docker. +(define-public python-urllib3-1.24 + (package (inherit python-urllib3) + (version "1.24.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "urllib3" version)) + (sha256 + (base32 + "1x0slqrv6kixkbcdnxbglvjliwhc1payavxjvk8fvbqjrnasd4r3")))))) + + (define-public python2-urllib3 (package-with-python2 python-urllib3)) -- 2.22.0