From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CC5XMX9nk2X5gwAAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 02:31:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KI2TKn9nk2U8qwAAqHPOHw (envelope-from ) for ; Tue, 02 Jan 2024 02:31:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=UrMfsyNU; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704159103; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dTRFSyotcPpcHX5MCVVsagLvRgX0GDYC0E9chqLCFus=; b=sptMxgxCsPInIkSaIf8c98Sxp8G66Xk6pwkb/4jcYyNm+9Og0akg8OMswqkVLE1Onbu0up lWoXEwX9G2b0lJ5WWi62K21CzxUpdn3sBsvx9HIq9rvCswPq2Oul3jWjU+mC3uJYge9nA2 e8SVT3tORYZtRU+cW9bc4F9D5upywgWqGh+eR/SsNZPpO3luVntsN9L/RxVCKatBnyU45E b3eX5QgbnfmbjPgmxAbKlUpm8RcJ56qeJvjJ4C6fYQNxQuQq579ZaIgKFF8EcpDlbJhkxe l7qLplOuCSZRHsykvz6qbDPI+A5B2WlG4kY9W514ywlzUxUiX+yBpsj2i0CLug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704159103; a=rsa-sha256; cv=none; b=e5Zr/Yy7nNFSgxk/ecpv49j5imOSjbGV6vLz2jbVs9v49aCVcN4aPooCe2Hg+Jl6LCbdWc RVYaCd5vaJySPSdwxlsiH01OGVUBauzgMp/2y7GJPKLUtZT7qwP9DrC+3whC8ArWudShts jlpaULGdiy4VWOYK28cJWm8MyhlA64SunSBzmUXOhjA4NcstRttemlOTGtIsjV8H2codLA hIf8iag49eu89vb/jLPJkRL1FMb1t/Gz7Yu8Gy4RFvLRuMK86c/JLsRKXgBzugX7YZkwEI 92zTT4lYUvB5Nq/rYYvuMSoPQQNgGutWxLX7XPgeMO6fDAeNhudRf5zW2dhxEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=UrMfsyNU; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4933B2562E for ; Tue, 2 Jan 2024 02:31:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKTcp-0004yF-1R; Mon, 01 Jan 2024 20:31:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKTcW-0004wG-Gv for guix-patches@gnu.org; Mon, 01 Jan 2024 20:31:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKTcU-0004Y2-MI; Mon, 01 Jan 2024 20:31:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKTcU-0004Tp-Jv; Mon, 01 Jan 2024 20:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68197] [PATCH v2REVISION 1/5] gnu: Add python-urllib3-2. References: In-Reply-To: Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 02 Jan 2024 01:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68197 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68197@debbugs.gnu.org Cc: Jaeme Sifat , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68197-submit@debbugs.gnu.org id=B68197.170415903314140 (code B ref 68197); Tue, 02 Jan 2024 01:31:02 +0000 Received: (at 68197) by debbugs.gnu.org; 2 Jan 2024 01:30:33 +0000 Received: from localhost ([127.0.0.1]:49031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKTc0-0003f3-Eu for submit@debbugs.gnu.org; Mon, 01 Jan 2024 20:30:33 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:58084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKTbw-0003Nb-MY for 68197@debbugs.gnu.org; Mon, 01 Jan 2024 20:30:30 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rKTbn-00DOzQ-TA for 68197@debbugs.gnu.org; Tue, 02 Jan 2024 02:30:19 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Date:Subject:Cc:To:From; bh=dTRFSyotcPpcHX5MCVVsagLvRgX0GDYC0E9chqLCFus=; b=UrMfsyNUPjmDvrn+rdbG7H1l7F LXHry6eV78h2TTMX/MfQsLSQfiQogJRQYJHJt+TyiwSffRNtglKkzUOjreKezHyRjAN484gO0SLKb WXZFCb27D50HhRU0d3dzbdmXgL2zou8093QzxK2KVjz3Me5rB6d5Hrt2iflIxklp5r60PW8uAgY1E vS3FhtbRXZKwtaJIG8yVVCSbz0v8b295jN+d8Znemz4ZGDfLtTrPDVfbFOwlW/lPcxybI8rOJ+E3A uoMDVvqKMMJvPfCestvT+Sq2wx46SgOmybzsIcBmj2+c4iRy/sdEfrz3koXbJMwaN/ZX+uJ9sobe5 +o61sIgQ==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rKTbn-0004Lk-5B for 68197@debbugs.gnu.org; Tue, 02 Jan 2024 02:30:19 +0100 Received: by submission03.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rKTbT-001ALr-1z; Tue, 02 Jan 2024 02:29:59 +0100 Date: Mon, 1 Jan 2024 20:25:00 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches From: Jaeme Sifat via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.88 X-Spam-Score: -6.88 X-Migadu-Queue-Id: 4933B2562E X-Migadu-Scanner: mx12.migadu.com X-TUID: D3HFzSM7L1mG * 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 | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 06b578dac7..cd5cac4f44 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -60,6 +60,7 @@ ;;; Copyright © 2022 Baptiste Strazzulla ;;; Copyright © 2023 John Kehayias ;;; Copyright © 2023 Ivan Vilata-i-Balaguer +;;; Copyright © 2024 Jaeme Sifat ;;; ;;; This file is part of GNU Guix. ;;; @@ -3597,8 +3598,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 +3633,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 +3647,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 base-commit: ee0cf3b9ff4cd5a9d3637d09677195ea9ee1a8c0 -- 2.41.0