guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

223/223: gnu: python-urllib3: Update to 2.2.1.


From: guix-commits
Subject: 223/223: gnu: python-urllib3: Update to 2.2.1.
Date: Thu, 17 Oct 2024 06:21:14 -0400 (EDT)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 1fb65c29eab6bc92ecd296db68ad0b73317e3f69
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri May 24 20:09:00 2024 +0200

    gnu: python-urllib3: Update to 2.2.1.
    
    * gnu/packages/python-web.scm (python-urllib3): Update to 2.2.1. Re-indent.
    [build-system]: Use PYPROJECT-BUILD-SYSTEM.
    [native-inputs]: Add PYTHON-HATCHLING.
    
    Change-Id: I980c0cad01b39cce44e3cae09e776fbdff9b162a
---
 gnu/packages/python-web.scm | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 11394ea83f..3ad52c070a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4102,30 +4102,31 @@ addon for removing tracking fields from URLs.")
 (define-public python-urllib3
   (package
     (name "python-urllib3")
-    (version "1.26.15")
+    (version "2.2.1")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "urllib3" version))
-        (sha256
-         (base32
-          "01dkqv0rsjqyw4wrp6yj8h3bcnl7c678qkj845596vs7p4bqff4a"))))
-    (build-system python-build-system)
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "urllib3" version))
+       (sha256
+        (base32
+         "06fg8jj64lgxr2jrizzrsdvaf1avpg5qmhvnswhfbf8sqrv0hmyh"))))
+    (build-system pyproject-build-system)
     (arguments `(#:tests? #f))
+    (native-inputs (list python-hatchling))
     (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)))
+      ;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]