[pypy-dev] progress with numpy and removal of numpy.py

Romain Guillebert romain.py at gmail.com
Tue Oct 15 12:18:48 CEST 2013


Hi Matti

I think we should remove numpy.py and package the pypy-hack branch
(even if it's not stable yet) so that people can use it directly.

Cheers
Romain

On Tue, Oct 15, 2013 at 6:15 AM, Matti Picus <matti.picus at gmail.com> wrote:
> I have been working to get numfocus benchmarks written for numpy to run on
> numpypy and pypy https://github.com/numfocus/python-benchmarks
>
> The biggest obstacle is actually the need for matplotlib, which is used
> internally to produce pretty comparisons between different benchmarks.
> Luckily,  Stefan H. Muller did much of what is needed to use matplotlib
> (non-interactively) with pypy, I have taken over his work and it now lives
> in two git repos: https://github.com/mattip/numpy on the pypy-hack branch,
> and https://github.com/mattip/matplotlib master branch. These work, download
> a nightly pypy,
> virtualenv, "setup.py install", but there is some missing low-lying-fruit
> kind of functionality to run the benchmarks, again, in matplotlib.
>
> That is the good news, the bad news is that in a perhaps hasty move, I
> removed lib_pypy/numpy.py since it complicates the numpy install. I fixed
> tests (one build too late, sorry for the failures), but now people who were
> used to a nightly pypy being capable of "import numpy" will be disappointed.
>
> I did ask on IRC before the change, and got two positive votes, but feel a
> need for wider consensus. So should we leave the file out, and hopefully
> encourage people to start trying the pypy-hack branch, or put it back? In an
> unrelated-but-related issue, should the github repo of numpy be moved to a
> more pypy-like place (bitbucket.org/pypy)?
>
> Matti
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev


More information about the pypy-dev mailing list