[Numpy-discussion] Do getitem/setitem already have GIL?

2016-04-20 Thread Steve Mitchell
When writing custom PyArray_ArrFuncs getitem() and setitem(), do I need to 
acquire the GIL, or has it been done for me already by the caller?

  --Steve

http://docs.scipy.org/doc/numpy/reference/c-api.array.html?highlight=allow_c_api#group-2
http://docs.scipy.org/doc/numpy/reference/internals.code-explanations.html?highlight=gil#function-call
http://docs.scipy.org/doc/numpy/reference/c-api.types-and-structures.html
https://docs.python.org/2/c-api/init.html#thread-state-and-the-global-interpreter-lock

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] linux wheels coming soon

2016-04-20 Thread Matthew Brett
Hi,

On Wed, Apr 20, 2016 at 3:33 AM, Jens Nielsen  wrote:
> Thanks
>
> I can confirm that the new narrow unicode build wheels of Scipy works as
> expected for my project.
> @Oliver Grisel Thanks for finding the Travis issue it's probably worth
> considering switching the Travis build to 2.7.11 to avoid other similar
> issues.
>
> The old versions of numpy are very handy for downstream testing. I have
> verified that they work as expected in the Matplotlib tests here:
> https://github.com/jenshnielsen/matplotlib/tree/travisnowheelhouse where we
> are testing against numpy 1.6 as the earliest. This branch switches
> matplotlib from the scikit image wheelhouse to manylinux wheels which seems
> to work great.

Jens - any interest in working together on a good matplotlib build recipe?

Matthew
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] linux wheels coming soon

2016-04-20 Thread Matthew Brett
On Wed, Apr 20, 2016 at 1:59 AM, Olivier Grisel
 wrote:
> Thanks,
>
> I think next we could upgrade the travis configuration of numpy and
> scipy to build and upload manylinux1 wheels to
> http://travis-dev-wheels.scipy.org/ for downstream project to test
> against the master branch of numpy and scipy whithout having to build
> those from source.
>
> However that would require publishing an official pre-built
> libopenblas.so (+headers) archive or RPM package. That archive would
> server as the reference libary to build scipy stack manylinux1 wheels.

There's an OpenBLAS archive up at :
http://ccdd0ebb5a931e58c7c5-aae005c4999d7244ac63632f8b80e089.r77.cf2.rackcdn.com/openblas_0.2.18.tgz
- is that the right place for it?  It gets uploaded by the
manylinux-builds travis run.

Cheers,

Matthew
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] linux wheels coming soon

2016-04-20 Thread Jens Nielsen
Thanks

I can confirm that the new narrow unicode build wheels of Scipy works as
expected for my project.
@Oliver Grisel Thanks for finding the Travis issue it's probably worth
considering switching the Travis build to 2.7.11 to avoid other similar
issues.

The old versions of numpy are very handy for downstream testing. I have
verified that they work as expected in the Matplotlib tests here:
https://github.com/jenshnielsen/matplotlib/tree/travisnowheelhouse where we
are testing against numpy 1.6 as the earliest. This branch switches
matplotlib from the scikit image wheelhouse to manylinux wheels which seems
to work great.

best
Jens

On Wed, 20 Apr 2016 at 09:59 Olivier Grisel 
wrote:

> Thanks,
>
> I think next we could upgrade the travis configuration of numpy and
> scipy to build and upload manylinux1 wheels to
> http://travis-dev-wheels.scipy.org/ for downstream project to test
> against the master branch of numpy and scipy whithout having to build
> those from source.
>
> However that would require publishing an official pre-built
> libopenblas.so (+headers) archive or RPM package. That archive would
> server as the reference libary to build scipy stack manylinux1 wheels.
> --
> Olivier
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> https://mail.scipy.org/mailman/listinfo/numpy-discussion
>
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] linux wheels coming soon

2016-04-20 Thread Olivier Grisel
Thanks,

I think next we could upgrade the travis configuration of numpy and
scipy to build and upload manylinux1 wheels to
http://travis-dev-wheels.scipy.org/ for downstream project to test
against the master branch of numpy and scipy whithout having to build
those from source.

However that would require publishing an official pre-built
libopenblas.so (+headers) archive or RPM package. That archive would
server as the reference libary to build scipy stack manylinux1 wheels.
-- 
Olivier
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion