Skip to content

i got an issue while running an app on heroku #19

Description

@amohini099
               compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-x86_64-3.1/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/app/.heroku/python/include/python3.10 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -c'
               gcc: build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.c
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_repr’:
               numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 482 |     ip = dptr = Py@Name@_AS_@NAME@(self);
                     |     ^~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:488:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
                 488 |     new = Py@Name@_From@Name@@extra@(ip, len);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
                 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                     |                                          ^~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_str’:
               numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 482 |     ip = dptr = Py@Name@_AS_@NAME@(self);
                     |     ^~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:488:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
                 488 |     new = Py@Name@_From@Name@@extra@(ip, len);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
                 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                     |                                          ^~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘gentype_reduce’:
               numpy/core/src/multiarray/scalartypes.c.src:1866:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                1866 |         buffer = PyUnicode_AS_DATA(self);
                     |         ^~~~~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                1867 |         buflen = PyUnicode_GET_DATA_SIZE(self);
                     |         ^~~~~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                1867 |         buflen = PyUnicode_GET_DATA_SIZE(self);
                     |         ^~~~~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                1867 |         buflen = PyUnicode_GET_DATA_SIZE(self);
                     |         ^~~~~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:1871:5: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations]
                1871 |     if (PyObject_AsReadBuffer(self, (const void **)&buffer, &buflen)<0) {
                     |     ^~
               In file included from /app/.heroku/python/include/python3.10/genobject.h:12,
                                from /app/.heroku/python/include/python3.10/Python.h:110,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/abstract.h:343:17: note: declared here
                 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
                     |                 ^~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘datetime_arrtype_new’:
               numpy/core/src/multiarray/scalartypes.c.src:2850:30: warning: comparison of integer expressions of different signedness: ‘NPY_DATETIMEUNIT’ {aka ‘enum <anonymous>’} and ‘int’ [-Wsign-compare]
                2850 |         if (ret->obmeta.base == -1) {
                     |                              ^~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘timedelta_arrtype_new’:
               numpy/core/src/multiarray/scalartypes.c.src:2850:30: warning: comparison of integer expressions of different signedness: ‘NPY_DATETIMEUNIT’ {aka ‘enum <anonymous>’} and ‘int’ [-Wsign-compare]
                2850 |         if (ret->obmeta.base == -1) {
                     |                              ^~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3228:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3228 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                     |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     |                           |
                     |                           double
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3228:12: error: too few arguments to function ‘_Py_HashDouble’
                3228 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                     |            ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘cfloat_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3236:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3236 |     hashreal = _Py_HashDouble((double)
                     |                               ^~~~~~~~
                     |                               |
                     |                               double
                3237 |             (((PyC@name@ScalarObject *)obj)->obval).real);
                     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3236:16: error: too few arguments to function ‘_Py_HashDouble’
                3236 |     hashreal = _Py_HashDouble((double)
                     |                ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3242:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3242 |     hashimag = _Py_HashDouble((double)
                     |                               ^~~~~~~~
                     |                               |
                     |                               double
                3243 |             (((PyC@name@ScalarObject *)obj)->obval).imag);
                     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3242:16: error: too few arguments to function ‘_Py_HashDouble’
                3242 |     hashimag = _Py_HashDouble((double)
                     |                ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3228:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3228 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                     |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     |                           |
                     |                           double
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3228:12: error: too few arguments to function ‘_Py_HashDouble’
                3228 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                     |            ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘clongdouble_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3236:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3236 |     hashreal = _Py_HashDouble((double)
                     |                               ^~~~~~~~
                     |                               |
                     |                               double
                3237 |             (((PyC@name@ScalarObject *)obj)->obval).real);
                     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3236:16: error: too few arguments to function ‘_Py_HashDouble’
                3236 |     hashreal = _Py_HashDouble((double)
                     |                ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3242:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3242 |     hashimag = _Py_HashDouble((double)
                     |                               ^~~~~~~~
                     |                               |
                     |                               double
                3243 |             (((PyC@name@ScalarObject *)obj)->obval).imag);
                     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3242:16: error: too few arguments to function ‘_Py_HashDouble’
                3242 |     hashimag = _Py_HashDouble((double)
                     |                ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3258:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3258 |     return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
                     |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     |                           |
                     |                           double
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3258:12: error: too few arguments to function ‘_Py_HashDouble’
                3258 |     return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
                     |            ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3229:1: warning: control reaches end of non-void function [-Wreturn-type]
                3229 | }
                     | ^
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3229:1: warning: control reaches end of non-void function [-Wreturn-type]
                3229 | }
                     | ^
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3259:1: warning: control reaches end of non-void function [-Wreturn-type]
                3259 | }
                     | ^
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_repr’:
               numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 482 |     ip = dptr = Py@Name@_AS_@NAME@(self);
                     |     ^~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:488:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
                 488 |     new = Py@Name@_From@Name@@extra@(ip, len);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
                 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                     |                                          ^~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_str’:
               numpy/core/src/multiarray/scalartypes.c.src:482:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 482 |     ip = dptr = Py@Name@_AS_@NAME@(self);
                     |     ^~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:483:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                 483 |     len = Py@Name@_GET_SIZE(self);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:488:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
                 488 |     new = Py@Name@_From@Name@@extra@(ip, len);
                     |     ^~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
                 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                     |                                          ^~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘gentype_reduce’:
               numpy/core/src/multiarray/scalartypes.c.src:1866:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                1866 |         buffer = PyUnicode_AS_DATA(self);
                     |         ^~~~~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                1867 |         buflen = PyUnicode_GET_DATA_SIZE(self);
                     |         ^~~~~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
                1867 |         buflen = PyUnicode_GET_DATA_SIZE(self);
                     |         ^~~~~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
                 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
                     |                                             ^~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:1867:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
                1867 |         buflen = PyUnicode_GET_DATA_SIZE(self);
                     |         ^~~~~~
               In file included from /app/.heroku/python/include/python3.10/unicodeobject.h:1046,
                                from /app/.heroku/python/include/python3.10/Python.h:83,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
                 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
                     |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:1871:5: warning: ‘PyObject_AsReadBuffer’ is deprecated [-Wdeprecated-declarations]
                1871 |     if (PyObject_AsReadBuffer(self, (const void **)&buffer, &buflen)<0) {
                     |     ^~
               In file included from /app/.heroku/python/include/python3.10/genobject.h:12,
                                from /app/.heroku/python/include/python3.10/Python.h:110,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/abstract.h:343:17: note: declared here
                 343 | PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
                     |                 ^~~~~~~~~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘datetime_arrtype_new’:
               numpy/core/src/multiarray/scalartypes.c.src:2850:30: warning: comparison of integer expressions of different signedness: ‘NPY_DATETIMEUNIT’ {aka ‘enum <anonymous>’} and ‘int’ [-Wsign-compare]
                2850 |         if (ret->obmeta.base == -1) {
                     |                              ^~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘timedelta_arrtype_new’:
               numpy/core/src/multiarray/scalartypes.c.src:2850:30: warning: comparison of integer expressions of different signedness: ‘NPY_DATETIMEUNIT’ {aka ‘enum <anonymous>’} and ‘int’ [-Wsign-compare]
                2850 |         if (ret->obmeta.base == -1) {
                     |                              ^~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3228:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3228 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                     |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     |                           |
                     |                           double
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3228:12: error: too few arguments to function ‘_Py_HashDouble’
                3228 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                     |            ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘cfloat_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3236:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3236 |     hashreal = _Py_HashDouble((double)
                     |                               ^~~~~~~~
                     |                               |
                     |                               double
                3237 |             (((PyC@name@ScalarObject *)obj)->obval).real);
                     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3236:16: error: too few arguments to function ‘_Py_HashDouble’
                3236 |     hashreal = _Py_HashDouble((double)
                     |                ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3242:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3242 |     hashimag = _Py_HashDouble((double)
                     |                               ^~~~~~~~
                     |                               |
                     |                               double
                3243 |             (((PyC@name@ScalarObject *)obj)->obval).imag);
                     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3242:16: error: too few arguments to function ‘_Py_HashDouble’
                3242 |     hashimag = _Py_HashDouble((double)
                     |                ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3228:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3228 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                     |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     |                           |
                     |                           double
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3228:12: error: too few arguments to function ‘_Py_HashDouble’
                3228 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                     |            ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘clongdouble_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3236:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3236 |     hashreal = _Py_HashDouble((double)
                     |                               ^~~~~~~~
                     |                               |
                     |                               double
                3237 |             (((PyC@name@ScalarObject *)obj)->obval).real);
                     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3236:16: error: too few arguments to function ‘_Py_HashDouble’
                3236 |     hashreal = _Py_HashDouble((double)
                     |                ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3242:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3242 |     hashimag = _Py_HashDouble((double)
                     |                               ^~~~~~~~
                     |                               |
                     |                               double
                3243 |             (((PyC@name@ScalarObject *)obj)->obval).imag);
                     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3242:16: error: too few arguments to function ‘_Py_HashDouble’
                3242 |     hashimag = _Py_HashDouble((double)
                     |                ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3258:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
                3258 |     return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
                     |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     |                           |
                     |                           double
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:3258:12: error: too few arguments to function ‘_Py_HashDouble’
                3258 |     return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
                     |            ^~~~~~~~~~~~~~
               In file included from /app/.heroku/python/include/python3.10/Python.h:77,
                                from numpy/core/src/multiarray/scalartypes.c.src:3:
               /app/.heroku/python/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3229:1: warning: control reaches end of non-void function [-Wreturn-type]
                3229 | }
                     | ^
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3229:1: warning: control reaches end of non-void function [-Wreturn-type]
                3229 | }
                     | ^
               numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:3259:1: warning: control reaches end of non-void function [-Wreturn-type]
                3259 | }
                     | ^
               error: Command "gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Inumpy/core/include -Ibuild/src.linux-x86_64-3.1/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/app/.heroku/python/include/python3.10 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/private -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -c build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.c -o build/temp.linux-x86_64-3.10/build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.o -MMD -MF build/temp.linux-x86_64-3.10/build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.o.d" failed with exit status 1
               [end of output]
         
           note: This error originates from a subprocess, and is likely not a problem with pip.
         error: legacy-install-failure
         
         × Encountered error while trying to install package.
         ╰─> numpy
         
         note: This is an issue with the package mentioned above, not pip.
         hint: See above for output from the failure.
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem with pip.
   error: subprocess-exited-with-error
   
   × pip subprocess to install build dependencies did not run successfully.
   │ exit code: 1
   ╰─> See above for output.
   
   note: This error originates from a subprocess, and is likely not a problem with pip.

! Push rejected, failed to compile Python app.
! Push failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions