You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have built numpy from the master branch source today (I make new builds every couple of weeks), and am seeing a new warning that I have not seen before:
In [1]: import numpy
/Library/Python/2.7/site-packages/numpy-1.7.0.dev_0c5f480_20120412-py2.7-macosx-10.7-x86_64.egg/numpy/random/init.py:91: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
from mtrand import *
I am using the same build script as I always do. I am on OS X 10.7.3, and am using the following env variables:
Not a problem, it is a Cython artifact resulting from Numpy deprecating direct access to ndarray internals. See the Cython thread at [http://mail.python.org/pipermail/cython-devel/2012-January/001848.html]
It's strange though that you get this warning when importing numpy itself. It should come from another package compiled against older numpy, that then sees a change in numpy.
Okay, I see it now. We should filter it though, this warning is annoying. Especially because it's the exact same warning that signals ABI issues like the one that caused the removal of datetime in 1.4.1.
Original ticket http://projects.scipy.org/numpy/ticket/2103
Reported 2012-04-12 by atmention:fonnesbeck, assigned to unknown.
I have built numpy from the master branch source today (I make new builds every couple of weeks), and am seeing a new warning that I have not seen before:
In [1]: import numpy
/Library/Python/2.7/site-packages/numpy-1.7.0.dev_0c5f480_20120412-py2.7-macosx-10.7-x86_64.egg/numpy/random/init.py:91: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
from mtrand import *
I am using the same build script as I always do. I am on OS X 10.7.3, and am using the following env variables:
export MACOSX_DEPLOYMENT_TARGET=10.7
export CFLAGS="-arch x86_64"
export ARCHFLAGS="-arch x86_64"
export FFLAGS="-static -ff2c"
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch x86_64"
export PYTHONPATH="/Library/Python/2.7/site-packages/"
export CC=gcc-4.2
export CXX=g++-4.2
Again, nothing has changed here since last I built the package, which did not have this message last time.
The text was updated successfully, but these errors were encountered: