Source: python-duckpy Version: 3.2.0-3 Severity: serious Tags: sid trixie User: debian-pyt...@lists.debian.org Usertags: python3.12
Hi Maintainer python-duckpy'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/python-duckpy/testing/amd64/ 29s =================================== FAILURES =================================== 29s _____________________________ test_asyncio_results _____________________________ 29s 29s def test_asyncio_results(): 29s loop = asyncio.get_event_loop() 29s > loop.run_until_complete(get_asyncio_results()) 29s 29s test_duckpy_basic.py:34: 29s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 29s /usr/lib/python3.11/asyncio/base_events.py:653: in run_until_complete 29s return future.result() 29s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 29s 29s async def get_asyncio_results(): 29s client = AsyncClient() 29s results = await client.search("Debian") 29s 29s # Assert first result title is not empty 29s > assert results[0]['title'] != "" 29s E IndexError: list index out of range 29s 29s test_duckpy_basic.py:23: IndexError 29s =========================== short test summary info ============================ 29s FAILED test_duckpy_basic.py::test_asyncio_results - IndexError: list index ou...