Bug#972033: pandas ftbfs with python3.9 as supported python version

Matthias Klose doko at debian.org
Sun Oct 11 17:27:35 BST 2020


Package: src:pandas
Version: 1.1.1+dfsg-3
Severity: important
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.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=/packages/tmp/pandas-1.1.1+dfsg=
. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DNPY_NO_DEPRECA
TED_API=0 -I/usr/lib/python3/dist-packages/numpy/core/include
-I/usr/include/python3.9 -c pandas/_libs/writers.c -
o build/temp.linux-x86_64-3.9/pandas/_libs/writers.o -Werror
pandas/_libs/writers.c: In function ‘__pyx_f_6pandas_5_libs_7writers_word_len’:
pandas/_libs/writers.c:4942:5: error: ‘_PyUnicode_get_wstr_length’ is deprecated
[-Werror=deprecated-declarations]
 4942 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
      |     ^~~~~~~~~
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:97,
                 from pandas/_libs/writers.c:33:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/writers.c:4942:5: error: ‘PyUnicode_AsUnicode’ is deprecated
[-Werror=deprecated-declarations]
 4942 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
      |     ^~~~~~~~~
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:97,
                 from pandas/_libs/writers.c:33:
/usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
pandas/_libs/writers.c:4942:5: error: ‘_PyUnicode_get_wstr_length’ is deprecated
[-Werror=deprecated-declarations]
 4942 |     __pyx_v_l = PyUnicode_GET_SIZE(__pyx_v_val);
      |     ^~~~~~~~~
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:97,
                 from pandas/_libs/writers.c:33:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1



More information about the debian-science-maintainers mailing list