From patchwork Sat May 2 14:44:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 21842 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 1AE9D27BBE4; Sat, 2 May 2020 15:45:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) by mira.cbaines.net (Postfix) with ESMTP id DA63C27BBE1 for ; Sat, 2 May 2020 15:45:13 +0100 (BST) Received: from localhost ([::1]:48506 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUtOD-0004aD-95 for patchwork@mira.cbaines.net; Sat, 02 May 2020 10:45:13 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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