civodul pushed a commit to branch master
in repository guix.
commit 7deb0868645fcf64803a026750251258b2101bad
Author: Jacob MacDonald <[email protected]>
Date: Thu Jul 11 15:42:10 2019 -0500
gnu: Add python-urllib3-1.24.
* gnu/packages/python-web.scm (python-urllib3-1.24): New variable.
Signed-off-by: Ludovic Courtès <[email protected]>
---
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 e441cba..04f5374 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))