Your message dated Wed, 17 Apr 2024 19:04:30 +0000
with message-id <e1rxaa6-00fvhi...@fasolo.debian.org>
and subject line Bug#1066751: fixed in python-formencode 2.1.0-1
has caused the Debian Bug report #1066751,
regarding python-formencode: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.12 3.11" --test-pytest 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.)


-- 
1066751: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066751
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-formencode
Version: 2.0.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # network is required for the 
> http://this.domain.does.not.exist.example.org/test.html test
> LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 http_proxy='' dh_auto_test 
> --buildsystem=pybuild -- --test-pytest
> I: pybuild pybuild:308:       cp 
> /<<PKGBUILDDIR>>/formencode/tests/non_empty.txt 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_formencode/build/formencode/tests/
>       cp -r /<<PKGBUILDDIR>>/formencode/tests/htmlfill_data 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_formencode/build/formencode/tests/
>       cp -r /<<PKGBUILDDIR>>/formencode/i18n 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_formencode/build/formencode/
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_formencode/build; python3.12 -m 
> pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_formencode/build
> configfile: pytest.ini
> collected 266 items
> 
> formencode/tests/test_cc.py ..                                           [  
> 0%]
> formencode/tests/test_compound.py .................                      [  
> 7%]
> formencode/tests/test_context.py ...                                     [  
> 8%]
> formencode/tests/test_declarative.py ....                                [  
> 9%]
> formencode/tests/test_doctest_xml_compare.py .                           [ 
> 10%]
> formencode/tests/test_doctests.py .........                              [ 
> 13%]
> formencode/tests/test_email.py ..                                        [ 
> 14%]
> formencode/tests/test_htmlfill.py ...................................... [ 
> 28%]
> ........                                                                 [ 
> 31%]
> formencode/tests/test_htmlfill_control.py .......                        [ 
> 34%]
> formencode/tests/test_htmlgen.py .......                                 [ 
> 36%]
> formencode/tests/test_htmlrename.py .                                    [ 
> 37%]
> formencode/tests/test_i18n.py ........................                   [ 
> 46%]
> formencode/tests/test_schema.py .............EE........                  [ 
> 54%]
> formencode/tests/test_subclassing.py ...............                     [ 
> 60%]
> formencode/tests/test_subclassing_old.py ................                [ 
> 66%]
> formencode/tests/test_validators.py .................................... [ 
> 80%]
> ..........................................                               [ 
> 95%]
> formencode/tests/test_variabledecode.py ...........                      
> [100%]
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR at setup of 
> TestAtLeastOneCheckboxIsChecked.test_Schema_with_input_present _
> 
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7fb3e66ba7a0>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
> 
>     @classmethod
>     def from_call(
>         cls,
>         func: Callable[[], TResult],
>         when: Literal["collect", "setup", "call", "teardown"],
>         reraise: Optional[
>             Union[Type[BaseException], Tuple[Type[BaseException], ...]]
>         ] = None,
>     ) -> "CallInfo[TResult]":
>         """Call func, wrapping the result in a CallInfo.
>     
>         :param func:
>             The function to call. Called without arguments.
>         :param when:
>             The phase in which the function is called.
>         :param reraise:
>             Exception or exceptions that shall propagate if raised by the
>             function, instead of being wrapped in the CallInfo.
>         """
>         excinfo = None
>         start = timing.time()
>         precise_start = timing.perf_counter()
>         try:
> >           result: Optional[TResult] = func()
> 
> /usr/lib/python3/dist-packages/_pytest/runner.py:342: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
>     lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
> firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in 
> pytest_runtest_setup
>     yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in 
> unraisable_exception_runtest_hook
>     yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
>     yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
>     yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
>     return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in 
> pytest_runtest_setup
>     yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in 
> thread_exception_runtest_hook
>     yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
>     item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
>     raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
>     col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
>     self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
>     item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
>     fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in 
> _get_active_fixturedef
>     self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in 
> _compute_fixture_value
>     fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
>     result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
> firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in 
> pytest_fixture_setup
>     return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in 
> pytest_fixture_setup
>     result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
>     fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <formencode.tests.test_schema.TestAtLeastOneCheckboxIsChecked object 
> at 0x7fb3e6af0140>
> request = <SubRequest 
> '_xunit_setup_method_fixture_TestAtLeastOneCheckboxIsChecked' for <Function 
> test_Schema_with_input_present>>
> 
>     @fixtures.fixture(
>         autouse=True,
>         scope="function",
>         # Use a unique name to speed up lookup.
>         name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
>     )
>     def xunit_setup_method_fixture(self, request) -> Generator[None, None, 
> None]:
>         method = request.function
>         if setup_method is not None:
>             func = getattr(self, setup_name)
>             _call_with_optional_argument(func, method)
>             if emit_nose_setup_warning:
> >               warnings.warn(
>                     NOSE_SUPPORT_METHOD.format(
>                         nodeid=request.node.nodeid, method="setup"
>                     ),
>                     stacklevel=2,
>                 )
> E               pytest.PytestRemovedIn8Warning: Support for nose tests is 
> deprecated and will be removed in a future release.
> E               
> formencode/tests/test_schema.py::TestAtLeastOneCheckboxIsChecked::test_Schema_with_input_present
>  is using nose-specific method: `setup(self)`
> E               To remove this warning, rename it to `setup_method(self)`
> E               See docs: 
> https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
> 
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> _ ERROR at setup of 
> TestAtLeastOneCheckboxIsChecked.test_Schema_with_input_missing _
> 
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7fb3e66bbce0>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
> 
>     @classmethod
>     def from_call(
>         cls,
>         func: Callable[[], TResult],
>         when: Literal["collect", "setup", "call", "teardown"],
>         reraise: Optional[
>             Union[Type[BaseException], Tuple[Type[BaseException], ...]]
>         ] = None,
>     ) -> "CallInfo[TResult]":
>         """Call func, wrapping the result in a CallInfo.
>     
>         :param func:
>             The function to call. Called without arguments.
>         :param when:
>             The phase in which the function is called.
>         :param reraise:
>             Exception or exceptions that shall propagate if raised by the
>             function, instead of being wrapped in the CallInfo.
>         """
>         excinfo = None
>         start = timing.time()
>         precise_start = timing.perf_counter()
>         try:
> >           result: Optional[TResult] = func()
> 
> /usr/lib/python3/dist-packages/_pytest/runner.py:342: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
>     lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
> firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in 
> pytest_runtest_setup
>     yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in 
> unraisable_exception_runtest_hook
>     yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
>     yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
>     yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
>     return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in 
> pytest_runtest_setup
>     yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in 
> thread_exception_runtest_hook
>     yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
>     item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
>     raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
>     col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
>     self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
>     item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
>     fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in 
> _get_active_fixturedef
>     self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in 
> _compute_fixture_value
>     fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
>     result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
> firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in 
> pytest_fixture_setup
>     return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in 
> pytest_fixture_setup
>     result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
>     fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <formencode.tests.test_schema.TestAtLeastOneCheckboxIsChecked object 
> at 0x7fb3e6af0a10>
> request = <SubRequest 
> '_xunit_setup_method_fixture_TestAtLeastOneCheckboxIsChecked' for <Function 
> test_Schema_with_input_missing>>
> 
>     @fixtures.fixture(
>         autouse=True,
>         scope="function",
>         # Use a unique name to speed up lookup.
>         name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
>     )
>     def xunit_setup_method_fixture(self, request) -> Generator[None, None, 
> None]:
>         method = request.function
>         if setup_method is not None:
>             func = getattr(self, setup_name)
>             _call_with_optional_argument(func, method)
>             if emit_nose_setup_warning:
> >               warnings.warn(
>                     NOSE_SUPPORT_METHOD.format(
>                         nodeid=request.node.nodeid, method="setup"
>                     ),
>                     stacklevel=2,
>                 )
> E               pytest.PytestRemovedIn8Warning: Support for nose tests is 
> deprecated and will be removed in a future release.
> E               
> formencode/tests/test_schema.py::TestAtLeastOneCheckboxIsChecked::test_Schema_with_input_missing
>  is using nose-specific method: `setup(self)`
> E               To remove this warning, rename it to `setup_method(self)`
> E               See docs: 
> https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
> 
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> =============================== warnings summary 
> ===============================
> formencode/__init__.py:3
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_formencode/build/formencode/__init__.py:3:
>  DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     from pkg_resources import get_distribution, DistributionNotFound
> 
> formencode/validators.py:9
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_formencode/build/formencode/validators.py:9:
>  DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     import cgi
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> ERROR 
> formencode/tests/test_schema.py::TestAtLeastOneCheckboxIsChecked::test_Schema_with_input_present
> ERROR 
> formencode/tests/test_schema.py::TestAtLeastOneCheckboxIsChecked::test_Schema_with_input_missing
> ================== 264 passed, 2 warnings, 2 errors in 1.53s 
> ===================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_formencode/build; python3.12 -m 
> pytest 
> I: pybuild pybuild:308:       cp 
> /<<PKGBUILDDIR>>/formencode/tests/non_empty.txt 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_formencode/build/formencode/tests/
>       cp -r /<<PKGBUILDDIR>>/formencode/tests/htmlfill_data 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_formencode/build/formencode/tests/
>       cp -r /<<PKGBUILDDIR>>/formencode/i18n 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_formencode/build/formencode/
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_formencode/build; python3.11 -m 
> pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_formencode/build
> configfile: pytest.ini
> collected 266 items
> 
> formencode/tests/test_cc.py ..                                           [  
> 0%]
> formencode/tests/test_compound.py .................                      [  
> 7%]
> formencode/tests/test_context.py ...                                     [  
> 8%]
> formencode/tests/test_declarative.py ....                                [  
> 9%]
> formencode/tests/test_doctest_xml_compare.py .                           [ 
> 10%]
> formencode/tests/test_doctests.py .........                              [ 
> 13%]
> formencode/tests/test_email.py ..                                        [ 
> 14%]
> formencode/tests/test_htmlfill.py ...................................... [ 
> 28%]
> ........                                                                 [ 
> 31%]
> formencode/tests/test_htmlfill_control.py .......                        [ 
> 34%]
> formencode/tests/test_htmlgen.py .......                                 [ 
> 36%]
> formencode/tests/test_htmlrename.py .                                    [ 
> 37%]
> formencode/tests/test_i18n.py ........................                   [ 
> 46%]
> formencode/tests/test_schema.py .............EE........                  [ 
> 54%]
> formencode/tests/test_subclassing.py ...............                     [ 
> 60%]
> formencode/tests/test_subclassing_old.py ................                [ 
> 66%]
> formencode/tests/test_validators.py .................................... [ 
> 80%]
> ..........................................                               [ 
> 95%]
> formencode/tests/test_variabledecode.py ...........                      
> [100%]
> 
> ==================================== ERRORS 
> ====================================
> _ ERROR at setup of 
> TestAtLeastOneCheckboxIsChecked.test_Schema_with_input_present _
> 
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f7aa4568400>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
> 
>     @classmethod
>     def from_call(
>         cls,
>         func: Callable[[], TResult],
>         when: Literal["collect", "setup", "call", "teardown"],
>         reraise: Optional[
>             Union[Type[BaseException], Tuple[Type[BaseException], ...]]
>         ] = None,
>     ) -> "CallInfo[TResult]":
>         """Call func, wrapping the result in a CallInfo.
>     
>         :param func:
>             The function to call. Called without arguments.
>         :param when:
>             The phase in which the function is called.
>         :param reraise:
>             Exception or exceptions that shall propagate if raised by the
>             function, instead of being wrapped in the CallInfo.
>         """
>         excinfo = None
>         start = timing.time()
>         precise_start = timing.perf_counter()
>         try:
> >           result: Optional[TResult] = func()
> 
> /usr/lib/python3/dist-packages/_pytest/runner.py:342: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
>     lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
> firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in 
> pytest_runtest_setup
>     yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in 
> unraisable_exception_runtest_hook
>     yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
>     yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
>     yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
>     return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in 
> pytest_runtest_setup
>     yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in 
> thread_exception_runtest_hook
>     yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
>     item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
>     raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
>     col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
>     self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
>     item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
>     fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in 
> _get_active_fixturedef
>     self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in 
> _compute_fixture_value
>     fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
>     result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
> firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in 
> pytest_fixture_setup
>     return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in 
> pytest_fixture_setup
>     result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
>     fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <formencode.tests.test_schema.TestAtLeastOneCheckboxIsChecked object 
> at 0x7f7aa480d850>
> request = <SubRequest 
> '_xunit_setup_method_fixture_TestAtLeastOneCheckboxIsChecked' for <Function 
> test_Schema_with_input_present>>
> 
>     @fixtures.fixture(
>         autouse=True,
>         scope="function",
>         # Use a unique name to speed up lookup.
>         name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
>     )
>     def xunit_setup_method_fixture(self, request) -> Generator[None, None, 
> None]:
>         method = request.function
>         if setup_method is not None:
>             func = getattr(self, setup_name)
>             _call_with_optional_argument(func, method)
>             if emit_nose_setup_warning:
> >               warnings.warn(
>                     NOSE_SUPPORT_METHOD.format(
>                         nodeid=request.node.nodeid, method="setup"
>                     ),
>                     stacklevel=2,
>                 )
> E               pytest.PytestRemovedIn8Warning: Support for nose tests is 
> deprecated and will be removed in a future release.
> E               
> formencode/tests/test_schema.py::TestAtLeastOneCheckboxIsChecked::test_Schema_with_input_present
>  is using nose-specific method: `setup(self)`
> E               To remove this warning, rename it to `setup_method(self)`
> E               See docs: 
> https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
> 
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> _ ERROR at setup of 
> TestAtLeastOneCheckboxIsChecked.test_Schema_with_input_missing _
> 
> cls = <class '_pytest.runner.CallInfo'>
> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f7aa46863e0>
> when = 'setup'
> reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
> 
>     @classmethod
>     def from_call(
>         cls,
>         func: Callable[[], TResult],
>         when: Literal["collect", "setup", "call", "teardown"],
>         reraise: Optional[
>             Union[Type[BaseException], Tuple[Type[BaseException], ...]]
>         ] = None,
>     ) -> "CallInfo[TResult]":
>         """Call func, wrapping the result in a CallInfo.
>     
>         :param func:
>             The function to call. Called without arguments.
>         :param when:
>             The phase in which the function is called.
>         :param reraise:
>             Exception or exceptions that shall propagate if raised by the
>             function, instead of being wrapped in the CallInfo.
>         """
>         excinfo = None
>         start = timing.time()
>         precise_start = timing.perf_counter()
>         try:
> >           result: Optional[TResult] = func()
> 
> /usr/lib/python3/dist-packages/_pytest/runner.py:342: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/_pytest/runner.py:263: in <lambda>
>     lambda: ihook(item=item, **kwds), when=when, reraise=reraise
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
> firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:85: in 
> pytest_runtest_setup
>     yield from unraisable_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:65: in 
> unraisable_exception_runtest_hook
>     yield
> /usr/lib/python3/dist-packages/_pytest/logging.py:833: in pytest_runtest_setup
>     yield from self._runtest_for(item, "setup")
> /usr/lib/python3/dist-packages/_pytest/logging.py:822: in _runtest_for
>     yield
> /usr/lib/python3/dist-packages/_pytest/capture.py:877: in pytest_runtest_setup
>     return (yield)
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:82: in 
> pytest_runtest_setup
>     yield from thread_exception_runtest_hook()
> /usr/lib/python3/dist-packages/_pytest/threadexception.py:63: in 
> thread_exception_runtest_hook
>     yield
> /usr/lib/python3/dist-packages/_pytest/runner.py:158: in pytest_runtest_setup
>     item.session._setupstate.setup(item)
> /usr/lib/python3/dist-packages/_pytest/runner.py:514: in setup
>     raise exc
> /usr/lib/python3/dist-packages/_pytest/runner.py:511: in setup
>     col.setup()
> /usr/lib/python3/dist-packages/_pytest/python.py:1834: in setup
>     self._request._fillfixtures()
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:689: in _fillfixtures
>     item.funcargs[argname] = self.getfixturevalue(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:547: in getfixturevalue
>     fixturedef = self._get_active_fixturedef(argname)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:566: in 
> _get_active_fixturedef
>     self._compute_fixture_value(fixturedef)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:648: in 
> _compute_fixture_value
>     fixturedef.execute(request=subrequest)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1087: in execute
>     result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, 
> firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in 
> pytest_fixture_setup
>     return (yield)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in 
> pytest_fixture_setup
>     result = call_fixture_func(fixturefunc, request, kwargs)
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:910: in call_fixture_func
>     fixture_result = next(generator)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <formencode.tests.test_schema.TestAtLeastOneCheckboxIsChecked object 
> at 0x7f7aa4931b90>
> request = <SubRequest 
> '_xunit_setup_method_fixture_TestAtLeastOneCheckboxIsChecked' for <Function 
> test_Schema_with_input_missing>>
> 
>     @fixtures.fixture(
>         autouse=True,
>         scope="function",
>         # Use a unique name to speed up lookup.
>         name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}",
>     )
>     def xunit_setup_method_fixture(self, request) -> Generator[None, None, 
> None]:
>         method = request.function
>         if setup_method is not None:
>             func = getattr(self, setup_name)
>             _call_with_optional_argument(func, method)
>             if emit_nose_setup_warning:
> >               warnings.warn(
>                     NOSE_SUPPORT_METHOD.format(
>                         nodeid=request.node.nodeid, method="setup"
>                     ),
>                     stacklevel=2,
>                 )
> E               pytest.PytestRemovedIn8Warning: Support for nose tests is 
> deprecated and will be removed in a future release.
> E               
> formencode/tests/test_schema.py::TestAtLeastOneCheckboxIsChecked::test_Schema_with_input_missing
>  is using nose-specific method: `setup(self)`
> E               To remove this warning, rename it to `setup_method(self)`
> E               See docs: 
> https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose
> 
> /usr/lib/python3/dist-packages/_pytest/python.py:888: PytestRemovedIn8Warning
> =============================== warnings summary 
> ===============================
> formencode/__init__.py:3
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_formencode/build/formencode/__init__.py:3:
>  DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     from pkg_resources import get_distribution, DistributionNotFound
> 
> formencode/validators.py:9
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_formencode/build/formencode/validators.py:9:
>  DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     import cgi
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> ERROR 
> formencode/tests/test_schema.py::TestAtLeastOneCheckboxIsChecked::test_Schema_with_input_present
> ERROR 
> formencode/tests/test_schema.py::TestAtLeastOneCheckboxIsChecked::test_Schema_with_input_missing
> ================== 264 passed, 2 warnings, 2 errors in 1.60s 
> ===================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_formencode/build; python3.11 -m 
> pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" --test-pytest returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/python-formencode_2.0.1-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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-formencode
Source-Version: 2.1.0-1
Done: Neil Muller <drnlmuller+deb...@gmail.com>

