--- Begin Message ---
Source: python-watchgod
Version: 0.8.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 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
> I: pybuild base:240: python3.11 setup.py config
> running config
> I: pybuild base:240: python3.10 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build/watchgod
> copying watchgod/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build/watchgod
> copying watchgod/cli.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build/watchgod
> copying watchgod/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build/watchgod
> copying watchgod/watcher.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build/watchgod
> copying watchgod/main.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build/watchgod
> copying watchgod/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build/watchgod
> copying watchgod/py.typed ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build/watchgod
> I: pybuild base:240: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build/watchgod
> copying watchgod/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build/watchgod
> copying watchgod/cli.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build/watchgod
> copying watchgod/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build/watchgod
> copying watchgod/watcher.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build/watchgod
> copying watchgod/main.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build/watchgod
> copying watchgod/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build/watchgod
> copying watchgod/py.typed ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build/watchgod
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build; python3.11 -m pytest
> tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: anyio-3.6.2, mock-3.8.2, toolbox-0.4, asyncio-0.20.3, sugar-0.9.6
> asyncio: mode=Mode.STRICT
> collected 162 items
>
> tests/test_cli.py ...................................................... [
> 33%]
> ............... [
> 42%]
> tests/test_run_process.py ..............F [
> 51%]
> tests/test_watch.py .................................................... [
> 83%]
> ...................F..F..F
> [100%]
>
> =================================== FAILURES
> ===================================
> ______________________ test_async_alive_terminates[trio]
> _______________________
>
> asynclib_name = 'trio'
>
> def get_asynclib(asynclib_name: Optional[str] = None) -> Any:
> if asynclib_name is None:
> asynclib_name = sniffio.current_async_library()
>
> modulename = "anyio._backends._" + asynclib_name
> try:
> > return sys.modules[modulename]
> E KeyError: 'anyio._backends._trio'
>
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:153: KeyError
>
> During handling of the above exception, another exception occurred:
>
> pyfuncitem = <Function test_async_alive_terminates[trio]>
>
> @pytest.hookimpl(tryfirst=True)
> def pytest_pyfunc_call(pyfuncitem: Any) -> Optional[bool]:
> def run_with_hypothesis(**kwargs: Any) -> None:
> with get_runner(backend_name, backend_options) as runner:
> runner.run_test(original_func, kwargs)
>
> backend = pyfuncitem.funcargs.get("anyio_backend")
> if backend:
> backend_name, backend_options =
> extract_backend_and_options(backend)
>
> if hasattr(pyfuncitem.obj, "hypothesis"):
> # Wrap the inner test function unless it's already wrapped
> original_func = pyfuncitem.obj.hypothesis.inner_test
> if original_func.__qualname__ !=
> run_with_hypothesis.__qualname__:
> if iscoroutinefunction(original_func):
> pyfuncitem.obj.hypothesis.inner_test =
> run_with_hypothesis
>
> return None
>
> if iscoroutinefunction(pyfuncitem.obj):
> funcargs = pyfuncitem.funcargs
> testargs = {arg: funcargs[arg] for arg in
> pyfuncitem._fixtureinfo.argnames}
> > with get_runner(backend_name, backend_options) as runner:
>
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:118:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3.11/contextlib.py:137: in __enter__
> return next(self.gen)
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:37: in get_runner
> asynclib = get_asynclib(backend_name)
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:155: in get_asynclib
> return import_module(modulename)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> /usr/lib/python3/dist-packages/anyio/_backends/_trio.py:164: in <module>
> class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
> /usr/lib/python3/dist-packages/trio/_deprecate.py:120: in __getattr__
> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> thing = 'trio.MultiError', version = '0.22.0'
>
> def warn_deprecated(thing, version, *, issue, instead, stacklevel=2):
> stacklevel += 1
> msg = "{} is deprecated since Trio {}".format(_stringify(thing),
> version)
> if instead is None:
> msg += " with no replacement"
> else:
> msg += "; use {} instead".format(_stringify(instead))
> if issue is not None:
> msg += " ({})".format(_url_for_issue(issue))
> > warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)
> E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio
> 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or
> exceptiongroup.BaseExceptionGroup (earlier versions) instead
> (https://github.com/python-trio/trio/issues/2211)
>
> /usr/lib/python3/dist-packages/trio/_deprecate.py:51: TrioDeprecationWarning
> ______________________________ test_awatch[trio]
> _______________________________
>
> asynclib_name = 'trio'
>
> def get_asynclib(asynclib_name: Optional[str] = None) -> Any:
> if asynclib_name is None:
> asynclib_name = sniffio.current_async_library()
>
> modulename = "anyio._backends._" + asynclib_name
> try:
> > return sys.modules[modulename]
> E KeyError: 'anyio._backends._trio'
>
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:153: KeyError
>
> During handling of the above exception, another exception occurred:
>
> pyfuncitem = <Function test_awatch[trio]>
>
> @pytest.hookimpl(tryfirst=True)
> def pytest_pyfunc_call(pyfuncitem: Any) -> Optional[bool]:
> def run_with_hypothesis(**kwargs: Any) -> None:
> with get_runner(backend_name, backend_options) as runner:
> runner.run_test(original_func, kwargs)
>
> backend = pyfuncitem.funcargs.get("anyio_backend")
> if backend:
> backend_name, backend_options =
> extract_backend_and_options(backend)
>
> if hasattr(pyfuncitem.obj, "hypothesis"):
> # Wrap the inner test function unless it's already wrapped
> original_func = pyfuncitem.obj.hypothesis.inner_test
> if original_func.__qualname__ !=
> run_with_hypothesis.__qualname__:
> if iscoroutinefunction(original_func):
> pyfuncitem.obj.hypothesis.inner_test =
> run_with_hypothesis
>
> return None
>
> if iscoroutinefunction(pyfuncitem.obj):
> funcargs = pyfuncitem.funcargs
> testargs = {arg: funcargs[arg] for arg in
> pyfuncitem._fixtureinfo.argnames}
> > with get_runner(backend_name, backend_options) as runner:
>
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:118:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3.11/contextlib.py:137: in __enter__
> return next(self.gen)
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:37: in get_runner
> asynclib = get_asynclib(backend_name)
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:155: in get_asynclib
> return import_module(modulename)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> /usr/lib/python3/dist-packages/anyio/_backends/_trio.py:164: in <module>
> class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
> /usr/lib/python3/dist-packages/trio/_deprecate.py:120: in __getattr__
> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> thing = 'trio.MultiError', version = '0.22.0'
>
> def warn_deprecated(thing, version, *, issue, instead, stacklevel=2):
> stacklevel += 1
> msg = "{} is deprecated since Trio {}".format(_stringify(thing),
> version)
> if instead is None:
> msg += " with no replacement"
> else:
> msg += "; use {} instead".format(_stringify(instead))
> if issue is not None:
> msg += " ({})".format(_url_for_issue(issue))
> > warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)
> E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio
> 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or
> exceptiongroup.BaseExceptionGroup (earlier versions) instead
> (https://github.com/python-trio/trio/issues/2211)
>
> /usr/lib/python3/dist-packages/trio/_deprecate.py:51: TrioDeprecationWarning
> ____________________________ test_awatch_stop[trio]
> ____________________________
>
> asynclib_name = 'trio'
>
> def get_asynclib(asynclib_name: Optional[str] = None) -> Any:
> if asynclib_name is None:
> asynclib_name = sniffio.current_async_library()
>
> modulename = "anyio._backends._" + asynclib_name
> try:
> > return sys.modules[modulename]
> E KeyError: 'anyio._backends._trio'
>
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:153: KeyError
>
> During handling of the above exception, another exception occurred:
>
> pyfuncitem = <Function test_awatch_stop[trio]>
>
> @pytest.hookimpl(tryfirst=True)
> def pytest_pyfunc_call(pyfuncitem: Any) -> Optional[bool]:
> def run_with_hypothesis(**kwargs: Any) -> None:
> with get_runner(backend_name, backend_options) as runner:
> runner.run_test(original_func, kwargs)
>
> backend = pyfuncitem.funcargs.get("anyio_backend")
> if backend:
> backend_name, backend_options =
> extract_backend_and_options(backend)
>
> if hasattr(pyfuncitem.obj, "hypothesis"):
> # Wrap the inner test function unless it's already wrapped
> original_func = pyfuncitem.obj.hypothesis.inner_test
> if original_func.__qualname__ !=
> run_with_hypothesis.__qualname__:
> if iscoroutinefunction(original_func):
> pyfuncitem.obj.hypothesis.inner_test =
> run_with_hypothesis
>
> return None
>
> if iscoroutinefunction(pyfuncitem.obj):
> funcargs = pyfuncitem.funcargs
> testargs = {arg: funcargs[arg] for arg in
> pyfuncitem._fixtureinfo.argnames}
> > with get_runner(backend_name, backend_options) as runner:
>
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:118:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3.11/contextlib.py:137: in __enter__
> return next(self.gen)
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:37: in get_runner
> asynclib = get_asynclib(backend_name)
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:155: in get_asynclib
> return import_module(modulename)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> /usr/lib/python3/dist-packages/anyio/_backends/_trio.py:164: in <module>
> class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
> /usr/lib/python3/dist-packages/trio/_deprecate.py:120: in __getattr__
> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> thing = 'trio.MultiError', version = '0.22.0'
>
> def warn_deprecated(thing, version, *, issue, instead, stacklevel=2):
> stacklevel += 1
> msg = "{} is deprecated since Trio {}".format(_stringify(thing),
> version)
> if instead is None:
> msg += " with no replacement"
> else:
> msg += "; use {} instead".format(_stringify(instead))
> if issue is not None:
> msg += " ({})".format(_url_for_issue(issue))
> > warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)
> E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio
> 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or
> exceptiongroup.BaseExceptionGroup (earlier versions) instead
> (https://github.com/python-trio/trio/issues/2211)
>
> /usr/lib/python3/dist-packages/trio/_deprecate.py:51: TrioDeprecationWarning
> ____________________________ test_awatch_log[trio]
> _____________________________
>
> asynclib_name = 'trio'
>
> def get_asynclib(asynclib_name: Optional[str] = None) -> Any:
> if asynclib_name is None:
> asynclib_name = sniffio.current_async_library()
>
> modulename = "anyio._backends._" + asynclib_name
> try:
> > return sys.modules[modulename]
> E KeyError: 'anyio._backends._trio'
>
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:153: KeyError
>
> During handling of the above exception, another exception occurred:
>
> pyfuncitem = <Function test_awatch_log[trio]>
>
> @pytest.hookimpl(tryfirst=True)
> def pytest_pyfunc_call(pyfuncitem: Any) -> Optional[bool]:
> def run_with_hypothesis(**kwargs: Any) -> None:
> with get_runner(backend_name, backend_options) as runner:
> runner.run_test(original_func, kwargs)
>
> backend = pyfuncitem.funcargs.get("anyio_backend")
> if backend:
> backend_name, backend_options =
> extract_backend_and_options(backend)
>
> if hasattr(pyfuncitem.obj, "hypothesis"):
> # Wrap the inner test function unless it's already wrapped
> original_func = pyfuncitem.obj.hypothesis.inner_test
> if original_func.__qualname__ !=
> run_with_hypothesis.__qualname__:
> if iscoroutinefunction(original_func):
> pyfuncitem.obj.hypothesis.inner_test =
> run_with_hypothesis
>
> return None
>
> if iscoroutinefunction(pyfuncitem.obj):
> funcargs = pyfuncitem.funcargs
> testargs = {arg: funcargs[arg] for arg in
> pyfuncitem._fixtureinfo.argnames}
> > with get_runner(backend_name, backend_options) as runner:
>
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:118:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3.11/contextlib.py:137: in __enter__
> return next(self.gen)
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:37: in get_runner
> asynclib = get_asynclib(backend_name)
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:155: in get_asynclib
> return import_module(modulename)
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> /usr/lib/python3/dist-packages/anyio/_backends/_trio.py:164: in <module>
> class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
> /usr/lib/python3/dist-packages/trio/_deprecate.py:120: in __getattr__
> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> thing = 'trio.MultiError', version = '0.22.0'
>
> def warn_deprecated(thing, version, *, issue, instead, stacklevel=2):
> stacklevel += 1
> msg = "{} is deprecated since Trio {}".format(_stringify(thing),
> version)
> if instead is None:
> msg += " with no replacement"
> else:
> msg += "; use {} instead".format(_stringify(instead))
> if issue is not None:
> msg += " ({})".format(_url_for_issue(issue))
> > warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)
> E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio
> 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or
> exceptiongroup.BaseExceptionGroup (earlier versions) instead
> (https://github.com/python-trio/trio/issues/2211)
>
> /usr/lib/python3/dist-packages/trio/_deprecate.py:51: TrioDeprecationWarning
> =========================== short test summary info
> ============================
> FAILED tests/test_run_process.py::test_async_alive_terminates[trio] -
> trio.Tr...
> FAILED tests/test_watch.py::test_awatch[trio] - trio.TrioDeprecationWarning:
> ...
> FAILED tests/test_watch.py::test_awatch_stop[trio] -
> trio.TrioDeprecationWarn...
> FAILED tests/test_watch.py::test_awatch_log[trio] -
> trio.TrioDeprecationWarni...
> ======================== 4 failed, 158 passed in 1.73s
> =========================
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_watchgod/build; python3.11 -m pytest
> tests
> I: pybuild base:240: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build; python3.10 -m pytest
> tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: anyio-3.6.2, mock-3.8.2, toolbox-0.4, asyncio-0.20.3, sugar-0.9.6
> asyncio: mode=strict
> collected 162 items
>
> tests/test_cli.py ...................................................... [
> 33%]
> ............... [
> 42%]
> tests/test_run_process.py ..............F [
> 51%]
> tests/test_watch.py .................................................... [
> 83%]
> ...................F..F..F
> [100%]
>
> =================================== FAILURES
> ===================================
> ______________________ test_async_alive_terminates[trio]
> _______________________
>
> asynclib_name = 'trio'
>
> def get_asynclib(asynclib_name: Optional[str] = None) -> Any:
> if asynclib_name is None:
> asynclib_name = sniffio.current_async_library()
>
> modulename = "anyio._backends._" + asynclib_name
> try:
> > return sys.modules[modulename]
> E KeyError: 'anyio._backends._trio'
>
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:153: KeyError
>
> During handling of the above exception, another exception occurred:
>
> pyfuncitem = <Function test_async_alive_terminates[trio]>
>
> @pytest.hookimpl(tryfirst=True)
> def pytest_pyfunc_call(pyfuncitem: Any) -> Optional[bool]:
> def run_with_hypothesis(**kwargs: Any) -> None:
> with get_runner(backend_name, backend_options) as runner:
> runner.run_test(original_func, kwargs)
>
> backend = pyfuncitem.funcargs.get("anyio_backend")
> if backend:
> backend_name, backend_options =
> extract_backend_and_options(backend)
>
> if hasattr(pyfuncitem.obj, "hypothesis"):
> # Wrap the inner test function unless it's already wrapped
> original_func = pyfuncitem.obj.hypothesis.inner_test
> if original_func.__qualname__ !=
> run_with_hypothesis.__qualname__:
> if iscoroutinefunction(original_func):
> pyfuncitem.obj.hypothesis.inner_test =
> run_with_hypothesis
>
> return None
>
> if iscoroutinefunction(pyfuncitem.obj):
> funcargs = pyfuncitem.funcargs
> testargs = {arg: funcargs[arg] for arg in
> pyfuncitem._fixtureinfo.argnames}
> > with get_runner(backend_name, backend_options) as runner:
>
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:118:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3.10/contextlib.py:135: in __enter__
> return next(self.gen)
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:37: in get_runner
> asynclib = get_asynclib(backend_name)
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:155: in get_asynclib
> return import_module(modulename)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> /usr/lib/python3/dist-packages/anyio/_backends/_trio.py:164: in <module>
> class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
> /usr/lib/python3/dist-packages/trio/_deprecate.py:120: in __getattr__
> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> thing = 'trio.MultiError', version = '0.22.0'
>
> def warn_deprecated(thing, version, *, issue, instead, stacklevel=2):
> stacklevel += 1
> msg = "{} is deprecated since Trio {}".format(_stringify(thing),
> version)
> if instead is None:
> msg += " with no replacement"
> else:
> msg += "; use {} instead".format(_stringify(instead))
> if issue is not None:
> msg += " ({})".format(_url_for_issue(issue))
> > warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)
> E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio
> 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or
> exceptiongroup.BaseExceptionGroup (earlier versions) instead
> (https://github.com/python-trio/trio/issues/2211)
>
> /usr/lib/python3/dist-packages/trio/_deprecate.py:51: TrioDeprecationWarning
> ______________________________ test_awatch[trio]
> _______________________________
>
> asynclib_name = 'trio'
>
> def get_asynclib(asynclib_name: Optional[str] = None) -> Any:
> if asynclib_name is None:
> asynclib_name = sniffio.current_async_library()
>
> modulename = "anyio._backends._" + asynclib_name
> try:
> > return sys.modules[modulename]
> E KeyError: 'anyio._backends._trio'
>
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:153: KeyError
>
> During handling of the above exception, another exception occurred:
>
> pyfuncitem = <Function test_awatch[trio]>
>
> @pytest.hookimpl(tryfirst=True)
> def pytest_pyfunc_call(pyfuncitem: Any) -> Optional[bool]:
> def run_with_hypothesis(**kwargs: Any) -> None:
> with get_runner(backend_name, backend_options) as runner:
> runner.run_test(original_func, kwargs)
>
> backend = pyfuncitem.funcargs.get("anyio_backend")
> if backend:
> backend_name, backend_options =
> extract_backend_and_options(backend)
>
> if hasattr(pyfuncitem.obj, "hypothesis"):
> # Wrap the inner test function unless it's already wrapped
> original_func = pyfuncitem.obj.hypothesis.inner_test
> if original_func.__qualname__ !=
> run_with_hypothesis.__qualname__:
> if iscoroutinefunction(original_func):
> pyfuncitem.obj.hypothesis.inner_test =
> run_with_hypothesis
>
> return None
>
> if iscoroutinefunction(pyfuncitem.obj):
> funcargs = pyfuncitem.funcargs
> testargs = {arg: funcargs[arg] for arg in
> pyfuncitem._fixtureinfo.argnames}
> > with get_runner(backend_name, backend_options) as runner:
>
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:118:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3.10/contextlib.py:135: in __enter__
> return next(self.gen)
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:37: in get_runner
> asynclib = get_asynclib(backend_name)
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:155: in get_asynclib
> return import_module(modulename)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> /usr/lib/python3/dist-packages/anyio/_backends/_trio.py:164: in <module>
> class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
> /usr/lib/python3/dist-packages/trio/_deprecate.py:120: in __getattr__
> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> thing = 'trio.MultiError', version = '0.22.0'
>
> def warn_deprecated(thing, version, *, issue, instead, stacklevel=2):
> stacklevel += 1
> msg = "{} is deprecated since Trio {}".format(_stringify(thing),
> version)
> if instead is None:
> msg += " with no replacement"
> else:
> msg += "; use {} instead".format(_stringify(instead))
> if issue is not None:
> msg += " ({})".format(_url_for_issue(issue))
> > warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)
> E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio
> 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or
> exceptiongroup.BaseExceptionGroup (earlier versions) instead
> (https://github.com/python-trio/trio/issues/2211)
>
> /usr/lib/python3/dist-packages/trio/_deprecate.py:51: TrioDeprecationWarning
> ____________________________ test_awatch_stop[trio]
> ____________________________
>
> asynclib_name = 'trio'
>
> def get_asynclib(asynclib_name: Optional[str] = None) -> Any:
> if asynclib_name is None:
> asynclib_name = sniffio.current_async_library()
>
> modulename = "anyio._backends._" + asynclib_name
> try:
> > return sys.modules[modulename]
> E KeyError: 'anyio._backends._trio'
>
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:153: KeyError
>
> During handling of the above exception, another exception occurred:
>
> pyfuncitem = <Function test_awatch_stop[trio]>
>
> @pytest.hookimpl(tryfirst=True)
> def pytest_pyfunc_call(pyfuncitem: Any) -> Optional[bool]:
> def run_with_hypothesis(**kwargs: Any) -> None:
> with get_runner(backend_name, backend_options) as runner:
> runner.run_test(original_func, kwargs)
>
> backend = pyfuncitem.funcargs.get("anyio_backend")
> if backend:
> backend_name, backend_options =
> extract_backend_and_options(backend)
>
> if hasattr(pyfuncitem.obj, "hypothesis"):
> # Wrap the inner test function unless it's already wrapped
> original_func = pyfuncitem.obj.hypothesis.inner_test
> if original_func.__qualname__ !=
> run_with_hypothesis.__qualname__:
> if iscoroutinefunction(original_func):
> pyfuncitem.obj.hypothesis.inner_test =
> run_with_hypothesis
>
> return None
>
> if iscoroutinefunction(pyfuncitem.obj):
> funcargs = pyfuncitem.funcargs
> testargs = {arg: funcargs[arg] for arg in
> pyfuncitem._fixtureinfo.argnames}
> > with get_runner(backend_name, backend_options) as runner:
>
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:118:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3.10/contextlib.py:135: in __enter__
> return next(self.gen)
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:37: in get_runner
> asynclib = get_asynclib(backend_name)
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:155: in get_asynclib
> return import_module(modulename)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> /usr/lib/python3/dist-packages/anyio/_backends/_trio.py:164: in <module>
> class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
> /usr/lib/python3/dist-packages/trio/_deprecate.py:120: in __getattr__
> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> thing = 'trio.MultiError', version = '0.22.0'
>
> def warn_deprecated(thing, version, *, issue, instead, stacklevel=2):
> stacklevel += 1
> msg = "{} is deprecated since Trio {}".format(_stringify(thing),
> version)
> if instead is None:
> msg += " with no replacement"
> else:
> msg += "; use {} instead".format(_stringify(instead))
> if issue is not None:
> msg += " ({})".format(_url_for_issue(issue))
> > warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)
> E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio
> 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or
> exceptiongroup.BaseExceptionGroup (earlier versions) instead
> (https://github.com/python-trio/trio/issues/2211)
>
> /usr/lib/python3/dist-packages/trio/_deprecate.py:51: TrioDeprecationWarning
> ____________________________ test_awatch_log[trio]
> _____________________________
>
> asynclib_name = 'trio'
>
> def get_asynclib(asynclib_name: Optional[str] = None) -> Any:
> if asynclib_name is None:
> asynclib_name = sniffio.current_async_library()
>
> modulename = "anyio._backends._" + asynclib_name
> try:
> > return sys.modules[modulename]
> E KeyError: 'anyio._backends._trio'
>
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:153: KeyError
>
> During handling of the above exception, another exception occurred:
>
> pyfuncitem = <Function test_awatch_log[trio]>
>
> @pytest.hookimpl(tryfirst=True)
> def pytest_pyfunc_call(pyfuncitem: Any) -> Optional[bool]:
> def run_with_hypothesis(**kwargs: Any) -> None:
> with get_runner(backend_name, backend_options) as runner:
> runner.run_test(original_func, kwargs)
>
> backend = pyfuncitem.funcargs.get("anyio_backend")
> if backend:
> backend_name, backend_options =
> extract_backend_and_options(backend)
>
> if hasattr(pyfuncitem.obj, "hypothesis"):
> # Wrap the inner test function unless it's already wrapped
> original_func = pyfuncitem.obj.hypothesis.inner_test
> if original_func.__qualname__ !=
> run_with_hypothesis.__qualname__:
> if iscoroutinefunction(original_func):
> pyfuncitem.obj.hypothesis.inner_test =
> run_with_hypothesis
>
> return None
>
> if iscoroutinefunction(pyfuncitem.obj):
> funcargs = pyfuncitem.funcargs
> testargs = {arg: funcargs[arg] for arg in
> pyfuncitem._fixtureinfo.argnames}
> > with get_runner(backend_name, backend_options) as runner:
>
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:118:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> /usr/lib/python3.10/contextlib.py:135: in __enter__
> return next(self.gen)
> /usr/lib/python3/dist-packages/anyio/pytest_plugin.py:37: in get_runner
> asynclib = get_asynclib(backend_name)
> /usr/lib/python3/dist-packages/anyio/_core/_eventloop.py:155: in get_asynclib
> return import_module(modulename)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> /usr/lib/python3/dist-packages/anyio/_backends/_trio.py:164: in <module>
> class ExceptionGroup(BaseExceptionGroup, trio.MultiError):
> /usr/lib/python3/dist-packages/trio/_deprecate.py:120: in __getattr__
> warn_deprecated(thing, info.version, issue=info.issue, instead=instead)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> thing = 'trio.MultiError', version = '0.22.0'
>
> def warn_deprecated(thing, version, *, issue, instead, stacklevel=2):
> stacklevel += 1
> msg = "{} is deprecated since Trio {}".format(_stringify(thing),
> version)
> if instead is None:
> msg += " with no replacement"
> else:
> msg += "; use {} instead".format(_stringify(instead))
> if issue is not None:
> msg += " ({})".format(_url_for_issue(issue))
> > warnings.warn(TrioDeprecationWarning(msg), stacklevel=stacklevel)
> E trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio
> 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or
> exceptiongroup.BaseExceptionGroup (earlier versions) instead
> (https://github.com/python-trio/trio/issues/2211)
>
> /usr/lib/python3/dist-packages/trio/_deprecate.py:51: TrioDeprecationWarning
> =========================== short test summary info
> ============================
> FAILED tests/test_run_process.py::test_async_alive_terminates[trio] -
> trio.Tr...
> FAILED tests/test_watch.py::test_awatch[trio] - trio.TrioDeprecationWarning:
> ...
> FAILED tests/test_watch.py::test_awatch_stop[trio] -
> trio.TrioDeprecationWarn...
> FAILED tests/test_watch.py::test_awatch_log[trio] -
> trio.TrioDeprecationWarni...
> ======================== 4 failed, 158 passed in 1.69s
> =========================
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_watchgod/build; python3.10 -m pytest
> tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11
> 3.10" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/python-watchgod_0.8.2-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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.
--- End Message ---