Your message dated Sat, 31 Dec 2022 19:51:11 +0000
with message-id <e1pbhst-00givj...@fasolo.debian.org>
and subject line Bug#1026730: fixed in python-watchgod 0.8.2-2
has caused the Debian Bug report #1026730,
regarding python-watchgod: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.11 3.10" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1026730: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026730
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- 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 ---
--- Begin Message ---
Source: python-watchgod
Source-Version: 0.8.2-2
Done: Sandro Tosi <mo...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-watchgod, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1026...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated python-watchgod package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 31 Dec 2022 14:33:02 -0500
Source: python-watchgod
Architecture: source
Version: 0.8.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Closes: 1026730
Changes:
 python-watchgod (0.8.2-2) unstable; urgency=medium
 .
   * debian/rules
     - dont treat TrioDeprecationWarning as errors in tests; Closes: #1026730
   * run autopkgtest via autopkgtest-pkg-pybuild
Checksums-Sha1:
 d12391136d898a0b0c5cc6e8ccea1ca905ebfc39 2311 python-watchgod_0.8.2-2.dsc
 8a0f676f08224f1260a4de43e7faa0af885c9956 4780 
python-watchgod_0.8.2-2.debian.tar.xz
 21a66b65ce141fce9e15e52171ff82f634dbda7c 7893 
python-watchgod_0.8.2-2_source.buildinfo
Checksums-Sha256:
 0dbf572e1f069dcce14845b1f9eb90d558b9558a0a50918ecd8f8de38dfadc02 2311 
python-watchgod_0.8.2-2.dsc
 e593c711549dcf383b06420fe5ffe80698b4a0de7a0c1109e4fa023ba875ca36 4780 
python-watchgod_0.8.2-2.debian.tar.xz
 afbd12a7e356d3f023db4bf84cf99bb4e5a015dc073816ef383eb2bd2d97e1f6 7893 
python-watchgod_0.8.2-2_source.buildinfo
Files:
 e366b0b648268a7b9b5dcb89d01727c7 2311 python optional 
python-watchgod_0.8.2-2.dsc
 6f9eb0dd962fa5bf431dfb19ba3acffa 4780 python optional 
python-watchgod_0.8.2-2.debian.tar.xz
 d960eb2fc1294c80602d5715ac988606 7893 python optional 
python-watchgod_0.8.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmOwjo4ACgkQh588mTgB
qU9G6hAAhQ9pDV4x1IU1TUwL58SXY3ERqbhKoU7Col/yanIENRoPCyyb8aRtKDKY
t7uaSXXvjYrwBSOIyj6Ve9XxCAcrN45HMJ4U6NTFUJyo7tGWwRYkzk6gCZRhZMpU
f+KABtZJk0dW1HMgeJrQz+ykUhP4DlHDPnw3YHi78FcJ3SEkavCwO/iAHfhE1AJa
Ezp7vTzRaHB6rfInCUQArXUs6wDtqXLlAtsRkv+qSfjGpZrPtkGnuwl2uLAPGCzM
HaP+bz1wqQ8t6gULNY9PXDEO95wegwoOg+Uw3DB8Uud0j1I9TvnWu0oU7lsgtq+k
CgQFf8wQkS3Yp2T0zQBjGrrSsm8bikbJyYWxbFq0j0eVQxrSXSuSkbWNKpO/Ez/r
ImRG/7uz3hrdE3VO4fyejbDKxgiv2/FtrH762aQE3E6lXKXilnf3Yy5w6RxbmGR5
iGk+Init0pv13DskMXW+USbdukS94o9TA8F3CjrGpMB1qhVCe9iwnGHwkOCVJ9TX
CjlasJb6qQNkpXQjl5iGuP1WUeNOYFqjOHZ08yPGE1znOeC3UnqQxqfCRn/8YT9c
PGATPPEOPJHzWknOOWE+JaiwdT8Vu/BMbxIX4gX6X051iVDQRDr4ZBillrT6YmNy
1xfhnFz3R+aOJWD429uGU1T2gDgGvT5zNLHP2eOPWarN2ipgx0M=
=Hcrx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to