From patchwork Thu Jan 7 13:26:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lars-Dominik Braun X-Patchwork-Id: 26261 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 4BC8E27BC0D; Thu, 7 Jan 2021 14:37:32 +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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,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 1A1E727BC0E for ; Thu, 7 Jan 2021 14:37:30 +0000 (GMT) Received: from localhost ([::1]:52940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxWPp-00051g-76 for patchwork@mira.cbaines.net; Thu, 07 Jan 2021 09:37:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxVJe-00019h-Ub for guix-patches@gnu.org; Thu, 07 Jan 2021 08:27:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35265) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxVJe-0000Bj-HR for guix-patches@gnu.org; Thu, 07 Jan 2021 08:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxVJe-0004ZL-CZ for guix-patches@gnu.org; Thu, 07 Jan 2021 08:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45712] [PATCHES] Improve Python package quality Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Jan 2021 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45712 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45712@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161002601017538 (code B ref -1); Thu, 07 Jan 2021 13:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2021 13:26:50 +0000 Received: from localhost ([127.0.0.1]:46810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxVJM-0004Yi-Ij for submit@debbugs.gnu.org; Thu, 07 Jan 2021 08:26:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:59520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxVJI-0004YZ-S3 for submit@debbugs.gnu.org; Thu, 07 Jan 2021 08:26:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxVJI-00010A-Ck for guix-patches@gnu.org; Thu, 07 Jan 2021 08:26:40 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:13292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1kxVJC-0008Mf-9Y for guix-patches@gnu.org; Thu, 07 Jan 2021 08:26:39 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4DBRpD0d8gzQlZZ for ; Thu, 7 Jan 2021 14:26:28 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1610025985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h2QO2yrUz6gaQFG+E05ghrfYRkyAEEgfIH/kQYaE+B4=; b=q3yCkxKj2kAJrv1KtyAq6oMU4pqp8aak8csiWMh57JRem1bP4b+ZHpbyuAhY9ENN5Y150H mvufVnhRFwQSzMaQqz02FACO7eFp0O8Du/COZ+96ctq4tWeuCfKNU/etmxN1csSGv9H9pm z8ianCnpxfHNH4njHEzvvIPPo6+nI58poSYBau4MWtgBBWq//pziZKJsUfLuVNID3IRoeU 8IgJG4sTO62RGwGc1U3K+sGrxX+5Krll1sWRUnsjGpQjUwR5RNtVRCFiab0y/iXkUFoeaR AEeN/DvRgJ962h+Hhf6YV+9p3/Aoi3mBRUvG2SWkcpwciOTkKQg6bi0I0Hxldw== Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id I2gY7b1DIyAd for ; Thu, 7 Jan 2021 14:26:22 +0100 (CET) Date: Thu, 7 Jan 2021 14:26:20 +0100 From: Lars-Dominik Braun Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-MBO-SPAM-Probability: X-Rspamd-Score: -7.36 / 15.00 / 15.00 X-Rspamd-Queue-Id: 79BA41850 X-Rspamd-UID: 05b832 Received-SPF: pass client-ip=80.241.56.152; envelope-from=lars@6xq.net; helo=mout-p-102.mailbox.org X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 07 Jan 2021 09:35:58 -0500 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 Hi, as announced in https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00021.html I’ve been working on adding an additional phase to Python packages to check whether they actually work. I cleaned up my patch, added tests and now I’m pretty confident it works as expected. The first patch in this series adds this phase, while the other ones fix build failures caused by it. All of this should go to core-updates (or a separate wip-* branch?), since it causes a massive number of rebuilds. You can also pull my git repo at https://github.com/PromyLOPh/guix.git branch work-python-importcheck. Cheers, Lars From ecc8eebadbeb8c75ac5025d7bce581423d4d1894 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 7 Jan 2021 14:17:20 +0100 Subject: [PATCH 15/15] gnu: python-traceback2: Add missing dependency. * gnu/packages/python-xyz.scm (python-traceback2) [propagated-inputs]: Add python-six. --- gnu/packages/python-xyz.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e78016221f..1df9807626 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17266,7 +17266,8 @@ lines are read from a single file.") (native-inputs `(("python-pbr" ,python-pbr-minimal))) (propagated-inputs - `(("python-linecache2" ,python-linecache2))) + `(("python-linecache2" ,python-linecache2) + ("python-six" ,python-six))) (home-page "https://github.com/testing-cabal/traceback2") (synopsis "Backports of the traceback module") -- 2.26.2