From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4LCzJFfSgmaEvQAAe85BDQ:P1 (envelope-from ) for ; Mon, 01 Jul 2024 15:59:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4LCzJFfSgmaEvQAAe85BDQ (envelope-from ) for ; Mon, 01 Jul 2024 17:59:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ZT0Uf0UN; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719849559; h=from:from:sender:sender: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=l2kyymnBE9nkieEnb2C9mYU8vimPw8IqJ4fdwezgLIk=; b=d61yADDz+DWQ6wZf+joF+yqXzwceo/gU4wi0L/k3hvi697K5HAwuI4+FhVwSwALYKG1dgx J1otfjFzng6DquaXJ8TCxsz+kUFDaO/3KBy1l0qgMw7+kQlozB+1arbSv0j39AjMoM9Buv pR/xtVN8rPIYJtmVfZFT2Ck11J7iJ1D2pME9oWYCczCnu0dtarl1XpkAZT12bvrKrKAGY8 A+/Uq0h5hf0yAwvZWkBs0Hq1l+HNLEqvPI5c3JpArO4sdqC18ltSmXNCsi9G22FnsMV61N 2HAEo/gQFW1c3bJmgqaAq/jeFa6Zz5EA7zs/onn933X67qFUaoCs4qu0/VV+dQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719849559; a=rsa-sha256; cv=none; b=twXCDrzlYvuNW970fTm/OSn9kFoXmu1MmHcm+kY88lHG3a4e4B4LXBqn8a+109NPQ+rEAj YnJUvmojfaHyDwRhZo6YTTTwzG7iPJriAG+j4azaBwR9pt4nB0O18Qz2aauYcI/FOE8yR2 HzC4ede/FqhOpwX0ZbSx2kf6zqPau5f4Zgh/LZ6Mn6lK3/cAXTkMAxmFa3hLrCaKDGjgOr 9YO7EYx8Z3yQyyYBMQvFujFtYJ+rY/iJH7KChX3FiyyO1owifOlNwWJzYG9jEDP8XjoShP XbxiRXE6VGbPc10FkRkz/Khp4LwFJmXVWyg0Y20bxw/gBOLyE+Ci35ieAv4Mng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ZT0Uf0UN; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" 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 2B6647954A for ; Mon, 01 Jul 2024 17:59:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOJQo-0000Mk-RD; Mon, 01 Jul 2024 11:59:06 -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 1sOJQm-0000MM-O0 for guix-patches@gnu.org; Mon, 01 Jul 2024 11:59:04 -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 1sOJQm-0001oq-GF; Mon, 01 Jul 2024 11:59:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOJQj-0008KL-L7; Mon, 01 Jul 2024 11:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71806] [PATCH v2] 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: Mon, 01 Jul 2024 15:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 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-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 71806-submit@debbugs.gnu.org id=B71806.171984949931949 (code B ref 71806); Mon, 01 Jul 2024 15:59:01 +0000 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 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 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: , 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: -1.48 X-Spam-Score: -1.48 X-Migadu-Queue-Id: 2B6647954A X-Migadu-Scanner: mx11.migadu.com X-TUID: Pm6bRtBq2qze * 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