mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: python-urllib3: Update to 1.26.4 [fixes CVE-2021-28363].
* gnu/packages/python-web.scm (python-urllib3/fixed): New variable. (python-urllib3)[replacement]: Graft.
This commit is contained in:
parent
e5fcfb82e0
commit
a01bfa7dee
1 changed files with 12 additions and 0 deletions
|
@ -2726,6 +2726,7 @@ (define-public python-urllib3
|
|||
(sha256
|
||||
(base32
|
||||
"024yldjwjavps39yb77sc422z8fa9bn20wcqrcncjwrqjab8y60r"))))
|
||||
(replacement python-urllib3/fixed)
|
||||
(build-system python-build-system)
|
||||
(arguments `(#:tests? #f))
|
||||
(propagated-inputs
|
||||
|
@ -2744,6 +2745,17 @@ (define-public python-urllib3
|
|||
(properties `((python2-variant . ,(delay python2-urllib3))))
|
||||
(license license:expat)))
|
||||
|
||||
(define python-urllib3/fixed
|
||||
(package/inherit python-urllib3
|
||||
(version "1.26.4")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "urllib3" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0dw9w9bs3hmr5dp3r3h43jyzzb1g1046ag7lj8pqf58i4kvj3c77"))))))
|
||||
|
||||
;; Some software requires an older version of urllib3, notably Docker.
|
||||
(define-public python-urllib3-1.24
|
||||
(package (inherit python-urllib3)
|
||||
|
|
Loading…
Reference in a new issue