So,

The current head of tree currently fails correctly when it tries to build against all pythons and fails.

Unfortunately cython3 doesn't appeat to generate code (in some cases) that works with python 3.9 :


x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/srv/build/adios/adios-1.13.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_NOMPI -I/usr/lib/python3/dist-packages/numpy/core/include -I../../src/public -I/usr/include -I/usr/include -I/usr/include/hdf5/serial -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/include -I/usr/include -I/sr/include -I/usr/include -I/sr/include -I/usr/include -I/usr/include/python3.8 -c adios.cpp -o build/temp.linux-x86_64-3.8/adios.o -Wno-uninitialized -Wno-unused-function In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822,                  from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,                  from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from adios.cpp:540:
/usr/lib/python3/dist-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]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
adios.cpp:49053:3: error: cannot convert ‘PySequenceMethods*’ to ‘PyNumberMethods*’ in initialization
49053 |   &__pyx_tp_as_sequence_softdict, /*tp_as_sequence*/
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   |
      |   PySequenceMethods*
adios.cpp:49398:3: error: cannot convert ‘PyObject* (*)(PyObject*)’ {aka ‘_object* (*)(_object*)’} to ‘PyAsyncMethods*’ in initialization
49398 |   __pyx_pw_5adios_4file_19__repr__, /*tp_repr*/
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   |
      |   PyObject* (*)(PyObject*) {aka _object* (*)(_object*)}


regards

Alastair

--
Alastair McKinstry, <alast...@sceal.ie>, <mckins...@debian.org>, 
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.

Reply via email to