From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0KaHLiNKk2VzxgAAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 00:26:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KONVKyNKk2Wg+QAA62LTzQ (envelope-from ) for ; Tue, 02 Jan 2024 00:26:27 +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=pUssM3fP; 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=1704151587; 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-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=rKcrRmWS5ln58vgM/NkU4u+/SAEqHbnYWTo6EPhuBz0=; b=DkTOpCWCgLohOCOFsB28xE22F2YVCjnVoyNX4KIyH9NOdvTHyB7EI+SnkwIKcFK5pbZwL6 uDE3Hw1cpcQdx20Shxg3c0NzMFR9Mg2mZBKaceXrq+CyS6N4rCD2CAPd3ql22MEpjx0H1M bM2KT/CT+MauBEonggqXhArcetmwXMiPq5tvx/ipAuIwIejjyns0/WZpLxiteRH7JO6uwf ZL53MWqpEL75bzT3nykW5q0St6IFMV6NFEWsxU4O8IjKvbrz4gYiG+NnAldFfVuNO1oitp Z8JHrE3wbOol78KIIcbLLwamiXp8w8v9iAYDev9sojG3NTZlYAykb8MPpaAdsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=pUssM3fP; 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-Seal: i=1; s=key1; d=yhetil.org; t=1704151587; a=rsa-sha256; cv=none; b=mm0Q/H1XvCSxQ9JAbat0GluJM1orUGmy9ZqQBI8j+l45GXMOOKTKRgJPB6XI1k8GZnOime aV3klri6RrnboO16cV+JgH8uYzFpLriPur6WdPKrZ7FYQ5CPzcbqD7HylVaK1Ibf+R46j6 pTMvDzuuEgk6aWiv4AiCCIRAeUj+vVEsm592L+dr4vuMh104kAMrfDn3tro0xKaInTC268 UWsfoMUBsbY1EaIwM9uQH2CzPobeCCWmqxX3A8APzJ5Ah2IoBEbkjDpBhiurMK21neOubH 7RbtVx8oDYeio85k/A/fz5Kw5OFV47+4Iv1/lrGuIO59jmpdoCiuu8fqKrmx8A== 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 652EB39C58 for ; Tue, 2 Jan 2024 00:26:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKRfb-00055y-6a; Mon, 01 Jan 2024 18:26:07 -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 1rKRfX-00054I-T7 for guix-patches@gnu.org; Mon, 01 Jan 2024 18:26:03 -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 1rKRfX-0003h8-LJ; Mon, 01 Jan 2024 18:26:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKRfW-0003Pi-RL; Mon, 01 Jan 2024 18:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68197] [PATCH 1/5] gnu: Add python-urllib3-2. 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: Mon, 01 Jan 2024 23:26: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.170415151512978 (code B ref 68197); Mon, 01 Jan 2024 23:26:02 +0000 Received: (at 68197) by debbugs.gnu.org; 1 Jan 2024 23:25:15 +0000 Received: from localhost ([127.0.0.1]:48911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKRel-0003ND-CU for submit@debbugs.gnu.org; Mon, 01 Jan 2024 18:25:15 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:33828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKRej-0003Mj-5u for 68197@debbugs.gnu.org; Mon, 01 Jan 2024 18:25:13 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rKReb-00D7vl-EL for 68197@debbugs.gnu.org; Tue, 02 Jan 2024 00:25:05 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=rKcrRmWS5ln58vgM/NkU4u+/SAEqHbnYWTo6EPhuBz0=; b=pUssM3fPmZZ/F0NxOumt8qF9xh OjwenOAPPkHE03jYbL/WDJGSm6jC9EVK2jtoZ1+VgCEVpXK3Qs4q95tN/LxYYwHFI2L5Z+hVmx8JD oY++LtZZSVYTg+mY8y4nUE7yY5mVDCH0KceqeAQcLnRTSvZjcR/cD+8gngNRMSQQB+QMVPiTHc42a gQ8ulpYpjHt2qANrgTt5975FFps1lPO8dRZRII8NkypPAtAropT6Ug4ecA1qrlSoJLjKbH81HYP/r e9PJ+k7i1DbBPsiE7RtKuur3RyUbH//A33PIiJUAizzhhOihz2ohsh9IcJC2XoRYg++DK+rlCKqsv /2kBOQKA==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rKReW-0005oo-4U for 68197@debbugs.gnu.org; Tue, 02 Jan 2024 00:25:00 +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 1rKReQ-000oge-S9; Tue, 02 Jan 2024 00:24:55 +0100 Date: Mon, 1 Jan 2024 18:21:49 -0500 Message-ID: <5de6a72f6c1c4f5a1d7af7f3b5416f20ca585e4f.1704150597.git.jaeme@runbox.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.35 X-Spam-Score: -6.35 X-Migadu-Queue-Id: 652EB39C58 X-TUID: h/BWiaIR2kcr * 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