From patchwork Tue Oct 8 13:58:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Langlois X-Patchwork-Id: 15671 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 681B51754B; Tue, 8 Oct 2019 15:14:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1A96317549 for ; Tue, 8 Oct 2019 15:14:16 +0100 (BST) Received: from localhost ([::1]:56238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHqFj-00050B-1j for patchwork@mira.cbaines.net; Tue, 08 Oct 2019 10:14:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46016) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHq12-00062r-J3 for guix-patches@gnu.org; Tue, 08 Oct 2019 09:59:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHq10-00063K-NH for guix-patches@gnu.org; Tue, 08 Oct 2019 09:59:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHq10-00063B-JG for guix-patches@gnu.org; Tue, 08 Oct 2019 09:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHq10-0000vX-E4 for guix-patches@gnu.org; Tue, 08 Oct 2019 09:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37661] [PATCH] gnu: python2-tqdm: Depend on python2-functools32. Resent-From: Pierre Langlois Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Oct 2019 13:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37661 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37661@debbugs.gnu.org Cc: Pierre Langlois X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15705431373549 (code B ref -1); Tue, 08 Oct 2019 13:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Oct 2019 13:58:57 +0000 Received: from localhost ([127.0.0.1]:51154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHq0u-0000vB-HM for submit@debbugs.gnu.org; Tue, 08 Oct 2019 09:58:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:42435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHq0s-0000v1-JV for submit@debbugs.gnu.org; Tue, 08 Oct 2019 09:58:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45974) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHq0o-0005jY-GS for guix-patches@gnu.org; Tue, 08 Oct 2019 09:58:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHq0n-0005rT-1k for guix-patches@gnu.org; Tue, 08 Oct 2019 09:58:50 -0400 Received: from mout.gmx.net ([212.227.15.18]:57845) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHq0m-0005qB-Ii for guix-patches@gnu.org; Tue, 08 Oct 2019 09:58:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1570543122; bh=7/GGVhqFK94XtQThqMzauMAHHSqflpKctcRY36+Wy2g=; h=X-UI-Sender-Class:From:To:Subject:CC:Date; b=YDsFVEWp/oNuoyN0Ep93fp2ttLKUUu52zNCcPY6CINTpbKfl9mMAEnjqyiBD0BN7I NgWqP7B6KDsZPU0BqiWJB5Pw6AoMK6JxdKvkWK128fI9ZGPHQTb/N/Odk0UUI7zNFG is8M6bi0M2gUvLfvECqW5uq4AZt4T7iJvackEqIE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([2.99.192.73]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MzyuS-1hvCJo1OQo-00wzuT; Tue, 08 Oct 2019 15:58:42 +0200 User-agent: mu4e 1.2.0; emacs 26.3 From: Pierre Langlois Date: Tue, 08 Oct 2019 14:58:41 +0100 Message-ID: <87y2xvnxta.fsf@gmx.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:rLkeri7+GjUAqPZmD2bWzjmTvmG9FGredT2jYXYEsm3LXK4CTnz GErZZWGfMxNsLorZg24uax4pYQhr5nlAYq9UZDjxcBp0r24fyI51dBuRKJtRZInjAI35xHB ILIdXrlbYnoE6EVJRTadyBUf5KFDa9tXLUR+hRg5ddE+Oe5zwF4SfyHWo6W2vYnzXuA7PCl GNp9HWcLUgoOCRhxfG6EA== X-UI-Out-Filterresults: notjunk:1;V03:K0:UQr2WbiRs8w=:YirAEz391iV8rvT3vk+xh/ GNMNmCO8hLJLx3nGQWE+86fXxOhTtpOqM1xr3VDfNRS6iC9YmBoC8ApVzm79ylcLkw9qLSuoF XNrB7ypOxfmMi6qCtN1u1uyNr3XHt3qFNXre6DxKmCPbVZFWUaYfLMZiukQ3dq9WkMyxlcJHl Mda0iOnyd1IJU5lKXgnMzQc4JYrb7st34VezSePufIndfGmqVoNaq2nV9hyu/90CoKfcEbSLo SQH/TR2vi6oYVcTNNPTGxTVgQ4AeCwodO1xRQMYid85qZ1XO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x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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 Hi Guix! This fixes the python2-tqdm package which failed to build for me since core-updates was merged: ``` starting phase `check' running "python setup.py" with command "test" and parameters () running test Searching for functools32 Reading https://pypi.org/simple/functools32/ Download error on https://pypi.org/simple/functools32/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'functools32' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or working download links found for functools32 error: Could not find suitable distribution for Requirement.parse('functools32') command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with status 1 builder for `/gnu/store/p3v9nnxsk9bl0lxcd2zfzkgx56sv1q11-python2-tqdm-4.19.6.drv' failed with exit code 1 build of /gnu/store/p3v9nnxsk9bl0lxcd2zfzkgx56sv1q11-python2-tqdm-4.19.6.drv failed View build log at '/var/log/guix/drvs/p3/v9nnxsk9bl0lxcd2zfzkgx56sv1q11-python2-tqdm-4.19.6.drv.bz2'. guix build: error: build of `/gnu/store/p3v9nnxsk9bl0lxcd2zfzkgx56sv1q11-python2-tqdm-4.19.6.drv' failed ``` Adding python2-functools32 as a native-input fixes the issue. Thanks, Pierre From 13a97fe6bda3aee5bc61a0d0de3459069bc947e1 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Tue, 8 Oct 2019 14:38:32 +0100 Subject: [PATCH] gnu: python2-tqdm: Depend on python2-functools32. * gnu/packages/python-xyz.scm (python-tqdm)[properties]: Add python2-variant. (python2-tqdm): Use 'strip-python2-variant'. [native-inputs]: Add python2-functools32. --- gnu/packages/python-xyz.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b0f5ec7588..c30532266c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13746,10 +13746,15 @@ ignoring formatting changes.") "Make loops show a progress bar on the console by just wrapping any iterable with @code{|tqdm(iterable)|}. Offers many options to define design and layout.") - (license (list license:mpl2.0 license:expat)))) + (license (list license:mpl2.0 license:expat)) + (properties `((python2-variant . ,(delay python2-tqdm)))))) (define-public python2-tqdm - (package-with-python2 python-tqdm)) + (let ((tqdm (package-with-python2 + (strip-python2-variant python-tqdm)))) + (package (inherit tqdm) + (native-inputs `(("python2-functools32" ,python2-functools32) + ,@(package-native-inputs tqdm)))))) (define-public python-pkginfo (package -- 2.23.0