unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 68197@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Lars-Dominik Braun <lars@6xq.net>,
	Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	jgart <jgart@dismail.de>
Subject: [bug#68197] [PATCH 1/5] gnu: Add python-urllib3-2.
Date: Mon,  1 Jan 2024 18:21:49 -0500	[thread overview]
Message-ID: <5de6a72f6c1c4f5a1d7af7f3b5416f20ca585e4f.1704150597.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1704150597.git.jaeme@runbox.com>

* gnu/packages/python-web.scm (python-urllib3-2): New variable.
* gnu/packages/python-web.scm (python-urllib3): Inherit python-urllib3-2.

Change-Id: Ib96504a72eb6f4485a777854bd7580c4b092756a
---
 gnu/packages/python-web.scm | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 06b578dac7..b2d67996a7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3597,8 +3597,31 @@ (define-public python-unalix
 addon for removing tracking fields from URLs.")
     (license license:lgpl3+)))
 
+(define-public python-urllib3-2
+  (package
+    (name "python-urllib3")
+    (version "2.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "urllib3" version))
+        (sha256
+         (base32
+          "0m1dnpbw2dyxp7658v1fm37zzx5mb4n9p2g7i22ag3qln2pshynz"))))
+    (build-system pyproject-build-system)
+    (arguments `(#:tests? #f))
+    (native-inputs (list python-hatchling))
+    (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 python-urllib3
   (package
+    (inherit python-urllib3-2)
     (name "python-urllib3")
     (version "1.26.15")
     (source
@@ -3609,7 +3632,7 @@ (define-public python-urllib3
          (base32
           "01dkqv0rsjqyw4wrp6yj8h3bcnl7c678qkj845596vs7p4bqff4a"))))
     (build-system python-build-system)
-    (arguments `(#:tests? #f))
+    (native-inputs '())
     (propagated-inputs
      (append
        ;; These 5 inputs are used to build urrlib3[secure]
@@ -3623,14 +3646,7 @@ (define-public python-urllib3
                    (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)))
+       (list python-pysocks)))))
 
 (define-public awscli
   (package
-- 
2.41.0





  reply	other threads:[~2024-01-01 23:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-01 23:14 [bug#68197] [PATCH 0/5] gnu: yt-dlp: Update to 2023.12.30 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` Jaeme Sifat via Guix-patches via [this message]
2024-01-01 23:21 ` [bug#68197] [PATCH 2/5] gnu: Add python-requests-2.31 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` [bug#68197] [PATCH 3/5] gnu: yt-dlp: Update to 2023.11.16 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` [bug#68197] [PATCH 4/5] gnu: Add python-websockets-12 Jaeme Sifat via Guix-patches via
2024-01-01 23:21 ` [bug#68197] [PATCH 5/5] gnu: yt-dlp: Update to 2023.12.30 Jaeme Sifat via Guix-patches via
2024-01-02  1:25 ` [bug#68197] [PATCH v2REVISION 1/5] gnu: Add python-urllib3-2 Jaeme Sifat via Guix-patches via
2024-01-02  1:25   ` [bug#68197] [PATCH v2REVISION 2/5] gnu: Add python-requests-2.31 Jaeme Sifat via Guix-patches via
2024-01-02  1:25   ` [bug#68197] [PATCH v2REVISION 3/5] gnu: yt-dlp: Update to 2023.11.16 Jaeme Sifat via Guix-patches via
2024-01-02  1:25   ` [bug#68197] [PATCH v2REVISION 4/5] gnu: Add python-websockets-12 Jaeme Sifat via Guix-patches via
2024-01-02  1:25   ` [bug#68197] [PATCH v2REVISION 5/5] gnu: yt-dlp: Update to 2023.12.30 Jaeme Sifat via Guix-patches via
2024-03-12 23:23 ` [bug#68197] [PATCH 0/5] " Ian Eure

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5de6a72f6c1c4f5a1d7af7f3b5416f20ca585e4f.1704150597.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=68197@debbugs.gnu.org \
    --cc=jaeme@runbox.com \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).