From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GVb8M26HrV6hKAAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 14:45:02 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YGxQC3mHrV6mewAAbx9fmQ (envelope-from ) for ; Sat, 02 May 2020 14:45:13 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id C5485680A68 for ; Sat, 2 May 2020 14:45:10 +0000 (UTC) Received: from localhost ([::1]:48506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUtOB-0004aD-M8 for larch@yhetil.org; Sat, 02 May 2020 10:45:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUtO3-0004Te-1O for guix-patches@gnu.org; Sat, 02 May 2020 10:45:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUtO2-0006Oe-DX for guix-patches@gnu.org; Sat, 02 May 2020 10:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUtO2-0006O7-02 for guix-patches@gnu.org; Sat, 02 May 2020 10:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUtO1-0002xv-Qb for guix-patches@gnu.org; Sat, 02 May 2020 10:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41027] [PATCH core-updates] gnu: python-s3transfer: Fix build with Python 3.8. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 May 2020 14:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41027@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158843069111364 (code B ref -1); Sat, 02 May 2020 14:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2020 14:44:51 +0000 Received: from localhost ([127.0.0.1]:53648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUtNr-0002xD-2h for submit@debbugs.gnu.org; Sat, 02 May 2020 10:44:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:53294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUtNp-0002x4-19 for submit@debbugs.gnu.org; Sat, 02 May 2020 10:44:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUtNn-0004Ku-5M for guix-patches@gnu.org; Sat, 02 May 2020 10:44:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUtNl-00068E-Hz for guix-patches@gnu.org; Sat, 02 May 2020 10:44:46 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:36287) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUtNl-00067R-1p for guix-patches@gnu.org; Sat, 02 May 2020 10:44:45 -0400 Received: from localhost (unknown [46.237.174.129]) by mira.cbaines.net (Postfix) with ESMTPSA id 3959A27BBE1 for ; Sat, 2 May 2020 15:44:43 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 2b848e3b for ; Sat, 2 May 2020 14:44:41 +0000 (UTC) From: Christopher Baines Date: Sat, 2 May 2020 15:44:41 +0100 Message-Id: <20200502144441.1489-1-mail@cbaines.net> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/02 10:44:43 X-ACL-Warn: Detected OS = ??? X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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" X-Scanner: scn0 X-Spam-Score: 3.99 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [3.99 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49502916062352]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_MISSING_CHARSET(2.50)[]; RCVD_COUNT_TWELVE(0.00)[13]; BROKEN_CONTENT_TYPE(1.50)[]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[mail@cbaines.net,guix-patches-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cbaines.net]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; MID_CONTAINS_FROM(1.00)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: jxZOEJcobBg8 * gnu/packages/python-web.scm (python-s3transfer)[arguments]: Add a 'patch phase to fix a test to work under Python 3.8. --- gnu/packages/python-web.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 27749246d8..56887ef9d4 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2204,6 +2204,15 @@ Betamax.") (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda _ + ;; There's a small issue with one test with Python 3.8, this + ;; change has been suggested upstream: + ;; https://github.com/boto/s3transfer/pull/164 + (substitute* "tests/unit/test_s3transfer.py" + (("super\\(FailedDownloadParts, self\\)\\.submit\\(function\\)") + "futures.Future()")) + #t)) (replace 'check (lambda _ ;; Some of the 'integration' tests require network access or -- 2.26.0