gnu: python-requests: Update to 2.28.1.

* gnu/packages/python-web.scm (python-requests): Update to 2.28.1.
[arguments]: Remove #:phases.
This commit is contained in:
Marius Bakke 2022-07-16 17:14:12 +02:00
parent 1f22184b22
commit 572ed223ab
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -2778,13 +2778,13 @@ APIs.")
(define-public python-requests
(package
(name "python-requests")
(version "2.28.0")
(version "2.28.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "requests" version))
(sha256
(base32
"0szcvcc1kj7pn7bq7r5jjj0zrllc0vx5vbqyimfqf9dxgqx74s6m"))))
"10vrr7bijzrypvms3g2sgz8vya7f9ymmcv423ikampgy0aqrjmbw"))))
(build-system python-build-system)
(propagated-inputs
(list python-certifi
@ -2793,16 +2793,7 @@ APIs.")
python-urllib3))
(arguments
;; FIXME: Some tests require network access.
(list #:tests? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'loosen-requirement
(lambda _
;; Don't depend on exactly 2.0.0.
;; https://github.com/psf/requests/pull/6169
(substitute* '("setup.py" "setup.cfg")
(("charset_normalizer~=2\\.0\\.0")
"charset_normalizer~=2.0")))))))
'(#:tests? #f))
(home-page "http://python-requests.org/")
(synopsis "Python HTTP library")
(description