From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Building packages with python-3.4 Date: Fri, 28 Oct 2016 22:00:31 +0200 Message-ID: <87pomkjlb4.fsf@elephly.net> References: <20161012215214.GA17635@jasmine> <87k2cxzcox.fsf@gnu.org> <20161028163352.GA6255@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0DKc-0006jO-HV for guix-devel@gnu.org; Fri, 28 Oct 2016 16:00:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0DKb-0007Vj-OX for guix-devel@gnu.org; Fri, 28 Oct 2016 16:00:50 -0400 In-reply-to: <20161028163352.GA6255@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari writes: > On Mon, Oct 24, 2016 at 10:58:38PM +0200, Ludovic Courtès wrote: >> Leo Famulari skribis: >> >> > On core-updates, we updated python to 3.5.2, but we kept 3.4.5 in case >> > we needed it. >> > >> > I recently tried building python-cryptography with 3.4.5, like this: >> > >> > (arguments >> > `(#:python ,python-3.4)) >> > >> > But, it fails like this: >> > >> > patch-shebang: ./setup.py: warning: no binary for interpreter `python' found in $PATH >> >> I think you need to write: >> >> (arguments >> `(#:python ,(wrap-python3 python-3.4))) >> >> That will provide ‘python’ and other commands without the ‘3’ prefix. > > Thanks! > > I tried this to fix the build failure of Blender on core-updates, and it > did work. But in the end I instead updated Blender to the latest > version, which supports Python 3.5. Heh, I was waiting for the Python upgrade to upgrade Blender but didn’t manage to do it without my laptop freezing. Thanks for taking care of this! ~~ Ricardo