Source: python-uvicorn
Version: 0.15.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220326 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> http_proxy= https_proxy= dh_auto_test
> I: pybuild pybuild:298: cp -r /<<PKGBUILDDIR>>/tests
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build;
> python3.10 -m pytest -s --verbose -k 'not test_run and not
> test_invalid_upgrade and not test_default_headers and not test_trace_logging
> and not test_websocket_auto' --ignore=tests/protocols/test_websocket.py
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line
> 265, in wrap_session
> INTERNALERROR> config._do_configure()
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 982, in
> _do_configure
> INTERNALERROR>
> self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line
> 277, in call_historic
> INTERNALERROR> res = self._hookexec(self.name, self.get_hookimpls(),
> kwargs, False)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py",
> line 80, in _hookexec
> INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
> firstresult)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py",
> line 60, in _multicall
> INTERNALERROR> return outcome.get_result()
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py",
> line 60, in get_result
> INTERNALERROR> raise ex[1].with_traceback(ex[2])
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py",
> line 39, in _multicall
> INTERNALERROR> res = hook_impl.function(*args)
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py", line 191, in
> pytest_configure
> INTERNALERROR> config.issue_config_time_warning(LEGACY_MODE, stacklevel=2)
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1321, in
> issue_config_time_warning
> INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel)
> INTERNALERROR> DeprecationWarning: The 'asyncio_mode' default value will
> change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or
> 'asyncio_mode=auto' in pytest configuration file.
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=3: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest -s
> --verbose -k 'not test_run and not test_invalid_upgrade and not
> test_default_headers and not test_trace_logging and not test_websocket_auto'
> --ignore=tests/protocols/test_websocket.py
> I: pybuild pybuild:298: cp -r /<<PKGBUILDDIR>>/tests
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build;
> python3.9 -m pytest -s --verbose -k 'not test_run and not
> test_invalid_upgrade and not test_default_headers and not test_trace_logging
> and not test_websocket_auto' --ignore=tests/protocols/test_websocket.py
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line
> 265, in wrap_session
> INTERNALERROR> config._do_configure()
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 982, in
> _do_configure
> INTERNALERROR>
> self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line
> 277, in call_historic
> INTERNALERROR> res = self._hookexec(self.name, self.get_hookimpls(),
> kwargs, False)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py",
> line 80, in _hookexec
> INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
> firstresult)
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py",
> line 60, in _multicall
> INTERNALERROR> return outcome.get_result()
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_result.py",
> line 60, in get_result
> INTERNALERROR> raise ex[1].with_traceback(ex[2])
> INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py",
> line 39, in _multicall
> INTERNALERROR> res = hook_impl.function(*args)
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/pytest_asyncio/plugin.py", line 191, in
> pytest_configure
> INTERNALERROR> config.issue_config_time_warning(LEGACY_MODE, stacklevel=2)
> INTERNALERROR> File
> "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1321, in
> issue_config_time_warning
> INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel)
> INTERNALERROR> DeprecationWarning: The 'asyncio_mode' default value will
> change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or
> 'asyncio_mode=auto' in pytest configuration file.
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=3: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest -s
> --verbose -k 'not test_run and not test_invalid_upgrade and not
> test_default_headers and not test_trace_logging and not test_websocket_auto'
> --ignore=tests/protocols/test_websocket.py
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10
> 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/03/26/python-uvicorn_0.15.0-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.