Bug#1059645: pygobject: autopkgtest failure with Python 3.12

Graham Inggs ginggs at debian.org
Fri Dec 29 19:04:34 GMT 2023


Source: pygobject
Version: 3.46.0-1
Severity: serious
User: debian-python at lists.debian.org
Usertags: python3.12

Hi Maintainer

pygobject's autopkgtests fail with Python 3.12 [1].  I've copied what
I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/p/pygobject/testing/amd64/


40s autopkgtest [20:09:17]: test build: - - - - - - - - - - results -
- - - - - - - - -
40s build FAIL stderr: pytest.c: In function ‘main’:
40s autopkgtest [20:09:17]: test build: - - - - - - - - - - stderr - -
- - - - - - - -
40s pytest.c: In function ‘main’:
40s pytest.c:9:5: warning: ‘Py_UnbufferedStdioFlag’ is deprecated
[-Wdeprecated-declarations]
40s 9 | Py_UnbufferedStdioFlag = 1;
40s | ^~~~~~~~~~~~~~~~~~~~~~
40s In file included from /usr/include/python3.12/Python.h:48,
40s from pytest.c:1:
40s /usr/include/python3.12/cpython/pydebug.h:20:37: note: declared here
40s 20 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_UnbufferedStdioFlag;
40s | ^~~~~~~~~~~~~~~~~~~~~~
40s pytest.c: In function ‘main’:
40s pytest.c:9:5: warning: ‘Py_UnbufferedStdioFlag’ is deprecated
[-Wdeprecated-declarations]
40s 9 | Py_UnbufferedStdioFlag = 1;
40s | ^~~~~~~~~~~~~~~~~~~~~~
40s In file included from /usr/include/python3.12d/Python.h:48,
40s from pytest.c:1:
40s /usr/include/python3.12d/cpython/pydebug.h:20:37: note: declared here
40s 20 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_UnbufferedStdioFlag;
40s | ^~~~~~~~~~~~~~~~~~~~~~



More information about the pkg-gnome-maintainers mailing list