Source: caio
Version: 0.12.3-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-arm@lists.debian.org, debian-loongarch@lists.debian.org, debian-powerpc@lists.debian.org, debian-s390@lists.debian.org, sramacher@debian.org
User: debian-s390@lists.debian.org
Usertags: s390x
User: debian-loongarch@lists.debian.org
Usertags: loong64
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
User: debian-arm@lists.debian.org
Usertags: armhf
User: debian-qa@lists.debian.org
Usertags: i386
Dear maintainer,
caio FTBFS on armhf, i386, loong64, ppc64el and s390x with various test
failures:
=================================== FAILURES ===================================
______ test_write_operation_properties_before_submission[caio.thread_aio] ______
backend = <module 'caio.thread_aio' from '/build/reproducible-path/caio-0.12.3/.pybuild/cpython3_3.14_caio/build/caio/thread_aio.cpython-314-i386-linux-gnu.so'>
def test_write_operation_properties_before_submission(backend):
""".fileno/.offset/.nbytes/.payload for a freshly constructed write
Operation must reflect the constructor arguments identically across
every backend, even before it's ever submitted - unlike read (see
below), nothing here depends on backend-specific buffer allocation
strategy."""
with tempfile.NamedTemporaryFile() as f:
fd = f.fileno()
payload = b"the quick brown fox"
op = backend.Operation.write(payload, fd, 7)
assert op.fileno == fd
assert op.offset == 7
tests/test_aio_context.py:48: AssertionError
tests/test_aio_context.py:64: AssertionError
tests/test_raw_low_level.py:294: AssertionError
tests/test_raw_low_level.py:294: AssertionError
tests/test_raw_low_level.py:294: AssertionError
=============================== warnings summary ===============================
tests/test_asyncio_adapter.py:35: 13 warnings
/build/reproducible-path/caio-0.12.3/.pybuild/cpython3_3.14_caio/build/tests/test_asyncio_adapter.py:35: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
if not asyncio.iscoroutinefunction(func):