We believe that the bug you reported is fixed in the latest version of
python-formencode, 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 1066...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Neil Muller <drnlmuller+deb...@gmail.com> (supplier of updated 
python-formencode 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: SHA512

Format: 1.8
Date: Tue, 16 Apr 2024 10:39:41 +0200
Source: python-formencode
Architecture: source
Version: 2.1.0-1
Distribution: unstable
Urgency: low
Maintainer: Fabio Tranchitella <kob...@debian.org>
Changed-By: Neil Muller <drnlmuller+deb...@gmail.com>
Closes: 1066751
Changes:
 python-formencode (2.1.0-1) unstable; urgency=low
 .
   * New upstream version (Closes: #1066751).
   * Add pybuild-plugin-pyproject build dependency since upstream has moved
     away from a pure setuptools build.
   * Refresh patches and drop no longer relevant patches.
     - Dropped 0004-Drop-setuptools_scm_git_archive-requirement-from-set.patch
       and 0005-Remove-LICENSE.txt-from-the-list-of-installed-files.patch .
     - Renamed 0002-disable_pkg_resources_in_tests.patch to
       0002-Remove-checks-for-installed-formencode-from-the-test.patch to
       better reflect its function.
   * Fixed incorrect license shortnames in debian/copyright.
   * Remove PYBUILD_BEFORE_TEST workaround, as it's no longer needed.
Checksums-Sha1:
 2a3c0a41b5b4f64a7b304f7e66aa44bbc0ca5188 2241 python-formencode_2.1.0-1.dsc
 8b4f8790c9434209e857e7e272df5ff01aa7e526 200384 
python-formencode_2.1.0.orig.tar.xz
 c9aa773e16f4364e9deda530218ffb7fcc3d0f05 9496 
python-formencode_2.1.0-1.debian.tar.xz
 15e1b4cd66fbc1d80fbd68309e4531384a7d543b 6695 
python-formencode_2.1.0-1_source.buildinfo
Checksums-Sha256:
 859a29bb2c6b7c9596ad437aeb0237664d4f01546e811b084f957efc429f04aa 2241 
python-formencode_2.1.0-1.dsc
 10656318020eb3db0bd5d63695b3151e9a2d15b4db50fa6c4bc84aaa4927136b 200384 
python-formencode_2.1.0.orig.tar.xz
 c69a70851dc4cc505b79f7a8433429a2f674de6318e1dc9f5bcb4d9476d9a2f4 9496 
python-formencode_2.1.0-1.debian.tar.xz
 e4054732da9b69cc7bf98b2bc69da046e55bef2f0ceb548bed351689499e39ea 6695 
python-formencode_2.1.0-1_source.buildinfo
Files:
 347c6490d9e867d82e92e958e70e4c84 2241 python optional 
python-formencode_2.1.0-1.dsc
 3fd3fe287fa176670049d3e458dd233e 200384 python optional 
python-formencode_2.1.0.orig.tar.xz
 7210ffad1d619a12cbab6cbbc0c5a97a 9496 python optional 
python-formencode_2.1.0-1.debian.tar.xz
 f303a50b657a29fe6748faf5f93d92b6 6695 python optional 
python-formencode_2.1.0-1_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmYgELoQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFCAYC/9gY4091fv7A8vBqIyaWRMd40GbJbdYhhYF
GbuMSJ1oDh7+j+XZsf1JH874WMtVSGEcyjN+eh/etf33kJpHbC7j0KpvL7ZmlWMn
9NqkXAFZCU3ur6ZxY1C91dttohfIt5Hnm+3KijXqtlHabHWnXxcV9kNDP8pRRQFP
LGo2pB1ZwDJOEXNaTgysEa42m3gleK7l7AvhN/QH3IDhVanjZ9ksibh+DZcWbxqe
6D4w+2tcD9AfsxxzjlEXUYXp2/q3kBeSEZKvHCzniDV0pZHJm8MYZ7+5U990W327
wAr4mkTgUqfbDGRQbkDMt1F6hwHyE7ySKImuxPg74YRdNPKONyqZZE6VxGFm1H3n
0M9tGKHSGU7nKvFGrfKOKplr1abpQo7CPUDunVVv2GkYMSjDNW5xAliJGraUVwQl
9TQdzvOUI+JKZdDpyRDXyKVDIdWy/iIJZnMVKl8OrxsAtbkAv4wBaPIMBnJvoYvb
k+3byUC0DkWaIwPLhyYf+RNcWuCoHgo=
=+AVA
-----END PGP SIGNATURE-----

Attachment: pgp6zIBMtay5f.pgp
Description: PGP signature


--- End Message ---

Reply via email to