From patchwork Mon Feb 1 08:52:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 26804 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 41CFC27BC24; Mon, 1 Feb 2021 08:53:18 +0000 (GMT) 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, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D730F27BC1D for ; Mon, 1 Feb 2021 08:53:17 +0000 (GMT) Received: from localhost ([::1]:40954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6UxQ-0003fy-QX for patchwork@mira.cbaines.net; Mon, 01 Feb 2021 03:53:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6UxD-0003eO-FG for guix-patches@gnu.org; Mon, 01 Feb 2021 03:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6UxC-0005Qh-6H for guix-patches@gnu.org; Mon, 01 Feb 2021 03:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6UxC-0000VQ-52 for guix-patches@gnu.org; Mon, 01 Feb 2021 03:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46228] [PATCH 2/2] gnu: python-pkginfo: Enable tests. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Feb 2021 08:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46228 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46228@debbugs.gnu.org Received: via spool by 46228-submit@debbugs.gnu.org id=B46228.16121695741899 (code B ref 46228); Mon, 01 Feb 2021 08:53:02 +0000 Received: (at 46228) by debbugs.gnu.org; 1 Feb 2021 08:52:54 +0000 Received: from localhost ([127.0.0.1]:58727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Ux3-0000UY-T0 for submit@debbugs.gnu.org; Mon, 01 Feb 2021 03:52:54 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:34093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Ux2-0000U9-4R for 46228@debbugs.gnu.org; Mon, 01 Feb 2021 03:52:52 -0500 X-Originating-IP: 176.159.32.89 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPA id 407D56000B; Mon, 1 Feb 2021 08:52:46 +0000 (UTC) From: Tanguy Le Carrour Date: Mon, 1 Feb 2021 09:52:31 +0100 Message-Id: <20210201085231.17490-2-tanguy@bioneland.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210201085231.17490-1-tanguy@bioneland.org> References: <20210201085231.17490-1-tanguy@bioneland.org> 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: , Cc: Tanguy Le Carrour Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pkginfo)[arguments]: Don't disable tests. Disable a failing test. --- gnu/packages/python-xyz.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29f66705e4..38dbda25d8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17113,8 +17113,14 @@ design and layout.") "1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2")))) (build-system python-build-system) (arguments - ;; The tests are broken upstream. - '(#:tests? #f)) + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'patch-tests + (lambda _ + (substitute* "pkginfo/tests/test_installed.py" + (("test_ctor_w_package_no_PKG_INFO") + "_test_ctor_w_package_no_PKG_INFO")) + #t))))) (home-page "https://code.launchpad.net/~tseaver/pkginfo/trunk") (synopsis