Package: src:python-a2wsgi Version: 1.10.8-1 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild 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 dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_a2wsgi * Building wheel... - Adding .pdm-build/a2wsgi-1.10.8.dist-info/METADATA -> a2wsgi-1.10.8.dist-info/METADATA - Adding .pdm-build/a2wsgi-1.10.8.dist-info/WHEEL -> a2wsgi-1.10.8.dist-info/WHEEL - Adding .pdm-build/a2wsgi-1.10.8.dist-info/entry_points.txt -> a2wsgi-1.10.8.dist-info/entry_points.txt - Adding .pdm-build/a2wsgi-1.10.8.dist-info/licenses/LICENSE -> a2wsgi-1.10.8.dist-info/licenses/LICENSE - Adding a2wsgi/__init__.py -> a2wsgi/__init__.py - Adding a2wsgi/asgi.py -> a2wsgi/asgi.py - Adding a2wsgi/asgi_typing.py -> a2wsgi/asgi_typing.py - Adding a2wsgi/py.typed -> a2wsgi/py.typed - Adding a2wsgi/wsgi.py -> a2wsgi/wsgi.py - Adding a2wsgi/wsgi_typing.py -> a2wsgi/wsgi_typing.py - Adding a2wsgi-1.10.8.dist-info/RECORD -> a2wsgi-1.10.8.dist-info/RECORD Successfully built a2wsgi-1.10.8-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_a2wsgi/build; python3.13 -m pytest -k 'not test_baize_stream_response' /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_a2wsgi/build configfile: pyproject.toml plugins: asyncio-0.25.1, anyio-4.8.0, typeguard-4.4.2 asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None collected 18 items / 1 deselected / 17 selected tests/test_asgi.py .......... [ 58%] tests/test_wsgi.py ..F.... [100%] =================================== FAILURES =================================== ________________________________ test_wsgi_post ________________________________ @pytest.mark.asyncio async def test_wsgi_post(): app = WSGIMiddleware(echo_body) async with httpx.AsyncClient( transport=httpx.ASGITransport(app=app), base_url="http://testserver" ) as client: response = await client.post("/", json={"example": 123}) assert response.status_code == 200 > assert response.text == '{"example": 123}' E assert '{"example":123}' == '{"example": 123}' E E - {"example": 123} E ? - E + {"example":123} tests/test_wsgi.py:115: AssertionError =========================== short test summary info ============================ FAILED tests/test_wsgi.py::test_wsgi_post - assert '{"example":123}' == '{"ex... ================== 1 failed, 16 passed, 1 deselected in 2.13s ================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_a2wsgi/build; python3.13 -m pytest -k 'not test_baize_stream_response' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:10: 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/202503/ 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 add an affects on src:python-a2wsgi, so that this is still visible in the BTS web page for this package. Thanks.