From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Holland Subject: bug#37989: python2-numpy v0.17.3 fails to build Date: Wed, 30 Oct 2019 11:45:50 +0000 Message-ID: <87imo64ftd.fsf@inv.alid.pw> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56172) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPmRV-0000sp-7z for bug-guix@gnu.org; Wed, 30 Oct 2019 07:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPmRT-0000Pp-Vx for bug-guix@gnu.org; Wed, 30 Oct 2019 07:47:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40570) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPmRT-0000Pc-SJ for bug-guix@gnu.org; Wed, 30 Oct 2019 07:47:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPmRP-000366-Uu for bug-guix@gnu.org; Wed, 30 Oct 2019 07:47:08 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:55916) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPmQF-00084P-DN for bug-guix@gnu.org; Wed, 30 Oct 2019 07:45:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPmQE-0007HC-1U for bug-guix@gnu.org; Wed, 30 Oct 2019 07:45:55 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:36835) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPmQD-0007FQ-9W for bug-guix@gnu.org; Wed, 30 Oct 2019 07:45:53 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 57E7F21B84 for ; Wed, 30 Oct 2019 07:45:52 -0400 (EDT) Received: from spica (88-107-43-117.dynamic.dsl.as9105.com [88.107.43.117]) by mail.messagingengine.com (Postfix) with ESMTPA id E27D93060064 for ; Wed, 30 Oct 2019 07:45:51 -0400 (EDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37989@debbugs.gnu.org Hi, It seems that the update of python-numpy to 1.17.3 in 8e5fbd5dda93e137ff527cabe25989b28ab9e1c0 has broken the build of the corresponding Python 2 package, both on my local machine and on the CI server: http://ci.guix.gnu.org/build/1893145/details. The log in Cuirass is incomplete, but the error in my build is the following: starting phase `build' running "python setup.py" with command "build" and parameters () Traceback (most recent call last): File "", line 1, in File "setup.py", line 31, in raise RuntimeError("Python version >=3D 3.5 required.") RuntimeError: Python version >=3D 3.5 required. command "python" "-c" "import setuptools, tokenize;__file__=3D'setup.py';f= =3Dgetattr(tokenize, 'open', open)(__file__);code=3Df.read().replace('\\r\\= n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed = with status 1 Indeed, despite the assertion on https://numpy.org/doc/1.17/user/building.html that Python 2.7 or 3.4 are sufficient, the setup.py script explicitly checks that Python is at least 3.5; see the upstream commit badf2901: https://github.com/numpy/numpy/commit/badf2901ea040aa89dbb3c19e53c6b1b692cb= 489 Lots of packages including libreoffice transitively depend on python2-numpy, so this needs some sort of resolution =E2=80=94 perhaps simp= ly pinning python2-numpy to a previous version? However, Python 2 will not be maintained after the end of 2019, and I'm not sure if there is an overall Guix-wide migration plan for python2-* packages. -- Josh Holland