diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2686cb283f..98aa46dafc 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4024,6 +4024,41 @@ (define-public python-urllib3 supports url redirection and retries, and also gzip and deflate decoding.") (license license:expat))) +(define-public python-urllib3-next + (package + (name "python-urllib3") + (version "1.26.17") + (source + (origin + (method url-fetch) + (uri (pypi-uri "urllib3" version)) + (sha256 + (base32 + "08fzhaf77kbjj5abpl9xag6fpfxkdp1k5s7sqd3ayacdq91a5mi4")))) + (build-system python-build-system) + (arguments `(#:tests? #f)) + (propagated-inputs + (append + ;; These 5 inputs are used to build urrlib3[secure] + (list python-certifi) + (if (member (%current-system) + (package-transitive-supported-systems python-cryptography)) + (list python-cryptography) + '()) + (list python-idna) + (if (member (%current-system) + (package-transitive-supported-systems python-pyopenssl)) + (list python-pyopenssl) + '()) + (list python-pysocks))) + (home-page "https://urllib3.readthedocs.io/") + (synopsis "HTTP library with thread-safe connection pooling") + (description + "Urllib3 supports features left out of urllib and urllib2 libraries. It +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))) + (define-public awscli (package ;; Note: updating awscli typically requires updating botocore as well.