[Wheel-builders] [manylinux] how to build numpy/scipy wheels for x86

Matthew Brett matthew.brett at gmail.com
Fri Apr 22 22:31:59 EDT 2016


On Fri, Apr 22, 2016 at 10:39 AM, Matthew Brett <matthew.brett at gmail.com> wrote:
[snip]
>
> Thanks for testing.  I get your test_la_roots failure too:
>
> http://nipy.bic.berkeley.edu/builders/manylinux-2.7-ubuntu-32/builds/0/steps/shell_11/logs/stdio
>
> http://nipy.bic.berkeley.edu/builders/manylinux-3.4-ubuntu-32/builds/0/steps/shell_11/logs/stdio
>
> http://nipy.bic.berkeley.edu/builders/manylinux-3.5-ubuntu-32/builds/0/steps/shell_11/logs/stdio
>
> I also get this on Pythons 3.4, 3.5:
>
> ======================================================================
> FAIL: test_qhull.TestUtilities.test_more_barycentric_transforms
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/buildslave/bongoslave/manylinux-3_4-ubuntu-32/build/venv/lib/python3.4/site-packages/nose/case.py",
> line 198, in runTest
>     self.test(*self.arg)
>   File "/home/buildslave/bongoslave/manylinux-3_4-ubuntu-32/build/venv/lib/python3.4/site-packages/scipy/spatial/tests/test_qhull.py",
> line 375, in test_more_barycentric_transforms
>     unit_cube_tol=1500*eps)
>   File "/home/buildslave/bongoslave/manylinux-3_4-ubuntu-32/build/venv/lib/python3.4/site-packages/scipy/spatial/tests/test_qhull.py",
> line 303, in _check_barycentric_transforms
>     assert_(ok.all(), "%s %s" % (err_msg, np.where(~ok)))
>   File "/home/buildslave/bongoslave/manylinux-3_4-ubuntu-32/build/venv/lib/python3.4/site-packages/numpy/testing/utils.py",
> line 71, in assert_
>     raise AssertionError(smsg)
> AssertionError: ndim=4 (array([11618], dtype=int32),)

I reliably get this error only for the manylinux wheel, not the same
code built on the local machine, apparently in the same way
(numpy==1.11.0, scipy==0.17.0, openblas etc).

I can't replicate it on any docker image I have to hand including the
manylinux x86 docker image and:

https://hub.docker.com/r/toopher/ubuntu-i386/tags/ - 12.04
https://hub.docker.com/r/f69m/ubuntu32/tags/ - lts

So, I don't know what's going on, but it's going to be very hard to debug.

Does anyone have any insight into this error?

Cheers,

Matthew


More information about the Wheel-builders mailing list