-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
I got this error trying it on the new Python 3.9.
ERROR: Command errored out with exit status 1:
command: /home/travis/virtualenv/python3.9.0/bin/python /home/travis/virtualenv/python3.9.0/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpunr0p85k
cwd: /tmp/pip-install-apt3uj1d/tulipy
Complete output (143 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/tulipy
copying tulipy/__init__.py -> build/lib.linux-x86_64-3.9/tulipy
running build_ext
skipping 'tulipy/lib/__init__.c' Cython extension (up-to-date)
building 'tulipy.lib' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/libindicators
creating build/temp.linux-x86_64-3.9/tulipy
creating build/temp.linux-x86_64-3.9/tulipy/lib
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -Ilibindicators -Itulipy/lib -I/tmp/pip-build-env-1fr4vj2s/overlay/lib/python3.9/site-packages/numpy/core/include -I/home/travis/virtualenv/python3.9.0/include -I/opt/python/3.9.0/include/python3.9 -c libindicators/tiamalgamation.c -o build/temp.linux-x86_64-3.9/libindicators/tiamalgamation.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -Ilibindicators -Itulipy/lib -I/tmp/pip-build-env-1fr4vj2s/overlay/lib/python3.9/site-packages/numpy/core/include -I/home/travis/virtualenv/python3.9.0/include -I/opt/python/3.9.0/include/python3.9 -c tulipy/lib/__init__.c -o build/temp.linux-x86_64-3.9/tulipy/lib/__init__.o
In file included from /tmp/pip-build-env-1fr4vj2s/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
from /tmp/pip-build-env-1fr4vj2s/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-1fr4vj2s/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from tulipy/lib/__init__.c:594:
/tmp/pip-build-env-1fr4vj2s/overlay/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
tulipy/lib/__init__.c: In function ‘__pyx_pf_6tulipy_3lib_10_Indicator_2__call__’:
tulipy/lib/__init__.c:3547:70: warning: passing argument 2 of ‘__pyx_v_self->info->indicator’ from incompatible pointer type [-Wincompatible-pointer-types]
__pyx_v_ret = __pyx_v_self->info->indicator(__pyx_v_min_input_len, __pyx_v_c_inputs, (&(*__Pyx_BufPtrCContig1d(__pyx_t_5numpy_float64_t *, __pyx_pybuffernd_c_options.rcbuffer->pybuffer.buf, __pyx_t_22, __pyx_pybuffernd_c_options.diminfo[0].strides))), __pyx_v_c_outputs);
^~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:3547:70: note: expected ‘const double * const*’ but argument is of type ‘double **’
tulipy/lib/__init__.c: In function ‘__Pyx_modinit_type_init_code’:
tulipy/lib/__init__.c:8102:38: error: ‘PyTypeObject {aka struct _typeobject}’ has no member named ‘tp_print’; did you mean ‘tp_dict’?
__pyx_type_6tulipy_3lib__Indicator.tp_print = 0;
^~~~~~~~
tp_dict
tulipy/lib/__init__.c: In function ‘__Pyx_ParseOptionalKeywords’:
tulipy/lib/__init__.c:10033:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10033:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10033:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10033:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10033:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10033:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10049:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10049:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10049:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10049:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10049:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^~~~~~~~~~~~~~~~~~~
tulipy/lib/__init__.c:10049:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
In file included from /opt/python/3.9.0/include/python3.9/unicodeobject.h:1026:0,
from /opt/python/3.9.0/include/python3.9/Python.h:97,
from tulipy/lib/__init__.c:4:
/opt/python/3.9.0/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for tulipy```
ERROR: Could not build wheels for tulipy which use PEP 517 and cannot be installed directly
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels