emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37989: closed (python2-numpy v1.17.3 fails to build)


From: GNU bug Tracking System
Subject: bug#37989: closed (python2-numpy v1.17.3 fails to build)
Date: Wed, 30 Oct 2019 13:34:02 +0000

Your message dated Wed, 30 Oct 2019 14:33:43 +0100
with message-id <address@hidden>
and subject line Re: bug#37989: python2-numpy v0.17.3 fails to build
has caused the debbugs.gnu.org bug report #37989,
regarding python2-numpy v1.17.3 fails to build
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
37989: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37989
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: python2-numpy v0.17.3 fails to build Date: Wed, 30 Oct 2019 11:45:50 +0000 User-agent: mu4e 1.2.0; emacs 26.3
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 "<string>", line 1, in <module>
  File "setup.py", line 31, in <module>
    raise RuntimeError("Python version >= 3.5 required.")
RuntimeError: Python version >= 3.5 required.
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'))" "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/badf2901ea040aa89dbb3c19e53c6b1b692cb489

Lots of packages including libreoffice transitively depend on
python2-numpy, so this needs some sort of resolution — perhaps simply
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#37989: python2-numpy v0.17.3 fails to build Date: Wed, 30 Oct 2019 14:33:43 +0100 User-agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu)
Josh Holland <address@hidden> writes:

> 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.

Fixed in adb396eae3524d9b82294aaf5cc87a615515b04d, thanks!

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]