Source: python-transitions
Version: 0.8.9-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  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
>       install -d /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home
>       pybuild --configure -i python{version} -p "3.10 3.9"
> I: pybuild base:237: python3.10 setup.py config 
> running config
> I: pybuild base:237: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
>       pybuild --build -i python{version} -p "3.10 3.9"
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions
> copying transitions/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions
> copying transitions/core.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions
> copying transitions/version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/nesting_legacy.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/locking.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/nesting.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/markup.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/asyncio.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/states.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/factory.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams_graphviz.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams_pygraphviz.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build/transitions/extensions
> running egg_info
> writing transitions.egg-info/PKG-INFO
> writing dependency_links to transitions.egg-info/dependency_links.txt
> writing requirements to transitions.egg-info/requires.txt
> writing top-level names to transitions.egg-info/top_level.txt
> reading manifest file 'transitions.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'MANIFEST'
> warning: no previously-included files matching '*.ipynb' found under 
> directory 'examples/.ipynb_checkpoints'
> adding license file 'LICENSE'
> writing manifest file 'transitions.egg-info/SOURCES.txt'
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions
> copying transitions/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions
> copying transitions/core.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions
> copying transitions/version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/nesting_legacy.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/locking.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/nesting.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/markup.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/asyncio.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/states.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/factory.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams_graphviz.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams_pygraphviz.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build/transitions/extensions
> running egg_info
> writing transitions.egg-info/PKG-INFO
> writing dependency_links to transitions.egg-info/dependency_links.txt
> writing requirements to transitions.egg-info/requires.txt
> writing top-level names to transitions.egg-info/top_level.txt
> reading manifest file 'transitions.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'MANIFEST'
> warning: no previously-included files matching '*.ipynb' found under 
> directory 'examples/.ipynb_checkpoints'
> adding license file 'LICENSE'
> writing manifest file 'transitions.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
>       pybuild --test --test-pytest -i python{version} -p "3.10 3.9"
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build; python3.10 -m 
> pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collected 2445 items
> 
> tests/test_add_remove.py ...                                             [  
> 0%]
> tests/test_async.py ..................................F
> 
> =================================== FAILURES 
> ===================================
> ________________________ TestAsync.test_multiple_models 
> ________________________
> 
> self = <tests.test_async.TestAsync testMethod=test_multiple_models>
> 
>     def test_multiple_models(self):
>         loop = asyncio.new_event_loop()
>         asyncio.set_event_loop(loop)
>     
>         m1 = self.machine_cls(states=['A', 'B', 'C'], initial='A', name="m1")
>         m2 = self.machine_cls(states=['A'], initial='A', name='m2')
>         m1.add_transition(trigger='go', source='A', dest='B', 
> before=self.cancel_soon)
>         m1.add_transition(trigger='fix', source='A', dest='C', 
> after=self.cancel_soon)
>         m1.add_transition(trigger='check', source='C', dest='B', 
> conditions=self.await_false)
>         m1.add_transition(trigger='reset', source='C', dest='A')
>         m2.add_transition(trigger='go', source='A', dest=None, 
> conditions=m1.is_C, after=m1.reset)
>     
> >       loop.run_until_complete(asyncio.gather(m1.go(),  # should block 
> > before B
>                                                self.call_delayed(m1.fix, 
> 0.05),  # should cancel task and go to C
>                                                self.call_delayed(m1.check, 
> 0.07),  # should exit before m1.fix
>                                                self.call_delayed(m2.go, 
> 0.1)))  # should cancel m1.fix
> 
> tests/test_async.py:144: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.10/asyncio/tasks.py:776: in gather
>     fut = _ensure_future(arg, loop=loop)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> coro_or_future = <coroutine object AsyncEvent.trigger at 0x7f8498ebb610>
> 
>     def _ensure_future(coro_or_future, *, loop=None):
>         if futures.isfuture(coro_or_future):
>             if loop is not None and loop is not 
> futures._get_loop(coro_or_future):
>                 raise ValueError('The future belongs to a different loop than 
> '
>                                 'the one specified as the loop argument')
>             return coro_or_future
>     
>         if not coroutines.iscoroutine(coro_or_future):
>             if inspect.isawaitable(coro_or_future):
>                 coro_or_future = _wrap_awaitable(coro_or_future)
>             else:
>                 raise TypeError('An asyncio.Future, a coroutine or an 
> awaitable '
>                                 'is required')
>     
>         if loop is None:
> >           loop = events._get_event_loop(stacklevel=4)
> E           DeprecationWarning: There is no current event loop
> 
> /usr/lib/python3.10/asyncio/tasks.py:633: DeprecationWarning
> =========================== short test summary info 
> ============================
> FAILED tests/test_async.py::TestAsync::test_multiple_models - 
> DeprecationWarn...
> !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!
> ========================= 1 failed, 37 passed in 1.92s 
> =========================
> sys:1: RuntimeWarning: coroutine 'AsyncEvent.trigger' was never awaited
> RuntimeWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: RuntimeWarning: coroutine 'TestAsync.call_delayed' was never awaited
> RuntimeWarning: Enable tracemalloc to get the object allocation traceback
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_transitions/build; python3.10 -m 
> pytest tests
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_transitions/build; python3.9 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collected 2445 items
> 
> tests/test_add_remove.py ...                                             [  
> 0%]
> tests/test_async.py .................................................... [  
> 2%]
> ........................................................................ [  
> 5%]
> ........................................................................ [  
> 8%]
> ........................................................................ [ 
> 11%]
> ........................................................................ [ 
> 14%]
> .................                                                        [ 
> 14%]
> tests/test_codestyle.py .                                                [ 
> 14%]
> tests/test_core.py ..................................................... [ 
> 16%]
> .........                                                                [ 
> 17%]
> tests/test_enum.py ..................................................... [ 
> 19%]
> .........                                                                [ 
> 19%]
> tests/test_factory.py .                                                  [ 
> 19%]
> tests/test_graphviz.py ................................................. [ 
> 21%]
> ............ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 24%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 27%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 30%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 33%]
> ssssssssssssssssssssss                                                   [ 
> 34%]
> tests/test_markup.py ....................                                [ 
> 35%]
> tests/test_nesting.py .................................................. [ 
> 37%]
> ........................................................................ [ 
> 40%]
> .......................s....s....s....s.                                 [ 
> 42%]
> tests/test_nesting_legacy.py ........................................... [ 
> 43%]
> ..............................................................s......... [ 
> 46%]
> ........................................................................ [ 
> 49%]
> .....................................................                    [ 
> 51%]
> tests/test_parallel.py ................................................. [ 
> 53%]
> ........................................................................ [ 
> 56%]
> ........................................................................ [ 
> 59%]
> ......................................................................ss [ 
> 62%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 65%]
> sssssssssssssssss                                                        [ 
> 66%]
> tests/test_pygraphviz.py sssssssssssssssssssssssssssssssssssssssssssssss [ 
> 68%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 71%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 74%]
> ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 77%]
> sssssssssssssssssssssssssssssssssss                                      [ 
> 78%]
> tests/test_reuse.py .........                                            [ 
> 78%]
> tests/test_states.py sssssssssssssssssssssssssssssssssssssssssssssssssss [ 
> 80%]
> sssssssssssssssssssssssss.......ssssssssssssssssssssssssssssssssssssssss [ 
> 83%]
> ssssssssssssssssssssssssssssssssssss                                     [ 
> 85%]
> tests/test_threading.py ................................................ [ 
> 87%]
> ........................................................................ [ 
> 90%]
> ........................................................................ [ 
> 93%]
> ........................................................................ [ 
> 96%]
> ........................................................................ [ 
> 99%]
> ......................                                                   
> [100%]
> 
> ====================== 1601 passed, 844 skipped in 24.94s 
> ======================
>       rm -fr -- /tmp/dh-xdg-rundir-EaYYc3c4
> 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/2021/12/20/python-transitions_0.8.9-1_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.

Reply via email to