Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21624 - [python-numpy] add python3 support

Attached to Project: Arch Linux
Opened by Julio Werner (juliowerner) - Sunday, 07 November 2010, 13:56 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 07 December 2010, 11:08 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
This package only works in python2.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

$ python
>>> import numpy
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 07 December 2010, 11:08 GMT
Reason for closing:  Implemented
Comment by Ionut Biru (wonder) - Sunday, 07 November 2010, 14:00 GMT
is this a feature request for adding python 3 support or a bug?
Comment by Julio Werner (juliowerner) - Sunday, 07 November 2010, 15:25 GMT
I think it's a like feature request. But if the current package is python 3 I would expect that the currents libraries are compatible to the python 3 and not to python 2. But I don't know how it'll be the policies for the python libraries. I think it'll be better have libraries packages for python 2 and python 3.
Comment by Jan de Groot (JGC) - Sunday, 07 November 2010, 21:43 GMT
http://new.scipy.org/faq.html#does-numpy-currently-work-with-python-3-x-what-about-scipy

Numpy doesn't support python3 yet. You can't use numpy from python3 right now.
Comment by Julio Werner (juliowerner) - Sunday, 07 November 2010, 22:59 GMT
I think this faq it's outdated. Because the release note of version 1.5.0 tells that this version is compatible with python 3.
Comment by Guillaume Bouchard (guibou) - Monday, 08 November 2010, 20:26 GMT
Here is a PKGBUILD able to compile and run numpy for python3 using a patch from gentoo repository.

http://projects.scipy.org/numpy/ticket/1604
http://bugs.gentoo.org/show_bug.cgi?id=336781

I only removed the python2 specific stuffs and add the patch.

Numpy runs with python3 on my computer without any issue.

Sorry, it's my first PKGBUILD, it complains about using $srcdir and I don't see how to avoid it.

Also, I named the package python3-numpy because I'm not sure about the Arch way of dealing with python packages.
Comment by Hector Mtz-Seara Monne (hseara) - Monday, 15 November 2010, 22:09 GMT
I think that after the change of policy of changing python 3 as default, converting all possible libraries compatible with it should be a priority. If not is better to roll down to python 2 as default, although personally I do not like this idea.

Loading...