Source: python-falcon
Version: 3.1.0-3
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-falcon.html

...
____________________ ERROR collecting tests/asgi/test_ws.py ____________________
ImportError while importing test module 
'/build/1st/python-falcon-3.1.0/tests/asgi/test_ws.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/asgi/test_ws.py:11: in <module>
    from falcon.asgi import App
falcon/asgi/__init__.py:35: in <module>
    from .app import App
falcon/asgi/app.py:46: in <module>
    from .response import Response
falcon/asgi/response.py:17: in <module>
    from asyncio.coroutines import CoroWrapper  # type: ignore
E   ImportError: cannot import name 'CoroWrapper' from 'asyncio.coroutines' 
(/usr/lib/python3.11/asyncio/coroutines.py)
=============================== warnings summary ===============================
falcon/media/multipart.py:17
  /build/1st/python-falcon-3.1.0/falcon/media/multipart.py:17: 
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/asgi/test_asgi_conductor.py
ERROR tests/asgi/test_asgi_helpers.py
ERROR tests/asgi/test_asgi_servers.py
ERROR tests/asgi/test_boundedstream_asgi.py
ERROR tests/asgi/test_buffered_reader.py
ERROR tests/asgi/test_example_asgi.py
ERROR tests/asgi/test_hello_asgi.py
ERROR tests/asgi/test_lifespan_handlers.py
ERROR tests/asgi/test_request_body_asgi.py
ERROR tests/asgi/test_request_context_asgi.py
ERROR tests/asgi/test_response_media_asgi.py
ERROR tests/asgi/test_scheduled_callbacks.py
ERROR tests/asgi/test_scope.py
ERROR tests/asgi/test_sse.py
ERROR tests/asgi/test_sync.py
ERROR tests/asgi/test_testing_asgi.py
ERROR tests/asgi/test_ws.py
!!!!!!!!!!!!!!!!!!! Interrupted: 17 errors during collection !!!!!!!!!!!!!!!!!!!
======================== 1 warning, 17 errors in 16.98s ========================
make[1]: *** [debian/rules:25: override_dh_auto_install] Error 2

Reply via email to