Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy1.7 deprecation warning when building docker image #19

Open
mariojmdavid opened this issue Jul 6, 2019 · 0 comments
Open

numpy1.7 deprecation warning when building docker image #19

mariojmdavid opened this issue Jul 6, 2019 · 0 comments

Comments

@mariojmdavid
Copy link

refer to:
https://github.com/indigo-dc/ansible-role-disvis-powerfit/blob/master/dockers/docker-disvis/Dockerfile

I get this when building the docker image, don't know if it will affect later when running

building 'disvis.libdisvis' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-MW0004/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c src/libdisvis.c -o build/temp.linux-x86_64-2.7/src/libdisvis.o -ffast-math
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from src/libdisvis.c:283:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^~~~~~~
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:27:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from src/libdisvis.c:283:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1453:1: warning: '_import_array' defined but not used [-Wunused-function]
_import_array(void)
^~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant