Package: src:asyncpg Version: 0.29.0-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.12 setup.py config running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3 setup.py build build_ext --cython-always running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/connection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/serverversion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/cursor.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/connect_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/prepared_stmt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/cluster.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/pool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/connresource.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/introspection.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/transaction.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg copying asyncpg/_asyncio_compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/types.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/exceptions copying asyncpg/exceptions/_base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/exceptions copying asyncpg/exceptions/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/exceptions creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/_testbase copying asyncpg/_testbase/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/_testbase copying asyncpg/_testbase/fuzzer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/_testbase creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs copying asyncpg/protocol/codecs/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs running egg_info creating asyncpg.egg-info writing asyncpg.egg-info/PKG-INFO writing dependency_links to asyncpg.egg-info/dependency_links.txt writing requirements to asyncpg.egg-info/requires.txt writing top-level names to asyncpg.egg-info/top_level.txt writing manifest file 'asyncpg.egg-info/SOURCES.txt' Compiling asyncpg/pgproto/pgproto.pyx because it changed. Compiling asyncpg/protocol/protocol.pyx because it changed. [1/2] Cythonizing asyncpg/pgproto/pgproto.pyx [2/2] Cythonizing asyncpg/protocol/protocol.pyx reading manifest file 'asyncpg.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.py' under directory 'examples' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'asyncpg.egg-info/SOURCES.txt' copying asyncpg/pgproto/__init__.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/buffer.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/buffer.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/consts.pxi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/cpythonx.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/debug.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/frb.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/frb.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/hton.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/pgproto.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/pgproto.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/tohex.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/pgproto/uuid.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto copying asyncpg/protocol/consts.pxi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/coreproto.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/coreproto.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/cpythonx.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/encodings.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/pgtypes.pxi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/prepared_stmt.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/prepared_stmt.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/protocol.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/protocol.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/scram.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/scram.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/settings.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol copying asyncpg/protocol/settings.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/__init__.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/bits.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/bytea.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/context.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/datetime.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/float.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/geometry.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/hstore.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/int.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/json.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/jsonpath.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/misc.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/network.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/numeric.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/pg_snapshot.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/text.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/tid.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/pgproto/codecs/uuid.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/codecs copying asyncpg/protocol/codecs/array.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs copying asyncpg/protocol/codecs/base.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs copying asyncpg/protocol/codecs/base.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs copying asyncpg/protocol/codecs/pgproto.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs copying asyncpg/protocol/codecs/range.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs copying asyncpg/protocol/codecs/record.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs copying asyncpg/protocol/codecs/textutils.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/codecs creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/record copying asyncpg/protocol/record/__init__.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/record running build_ext building 'asyncpg.pgproto.pgproto' extension creating build creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/asyncpg creating build/temp.linux-x86_64-cpython-312/asyncpg/pgproto x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iasyncpg/pgproto -I/usr/include/python3.12 -c asyncpg/pgproto/pgproto.c -o build/temp.linux-x86_64-cpython-312/asyncpg/pgproto/pgproto.o -O2 -fsigned-char -Wall -Wsign-compare -Wconversion asyncpg/pgproto/pgproto.c: In function ‘__Pyx_PyLong_AbsNeg’: asyncpg/pgproto/pgproto.c:46886:97: warning: unsigned conversion from ‘int’ to ‘uintptr_t’ {aka ‘long unsigned int’} changes value from ‘-4’ to ‘18446744073709551612’ [-Wsign-conversion] 46886 | ((PyLongObject*)copy)->long_value.lv_tag = ((PyLongObject*)copy)->long_value.lv_tag & ~_PyLong_SIGN_MASK; | ^ asyncpg/pgproto/pgproto.c: At top level: asyncpg/pgproto/pgproto.c:30439:18: warning: ‘__pyx_f_7asyncpg_7pgproto_7pgproto_json_decode’ defined but not used [-Wunused-function] 30439 | static PyObject *__pyx_f_7asyncpg_7pgproto_7pgproto_json_decode(struct __pyx_obj_7asyncpg_7pgproto_7pgproto_CodecContext *__pyx_v_settings, struct __pyx_t_7asyncpg_7pgproto_7pgproto_FRBuffer *__pyx_v_buf) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ asyncpg/pgproto/pgproto.c:30323:18: warning: ‘__pyx_f_7asyncpg_7pgproto_7pgproto_json_encode’ defined but not used [-Wunused-function] 30323 | static PyObject *__pyx_f_7asyncpg_7pgproto_7pgproto_json_encode(struct __pyx_obj_7asyncpg_7pgproto_7pgproto_CodecContext *__pyx_v_settings, struct __pyx_obj_7asyncpg_7pgproto_7pgproto_WriteBuffer *__pyx_v_buf, PyObject *__pyx_v_obj) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-312/asyncpg/pgproto/pgproto.o -L/usr/lib/x86_64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/pgproto/pgproto.cpython-312-x86_64-linux-gnu.so building 'asyncpg.protocol.protocol' extension creating build/temp.linux-x86_64-cpython-312/asyncpg/protocol creating build/temp.linux-x86_64-cpython-312/asyncpg/protocol/record x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iasyncpg/pgproto -Iasyncpg/pgproto/ -I/usr/include/python3.12 -c asyncpg/protocol/protocol.c -o build/temp.linux-x86_64-cpython-312/asyncpg/protocol/protocol.o -O2 -fsigned-char -Wall -Wsign-compare -Wconversion asyncpg/protocol/protocol.c: In function ‘__Pyx_PyUnicode_AsDouble_WithSpaces’: asyncpg/protocol/protocol.c:4241:58: warning: conversion to ‘long unsigned int’ from ‘Py_ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion] 4241 | char *number = (char*) PyMem_Malloc((length + 1) * sizeof(char)); | ^ asyncpg/protocol/protocol.c: In function ‘__Pyx__PyBytes_AsDouble’: asyncpg/protocol/protocol.c:108581:58: warning: conversion to ‘long unsigned int’ from ‘Py_ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion] 108581 | char *number = (char*) PyMem_Malloc((digits + 1) * sizeof(char)); | ^ x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iasyncpg/pgproto -Iasyncpg/pgproto/ -I/usr/include/python3.12 -c asyncpg/protocol/record/recordobj.c -o build/temp.linux-x86_64-cpython-312/asyncpg/protocol/record/recordobj.o -O2 -fsigned-char -Wall -Wsign-compare -Wconversion asyncpg/protocol/record/recordobj.c: In function ‘record_dealloc’: asyncpg/protocol/record/recordobj.c:101:5: warning: ‘UsingDeprecatedTrashcanMacro’ is deprecated [-Wdeprecated-declarations] 101 | Py_TRASHCAN_SAFE_BEGIN(o) | ^~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-312/asyncpg/protocol/protocol.o build/temp.linux-x86_64-cpython-312/asyncpg/protocol/record/recordobj.o -L/usr/lib/x86_64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/protocol/protocol.cpython-312-x86_64-linux-gnu.so dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build; python3.12 -m pytest -k "not test_flake8" ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build configfile: pyproject.toml testpaths: tests plugins: typeguard-4.3.0 collected 306 items / 1 deselected / 305 selected tests/test__environment.py ss tests/test_adversity.py .... tests/test_cache_invalidation.py ......... tests/test_cancellation.py .... tests/test_codecs.py ...................................... tests/test_connect.py ................................................. tests/test_copy.py ........................ tests/test_cursor.py .......... tests/test_exceptions.py .F. tests/test_execute.py ................... tests/test_introspection.py ....... tests/test_listeners.py .......... tests/test_logging.py .. tests/test_pool.py ............................................. tests/test_prepare.py .................................. tests/test_record.py ......................... tests/test_test.py .. tests/test_timeout.py ......... tests/test_transaction.py ...... tests/test_types.py . tests/test_utils.py .. =================================== FAILURES =================================== ______________________ TestExceptions.test_exceptions_str ______________________ Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/tests/test_exceptions.py", line 38, in test_exceptions_str await self.con.execute(''' File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/connection.py", line 350, in execute result = await self._protocol.query(query, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "asyncpg/protocol/protocol.pyx", line 374, in query return await waiter asyncpg.exceptions.InvalidFunctionDefinitionError: return type mismatch in function declared to return boolean DETAIL: Function's final statement must be SELECT or INSERT/UPDATE/DELETE/MERGE RETURNING. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/asyncpg/_testbase/__init__.py", line 92, in wrapper self.loop.run_until_complete(coro) File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build/tests/test_exceptions.py", line 42, in test_exceptions_str self.assertEqual( File "/usr/lib/python3.12/unittest/case.py", line 885, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python3.12/unittest/case.py", line 1251, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib/python3.12/unittest/case.py", line 715, in fail raise self.failureException(msg) AssertionError: "Func[16 chars]tement must be SELECT or INSERT/UPDATE/DELETE/MERGE RETURNING." != "Func[16 chars]tement must be SELECT or INSERT/UPDATE/DELETE RETURNING." - Function's final statement must be SELECT or INSERT/UPDATE/DELETE/MERGE RETURNING. ? ------ + Function's final statement must be SELECT or INSERT/UPDATE/DELETE RETURNING. =========================== short test summary info ============================ FAILED tests/test_exceptions.py::TestExceptions::test_exceptions_str - Assert... ====== 1 failed, 302 passed, 2 skipped, 1 deselected in 66.88s (0:01:06) ======= E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_asyncpg/build; python3.12 -m pytest -k "not test_flake8" dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 returned exit code 13 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202410/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.