summary refs log tree commit diff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-16 17:14:12 +0200
committerMarius Bakke <marius@gnu.org>2022-07-16 18:32:12 +0200
commit572ed223abe57b36e9b5de3f456a925a09bd72af (patch)
tree36ec06337410858b271fe50cd23e5f6852a6f4f2 /gnu/packages/python-web.scm
parent1f22184b2236996b5ef20fbcfa7805f94250a147 (diff)
downloadguix-572ed223abe57b36e9b5de3f456a925a09bd72af.tar.gz
gnu: python-requests: Update to 2.28.1.
* gnu/packages/python-web.scm (python-requests): Update to 2.28.1.
[arguments]: Remove #:phases.
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm15
1 files changed, 3 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index aa30e42c58..dab6bda0ed 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -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