Package: src:python-tenacity Version: 9.1.2-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ 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 cannot 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-tenacity, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3,sphinxdoc --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,sphinxdoc --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:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tenacity * Building wheel... /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. [... snipped ...] kw = {} @wraps(callable_) def wrapper(*a, **kw): > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_asyncio.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError _____________ TestContextManager.test_retry_with_async_result_and ______________ a = (<tests.test_asyncio.TestContextManager testMethod=test_retry_with_async_result_and>,) kw = {} @wraps(callable_) def wrapper(*a, **kw): > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_asyncio.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError ______________ TestContextManager.test_retry_with_async_result_or ______________ a = (<tests.test_asyncio.TestContextManager testMethod=test_retry_with_async_result_or>,) kw = {} @wraps(callable_) def wrapper(*a, **kw): > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_asyncio.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError _____________ TestContextManager.test_retry_with_async_result_rand _____________ a = (<tests.test_asyncio.TestContextManager testMethod=test_retry_with_async_result_rand>,) kw = {} @wraps(callable_) def wrapper(*a, **kw): > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_asyncio.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError _____________ TestContextManager.test_retry_with_async_result_ror ______________ a = (<tests.test_asyncio.TestContextManager testMethod=test_retry_with_async_result_ror>,) kw = {} @wraps(callable_) def wrapper(*a, **kw): > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_asyncio.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError __________________ TestContextManager.test_retry_with_result ___________________ a = (<tests.test_asyncio.TestContextManager testMethod=test_retry_with_result>,) kw = {} @wraps(callable_) def wrapper(*a, **kw): > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_asyncio.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError ________________________ TestContextManager.test_sleeps ________________________ a = (<tests.test_asyncio.TestContextManager testMethod=test_sleeps>,), kw = {} @wraps(callable_) def wrapper(*a, **kw): > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_asyncio.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError _____________ TestDecoratorWrapper.test_retry_function_attributes ______________ a = (<tests.test_asyncio.TestDecoratorWrapper testMethod=test_retry_function_attributes>,) kw = {} @wraps(callable_) def wrapper(*a, **kw): > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_asyncio.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError ___________________________ TestIssue478.test_async ____________________________ a = (<tests.test_issue_478.TestIssue478 testMethod=test_async>,), kw = {} @wraps(callable_) def wrapper(*a: typing.Any, **kw: typing.Any) -> typing.Any: > loop = asyncio.get_event_loop() ^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_issue_478.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7f49ebdbef90> def get_event_loop(self): """Get the event loop for the current context. Returns an instance of EventLoop or raises an exception. """ if self._local._loop is None: > raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) E RuntimeError: There is no current event loop in thread 'MainThread'. /usr/lib/python3.14/asyncio/events.py:715: RuntimeError =========================== short test summary info ============================ FAILED tests/test_asyncio.py::TestAsyncio::test_attempt_number_is_correct_for_interleaved_coroutines FAILED tests/test_asyncio.py::TestAsyncio::test_iscoroutinefunction - Runtime... FAILED tests/test_asyncio.py::TestAsyncio::test_retry - RuntimeError: There i... FAILED tests/test_asyncio.py::TestAsyncio::test_retry_using_async_retying - R... FAILED tests/test_asyncio.py::TestAsyncio::test_stop_after_attempt - RuntimeE... FAILED tests/test_asyncio.py::TestContextManager::test_async_retying_iterator FAILED tests/test_asyncio.py::TestContextManager::test_do_max_attempts - Runt... FAILED tests/test_asyncio.py::TestContextManager::test_reraise - RuntimeError... FAILED tests/test_asyncio.py::TestContextManager::test_retry_with_async_exc FAILED tests/test_asyncio.py::TestContextManager::test_retry_with_async_result FAILED tests/test_asyncio.py::TestContextManager::test_retry_with_async_result_and FAILED tests/test_asyncio.py::TestContextManager::test_retry_with_async_result_or FAILED tests/test_asyncio.py::TestContextManager::test_retry_with_async_result_rand FAILED tests/test_asyncio.py::TestContextManager::test_retry_with_async_result_ror FAILED tests/test_asyncio.py::TestContextManager::test_retry_with_result - Ru... FAILED tests/test_asyncio.py::TestContextManager::test_sleeps - RuntimeError:... FAILED tests/test_asyncio.py::TestDecoratorWrapper::test_retry_function_attributes FAILED tests/test_issue_478.py::TestIssue478::test_async - RuntimeError: Ther... ======================== 18 failed, 106 passed in 2.16s ======================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tenacity/build; python3.14 -m pytest tests I: pybuild pybuild:308: cp -r tests '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_tenacity/build/tenacity' I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_tenacity/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> configfile: setup.cfg plugins: typeguard-4.4.4 collected 124 items tests/test_after.py .. [ 1%] tests/test_asyncio.py ..................... [ 18%] tests/test_issue_478.py .. [ 20%] tests/test_tenacity.py ................................................. [ 59%] ............................................. [ 95%] tests/test_tornado.py .... [ 99%] tests/test_utils.py . [100%] =============================== warnings summary =============================== .pybuild/cpython3_3.13_tenacity/build/tests/test_asyncio.py::TestAsyncio::test_attempt_number_is_correct_for_interleaved_coroutines /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_tenacity/build/tests/test_asyncio.py:43: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 124 passed, 1 warning in 2.04s ======================== I: pybuild pybuild:334: rm -r '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_tenacity/build/tenacity/tests' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

