From unknown Sun Jun 15 08:47:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71806 <71806@debbugs.gnu.org> To: bug#71806 <71806@debbugs.gnu.org> Subject: Status: [PATCH python-team] gnu: python-requests-toolbelt: Update to 1.0.0. Reply-To: bug#71806 <71806@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:47:55 +0000 retitle 71806 [PATCH python-team] gnu: python-requests-toolbelt: Update to = 1.0.0. reassign 71806 guix-patches submitter 71806 Felix Gruber severity 71806 normal tag 71806 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 12:21:06 2024 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 To: guix-patches@gnu.org Subject: [PATCH python-team] gnu: python-requests-toolbelt: Update to 1.0.0. Date: Thu, 27 Jun 2024 16:20:11 +0000 Message-ID: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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(-) 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") base-commit: e4ad2f178af65be6c8ca6e98a667787674cd8c82 -- 2.43.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 02:02:54 2024 Received: (at 71806) by debbugs.gnu.org; 1 Jul 2024 06:02:54 +0000 Received: from localhost ([127.0.0.1]:59836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOA7q-0005v6-5s for submit@debbugs.gnu.org; Mon, 01 Jul 2024 02:02:54 -0400 Received: from mx1.dismail.de ([78.46.223.134]:17828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOA7o-0005uq-6v for 71806@debbugs.gnu.org; Mon, 01 Jul 2024 02:02:53 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a37c4021; Mon, 1 Jul 2024 08:02:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:in-reply-to:date:message-id:mime-version:content-type; s=20190914; bh=n5FZylehfRokpOtw7smTCA4JvDLHPowWGHd/ENMlIoU=; b= kL0aW3Ky+wXSh7AwAq7T7YuX32Y/xBARj240Yy/6Ad4bKsMeIJ7mJcEbQDb8NpSY ZXrCmE+WpgnpwTA/B7wKbKJV/9VTaQaiLVRasMRA8OH+4tqdC6i3NpBa3PYtb+Uy 7P3aZCqxFUj1ThdihbRpm8CfNSdy3ozU64Z9CmRfBzM07m4Quxzo9DPeWikmWWuy WBOCQ4TC9z0+3r2/G8Xg57m3v4zGM39wfKOo9zUvkKLTw3R4yASO+W7gEMEs1YFW l9aoMoSo0wWdN5cMe38H1tHItEyUKX9n556/sIZSt9R8Qi9sWNhUCigyETWpgs3n TgA53hdnFBbhuMVFBjwhRw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 6ee8deef; Mon, 1 Jul 2024 08:02:44 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 1ab16b3f; Mon, 1 Jul 2024 08:02:44 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 96e85484 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 1 Jul 2024 08:02:44 +0200 (CEST) From: jgart To: 71806@debbugs.gnu.org Subject: Re: [PATCH python-team] gnu: python-requests-toolbelt: Update to 1.0.0. In-Reply-To: Date: Mon, 01 Jul 2024 01:02:41 -0500 Message-ID: <87r0cdmyym.fsf@dismail.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71806 Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Felix, Can you send a v2 rebased on master. I can try to apply it and take a look there. Thanks! -- Best regards, jgart From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 01 11:58:19 2024 Received: (at 71806) by debbugs.gnu.org; 1 Jul 2024 15:58:19 +0000 Received: from localhost ([127.0.0.1]:33625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOJQ3-0008JD-9R for submit@debbugs.gnu.org; Mon, 01 Jul 2024 11:58:19 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOJPz-0008Ix-Rv for 71806@debbugs.gnu.org; Mon, 01 Jul 2024 11:58:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4A66A24002B for <71806@debbugs.gnu.org>; Mon, 1 Jul 2024 17:58:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719849487; bh=+0BMge48jNQkGYVYyum/+0gm4PVrgW5fg9a6eALciZY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ZT0Uf0UNGNPTHXbfFFwFrYXdtj6hZLttYeCz4PubtFbkMKqa5Kk53pcEoVUqwSB4h EcmHaoCeSuAVi8rv59oOE4XZ3prVRbuAMGNv9RUwhJoITn7TIIg/VMjbtY2xbPpFjj Do1AEu65jOZOfFTPcnbF0HY+eC7hz1/uJWhqh6GzWjGwDN3xs5QYHWe+nCdj20qrtb N0U9XLkVIuGkwW0USAEOoCWJFlJhOT24KGrmfq7gZnpzeq2yl73hpt5HfzAy2DrJR+ 24qf3/HWQXHAn87Ul804ZtDIbybBLOqDor7Fe0mZWhLGr/cnfYntjTQtdegmPiAiXa Z6Y+NUjf5T2og== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WCW0Z2PCSz6twZ; Mon, 1 Jul 2024 17:58:05 +0200 (CEST) From: Felix Gruber To: 71806@debbugs.gnu.org Subject: [PATCH v2] gnu: python-requests-toolbelt: Update to 1.0.0. Date: Mon, 1 Jul 2024 15:56:59 +0000 Message-ID: In-Reply-To: <87r0cdmyym.fsf@dismail.de> References: <87r0cdmyym.fsf@dismail.de> MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71806 Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1363e6ccdf..8a007f7402 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 @@ -3733,13 +3733,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 @@ -3749,9 +3749,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") base-commit: 770659059be746bfa42eee2d9118031e5c7604e5 -- 2.45.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 10:07:59 2024 Received: (at 71806-done) by debbugs.gnu.org; 13 Jul 2024 14:07:59 +0000 Received: from localhost ([127.0.0.1]:56538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSdPq-0002OL-Ot for submit@debbugs.gnu.org; Sat, 13 Jul 2024 10:07:58 -0400 Received: from mx1.dismail.de ([78.46.223.134]:10903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSdPn-0002O6-Ho for 71806-done@debbugs.gnu.org; Sat, 13 Jul 2024 10:07:57 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ed29fa76; Sat, 13 Jul 2024 16:07:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:in-reply-to:date:message-id:mime-version:content-type; s=20190914; bh=58d2E8z4DAO/1ifT0ETgz2JTQPmv46Roc/Fb7mI6X18=; b= ViV2WCn7UKoAp+RYSndkoysJXWCbGaoQNMdiyduh1fyCBIFQT3aPiOjBHdzkh9Nv FThbzoQixOwnNdRzC5bvklywvRpN7ZPyjD0E1VeZTf47Y0QeuEULT/hJW6LDB1yf GDBjOaJnsFTvdPOTK0lXNjK0tlAsn5S2+vN4nWpStAvX03Lq/Cr+vdxsXJJEjgWn fhp4u3kMZWGWZ0g+vh4lPE2hDXnsXz/nyBGznUZbVVEVkfkOLwot+qzPSpvrD2HM odtPpCGMhDbr19otRz9qOWprnexgCDnDYEUrTxmBC+Hen5ZAdN5voIngsHtsbyKW gp+ic8O9aytz6m1EwE/l+g== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 6956dd43; Sat, 13 Jul 2024 16:07:47 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 6fbde7f5; Sat, 13 Jul 2024 16:07:47 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 351d5b87 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 13 Jul 2024 16:07:41 +0200 (CEST) From: jgart To: 71806-done@debbugs.gnu.org Subject: Re: [PATCH python-team] gnu: python-requests-toolbelt: Update to 1.0.0. In-Reply-To: Date: Sat, 13 Jul 2024 09:07:38 -0500 Message-ID: <87h6cte66t.fsf@dismail.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71806-done Cc: Felix Gruber , jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Felix, Thanks for the contribution! I applied and pushed with guix style fixes in a separate commit. -- all the best, jgart From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 13 10:57:35 2024 Received: (at 71806) by debbugs.gnu.org; 13 Jul 2024 14:57:35 +0000 Received: from localhost ([127.0.0.1]:56557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSeBr-0003fs-DN for submit@debbugs.gnu.org; Sat, 13 Jul 2024 10:57:35 -0400 Received: from mx1.dismail.de ([78.46.223.134]:16733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSeBo-0003fe-La for 71806@debbugs.gnu.org; Sat, 13 Jul 2024 10:57:33 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 293cc3d3; Sat, 13 Jul 2024 16:57:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:in-reply-to:date:message-id:mime-version:content-type; s=20190914; bh=RzdqOz4xWorXEGZVxY2bpTeByL1cHIOaod1hHcuq9Sw=; b= rbcHhGVVjms/JrDXhXVXoYQbnBsWA8DLjozq/S75/Nf6sxH7DJlqrZqYWIywzTLI 1DhPYgBqkyvcWvfIgQXRAl0zdMzJU9MVVU+fgpL6IQgHx8CJ+NBNaILJ6QhoLhQ1 m6rxRwvPpTK6ow0YnEPbFPkNSuQy2/LbeElv/DOJE4xtooM0CWMaGjvwwVKZCZPT DBydWN8vXnXOlbCT7MnkaNAoW67bO6i9FP3+ir2UjqLiHNMwnuWwLjkj/E59LQB/ aqCtIwVnhuFY5MxBuLkgWvd5TfzjIoAV7uoU28E+uIDPO0eaI9ahP9+7Pno03lPq 2cz3IsoZ6FDH9cObV9MOww== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 96a5dfcf; Sat, 13 Jul 2024 16:57:24 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id f37dbe54; Sat, 13 Jul 2024 16:57:24 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 5596671d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 13 Jul 2024 16:57:23 +0200 (CEST) From: jgart To: 71806@debbugs.gnu.org Subject: Re: [PATCH python-team] gnu: python-requests-toolbelt: Update to 1.0.0. In-Reply-To: <87h6cte66t.fsf@dismail.de> Date: Sat, 13 Jul 2024 09:57:21 -0500 Message-ID: <87a5ile3vy.fsf@dismail.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71806 Cc: Felix Gruber , jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Felix, Sorry, but I had to revert this commit after noticing that this breaks the poetry package on master. Could you create a feature branch for merging this that is not the python-team branch and that passes poetry? I don't have time at the moment to clean up the python-team branch. I'm hoping others who worked on that branch can update it and merge it. I haven't been using that branch myself and it is quite large at the moment, requiring a lot of git conflict merge fixes. -- all the best, jgart From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 13:25:44 2024 Received: (at 71806) by debbugs.gnu.org; 19 Jul 2024 17:25:44 +0000 Received: from localhost ([127.0.0.1]:50308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUrMW-0004Nf-9t for submit@debbugs.gnu.org; Fri, 19 Jul 2024 13:25:44 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUrMU-0004NL-EV for 71806@debbugs.gnu.org; Fri, 19 Jul 2024 13:25:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C1D0C240028 for <71806@debbugs.gnu.org>; Fri, 19 Jul 2024 19:25:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721409936; bh=LNnQ0TPZ7gpXfNsqa8xO2OqOO5WbuFWn8teCdlTeM1w=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type: Content-Transfer-Encoding:From; b=g9VEzltuw7dAW801rGDsp1fyL+QF/SlZ3OFZkW9eXZVSLDp9WlhPSTnFGSa990h0D Cmuwp8ZveTUK7QnU6PetSeK/CBu2hHpqNMBnw3AycFpuVyYvuCOZGj7D/8S6tcQ6kC 1jixcNu3zKgLDrJrkmf9pFBDwYZEzWdywXGEdziEmPzP0Ruj3LTnUNhJ5nwbRk6e8u 3ab+wMBTQIziJDEnC1o0s30ejn4gE2NE978Tc8H1CLbwUuN2B4pdyioSqFvzayEFls ew8Q5BGaFjGYrG4hPKUynwL+Sb49Xj6D2aSXtJkY/nNTYwfxncvhogDd2CLi5/VRn3 zy9teD2AjpeSA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WQc5C57X2z6twb; Fri, 19 Jul 2024 19:25:35 +0200 (CEST) Message-ID: Date: Fri, 19 Jul 2024 17:25:28 +0000 MIME-Version: 1.0 Subject: Re: [PATCH python-team] gnu: python-requests-toolbelt: Update to 1.0.0. To: jgart , 71806@debbugs.gnu.org References: <87a5ile3vy.fsf@dismail.de> Content-Language: en-US From: Felix Gruber In-Reply-To: <87a5ile3vy.fsf@dismail.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71806 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi jgart, On 7/13/24 4:57 PM, jgart wrote: > Sorry, but I had to revert this commit after noticing that this breaks > the poetry package on master. Could you create a feature branch for > merging this that is not the python-team branch and that passes poetry? I don't have commit access to the guix repository, so I can't create a feature branch. I've prepared a fix for poetry that I will send in an updated patchset to issue 71806 that can be applied to master. Could you maybe create that feature branch from my updated patchset? Best regards, Felix From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 13:27:39 2024 Received: (at 71806) by debbugs.gnu.org; 19 Jul 2024 17:27:39 +0000 Received: from localhost ([127.0.0.1]:50318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUrOM-0004Qu-Ox for submit@debbugs.gnu.org; Fri, 19 Jul 2024 13:27:38 -0400 Received: from mout01.posteo.de ([185.67.36.65]:38281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUrOL-0004QY-8q for 71806@debbugs.gnu.org; Fri, 19 Jul 2024 13:27:37 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C4EA7240028 for <71806@debbugs.gnu.org>; Fri, 19 Jul 2024 19:27:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721410051; bh=zz4IeMQphsxnomTATH/P+ip8h7LkbbcX+tej55WA4Cs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=PWnR881q+HYTRA0vUDO4HAmA82msvNnddz0MvWkk9Xt4jaXLLzKQ3DqqmrXWe/9EI y7na91TdPqHBa67AK22HxTUQmp2ylOUn/sdXM0ObC1TjqgbrnUfsRNemGn/jnORUV1 Q/6QLWlglMtdAoUsVcfLA+7vKWfaQ4kjt7gWfhdXT97J2BUzSBqF8bOaLwq7laMbIO EiECnZxK5Xc3Dy8vCX+4nsXd2IfCtkPlMyrHIqsz009N3xqTPrWMwxTAWQSXkaNUcJ 9Z/qDHphuGdch1/KRBMIzTEpL+OhxuNM3eufZbbwSz612vmwzo/3MGTC9IysC6V1ll bQfXJcAWom81w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WQc7R0S9gz9rxS; Fri, 19 Jul 2024 19:27:31 +0200 (CEST) From: Felix Gruber To: 71806@debbugs.gnu.org Subject: [PATCH v3 2/2] gnu: poetry: Build against newer python-requests-toolbelt. Date: Fri, 19 Jul 2024 17:26:36 +0000 Message-ID: <4cf1ff4c3f424b4f401803777371b185c360c7fb.1721409996.git.felgru@posteo.net> In-Reply-To: <87a5ile3vy.fsf@dismail.de> References: <87a5ile3vy.fsf@dismail.de> MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71806 Cc: Felix Gruber , jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (poetry)[arguments]: Remove upper version bounds on requests-toolbelt dependency. Change-Id: I0e96dfb36c33935401fc93ff00eaf57b36188bb2 --- gnu/packages/python-xyz.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fcf01f3d04..7ebe8b9e72 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21388,7 +21388,9 @@ (define-public poetry (substitute* "setup.py" ;; Relax some of the requirements. (("(keyring>=21.2.0),<22.0.0" _ keyring) keyring) - (("(packaging>=20.4),<21.0" _ packaging) packaging))))))) + (("(packaging>=20.4),<21.0" _ packaging) packaging) + (("(requests-toolbelt>=0.9.1),<0.10.0" _ requests-toolbelt) + requests-toolbelt))))))) (propagated-inputs (list python-cachecontrol python-cachy -- 2.43.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 19 13:27:46 2024 Received: (at 71806) by debbugs.gnu.org; 19 Jul 2024 17:27:46 +0000 Received: from localhost ([127.0.0.1]:50320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUrOT-0004R9-1u for submit@debbugs.gnu.org; Fri, 19 Jul 2024 13:27:45 -0400 Received: from mout01.posteo.de ([185.67.36.65]:32901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUrOK-0004QV-AT for 71806@debbugs.gnu.org; Fri, 19 Jul 2024 13:27:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 845E8240028 for <71806@debbugs.gnu.org>; Fri, 19 Jul 2024 19:27:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721410050; bh=KlbBOVN2CAf22jIcV1PWqsI056O0SwzRyU9esp3EGK8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=qEkNX2IbCdfMC8ea4IuiqtXBPS1uR+tlDf74/1oXPF1kr2ZZw47NMPTFlyVYscGg8 6npP7ykGPZroN4Mp+/2jipme6WhMGppYrAERgnc0cu0nav8XJ21ZFq1dYf2Vaix3ol 2dAkWSGHPvbQLJk9k6vVM4rwXNGnnVPiGNITx2jDUdBRM3L9qQBRCRY6k/N9Fip9Vy PM4NU6ljnJe6TWI3wT1EdIxijxmbvRwupHmX/Ws7ygpw7X3FiWcPyYzYvGIGwjmlD8 xBKn+JdPiBAkzzKsGEFskapLW0DNSNZ3tKcO+BmlOizOswwUU15QjE+RsuAf+QBjWI W/FKDf1LBbVwg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WQc7N3LYPz9rxQ; Fri, 19 Jul 2024 19:27:28 +0200 (CEST) From: Felix Gruber To: 71806@debbugs.gnu.org Subject: [PATCH v3 1/2] gnu: python-requests-toolbelt: Update to 1.0.0. Date: Fri, 19 Jul 2024 17:26:35 +0000 Message-ID: In-Reply-To: <87a5ile3vy.fsf@dismail.de> References: <87a5ile3vy.fsf@dismail.de> MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71806 Cc: Felix Gruber , jgart X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 30da9c8c3c..83620a5867 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 @@ -3759,13 +3759,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 @@ -3775,9 +3775,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") base-commit: 9724e61cda80e4c59a2eb419a453887ecc551b9a -- 2.43.0 From unknown Sun Jun 15 08:47:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Aug 2024 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator