From patchwork Wed Jan 5 01:24:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 35975 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 EEEB827BBEA; Wed, 5 Jan 2022 01:25:40 +0000 (GMT) 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,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 C052D27BBE9 for ; Wed, 5 Jan 2022 01:25:40 +0000 (GMT) Received: from localhost ([::1]:52034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4v3Y-0004Mv-MO for patchwork@mira.cbaines.net; Tue, 04 Jan 2022 20:25:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4v30-0004L2-Jz for guix-patches@gnu.org; Tue, 04 Jan 2022 20:25:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4v30-0006Xg-7R for guix-patches@gnu.org; Tue, 04 Jan 2022 20:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4v30-0001W2-37 for guix-patches@gnu.org; Tue, 04 Jan 2022 20:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53019] [PATCH 1/4] gnu: python-dictdiffer: Fix broken test suite. References: <877aca93-bd87-3314-dbf9-ae9b0c537eb9@autistici.org> In-Reply-To: <877aca93-bd87-3314-dbf9-ae9b0c537eb9@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jan 2022 01:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53019 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53019@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 53019-submit@debbugs.gnu.org id=B53019.16413458745751 (code B ref 53019); Wed, 05 Jan 2022 01:25:02 +0000 Received: (at 53019) by debbugs.gnu.org; 5 Jan 2022 01:24:34 +0000 Received: from localhost ([127.0.0.1]:39236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4v2Y-0001Uh-FW for submit@debbugs.gnu.org; Tue, 04 Jan 2022 20:24:34 -0500 Received: from latitanza.investici.org ([82.94.249.234]:42033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4v2X-0001UX-8K for 53019@debbugs.gnu.org; Tue, 04 Jan 2022 20:24:33 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4JTBbg5BJwzGp4Z; Wed, 5 Jan 2022 01:24:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1641345871; bh=0zOqouPgN/yfTCX3waghQsk5yD2FzKyBoQ+g1Ifdl3w=; h=From:To:Cc:Subject:Date:From; b=VDn16dnWizntEOZrIwsyUr/eI6P5tbIsJ6AyyssD5q5baqzUqdLtKKRi+pZkGO8+r YLNyPrLlt1MXcaL+/BNIBi9Eesax82mvoLF5vqEVPy3kMOTVrdDQHwjGwgFM5xDhw6 AvFORLHSfN08zY15kQyetESdqsmqZUbtmjWUc4nE= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4JTBbg3xHFzGp4Y; Wed, 5 Jan 2022 01:24:31 +0000 (UTC) Date: Wed, 5 Jan 2022 02:24:05 +0100 Message-Id: <20220105012408.4874-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 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" Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi X-getmail-retrieved-from-mailbox: Patches This patch prevents pytest from running a PEP8 check on the source, since it breaks pytest's own collection phase. * gnu/packages/python-xyz.scm (python-dictdiffer)[snippet]: Patch pytest configuration to prevent PEP8 testing. --- gnu/packages/python-xyz.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) base-commit: e675030fba924a1aef2677f8ab912eaa3c46403c diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e04b4f973f..c33f9b3213 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25245,7 +25245,15 @@ (define-public python-dictdiffer (uri (pypi-uri "dictdiffer" version)) (sha256 (base32 - "1lk3qmy1hkaphk4n7ayfk0wl6m2yvd6r7qkam6yncqfzgkbc1phs")))) + "1lk3qmy1hkaphk4n7ayfk0wl6m2yvd6r7qkam6yncqfzgkbc1phs")) + (modules '((guix build utils))) + (snippet + '(begin + ;; FIXME: PEP8 testing breaks pytest collection phase. + (substitute* "pytest.ini" + (("--pep8") + "")) + #t)))) (build-system python-build-system) (native-inputs (list python-check-manifest