From patchwork Thu Jun 27 16:20:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 65698 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 18D5327BBEB; Thu, 27 Jun 2024 17:22:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0977027BBE2 for ; Thu, 27 Jun 2024 17:22:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMrso-00030f-D2; Thu, 27 Jun 2024 12:22:02 -0400 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 1sMrsl-000308-Vt for guix-patches@gnu.org; Thu, 27 Jun 2024 12:22:00 -0400 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 1sMrsl-00071R-J5; Thu, 27 Jun 2024 12:21:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMrsn-0003I6-QY; Thu, 27 Jun 2024 12:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71806] [PATCH python-team] gnu: python-requests-toolbelt: Update to 1.0.0. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 27 Jun 2024 16:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71806 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71806@debbugs.gnu.org Cc: Felix Gruber , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by submit@debbugs.gnu.org id=B.171950526712579 (code B ref -1); Thu, 27 Jun 2024 16:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jun 2024 16:21:07 +0000 Received: from localhost ([127.0.0.1]:43251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMrru-0003Go-Eb for submit@debbugs.gnu.org; Thu, 27 Jun 2024 12:21:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:34536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMrrq-0003GS-HP for submit@debbugs.gnu.org; Thu, 27 Jun 2024 12:21:05 -0400 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 1sMrrn-0002ny-78 for guix-patches@gnu.org; Thu, 27 Jun 2024 12:20:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMrrk-0006sd-9S for guix-patches@gnu.org; Thu, 27 Jun 2024 12:20:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 276C4240027 for ; Thu, 27 Jun 2024 18:20:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719505249; bh=AGPPZgVf1tYvmCUpvoaI5IBCrAa3zwwiAN77OTZNvFU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=QdiP75zykyCam7qGSH2La4VfbjfobC8mF89BhDAEqHFgMnIMcXg0DEyMVFKgXaqtU yI5JGVRagvp7DlCcIG1b8exgalxiRE8R1a7A7NE+uA6KhWiRhMU1f8Td2rOj2oVFq+ 7t0eFvqISJht+TtPVsdV1eD+dXuQZ9uwyWVZJhNl0XU9JahYRYjgNDg2ywZEageXic iE/AQMIMmlGGAlY257wCf4FF7m7Te+sqwn8k0J9tKFDnR6H5SiSdZqF5d9KyTaICv0 06p8sBxt32xsnE6nKNdUAaAv2CX8ZAZ8oaiQp2hjNNfC6cq12MiYplGvEWPxLCBKJM quy42kGBCboZw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W93hc158dz9rxM; Thu, 27 Jun 2024 18:20:47 +0200 (CEST) From: Felix Gruber Date: Thu, 27 Jun 2024 16:20:11 +0000 Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=felgru@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-requests-toolbelt): Update to 1.0.0. [arguments]: Delete tests that are incompatible with urllib3 >= 2.0. [native-inputs]: Remove python-mock; add python-pyopenssl and python-trustme. Change-Id: I349bd9cef34cdbf7a51612e8b9d5dac59101d1bd --- gnu/packages/python-web.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) base-commit: e4ad2f178af65be6c8ca6e98a667787674cd8c82 diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e8ead0ef12..0c0c433c5d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -49,7 +49,7 @@ ;;; Copyright © 2021 Alice Brenon ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Denis 'GNUtoo' Carikli -;;; Copyright © 2022, 2023 Felix Gruber +;;; Copyright © 2022–2024 Felix Gruber ;;; Copyright © 2022 Peter Polidoro ;;; Copyright © 2022 Antero Mejr ;;; Copyright © 2022 Luis Henrique Gomes Higino @@ -3761,13 +3761,13 @@ (define-public python-requests-mock (define-public python-requests-toolbelt (package (name "python-requests-toolbelt") - (version "0.9.1") + (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "requests-toolbelt" version)) (sha256 (base32 - "1h3gm88dcjbd7gm229a7x5qkkhnsqsjz0m0l2xyavm2ab3a8k04n")))) + "1ijvip427ki177ycrblcn1mfgsq7ixzpvqqfvidjn0a7s2is10bn")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases @@ -3777,9 +3777,14 @@ (define-public python-requests-toolbelt (delete-file "tests/test_x509_adapter.py") ;; Fails due to networking (socket.gaierror: [Errno -2] ;; Name or service not known). - (delete-file "tests/test_multipart_encoder.py")))))) - (native-inputs - (list python-betamax python-mock python-pytest)) + (delete-file "tests/test_multipart_encoder.py") + ;; Those tests are not compatible with urllib3 2.0, + ;; according to + ;; https://github.com/requests/toolbelt/pull/356 + (delete-file "tests/test_sessions.py") + ))))) + (native-inputs + (list python-betamax python-pyopenssl python-pytest python-trustme)) (propagated-inputs (list python-requests)) (synopsis "Extensions to python-requests")