Package: src:flask-caching Version: 2.4.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202606/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:flask-caching, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" module I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flask-caching * Building wheel... Successfully built flask_caching-2.4.0-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flask-caching * Building wheel... Successfully built flask_caching-2.4.0-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flask-caching/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flask-caching/build configfile: pyproject.toml plugins: typeguard-4.4.4 collected 199 items tests/test_backend_cache.py ...........................sssssssssssssssss [ 22%] ssssssssssssssssssssssssssssssssssssssss.ssssssssssssssssE [ 51%] tests/test_basic_app.py ....ssss.. [ 56%] tests/test_cache.py .....s................ [ 67%] tests/test_init.py ...... [ 70%] tests/test_memoize.py ........................................ [ 90%] tests/test_templates.py . [ 90%] tests/test_view.py .................. [100%] ==================================== ERRORS ==================================== ___________________ ERROR at setup of TestNullCache.test_has ___________________ cls = <class '_pytest.runner.CallInfo'> func = <function call_and_report.<locals>.<lambda> at 0x7f52f0492340> when = 'setup' reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :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 instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3/dist-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:250: in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3/dist-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3/dist-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/dist-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3/dist-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3/dist-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3/dist-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/pluggy/_manager.py:120: 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:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = <FixtureDef argname='make_cache' scope='class' baseid='tests/test_backend_cache.py::TestNullCache'> request = <SubRequest 'make_cache' for <Function test_has>> def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3/dist-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning =========================== short test summary info ============================ ERROR tests/test_backend_cache.py::TestNullCache::test_has - pytest.PytestRem... ============= 120 passed, 78 skipped, 1 error in 95.64s (0:01:35) ============== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flask-caching/build; python3.13 -m pytest tests I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flask-caching/build; python3.14 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flask-caching/build configfile: pyproject.toml plugins: typeguard-4.4.4 collected 199 items tests/test_backend_cache.py ...........................sssssssssssssssss [ 22%] ssssssssssssssssssssssssssssssssssssssss.ssssssssssssssssE [ 51%] tests/test_basic_app.py ....ssss.. [ 56%] tests/test_cache.py .....s................ [ 67%] tests/test_init.py ...... [ 70%] tests/test_memoize.py ........................................ [ 90%] tests/test_templates.py . [ 90%] tests/test_view.py .................. [100%] ==================================== ERRORS ==================================== ___________________ ERROR at setup of TestNullCache.test_has ___________________ cls = <class '_pytest.runner.CallInfo'> func = <function call_and_report.<locals>.<lambda> at 0x7f70f0f42140> when = 'setup' reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, ) -> CallInfo[TResult]: """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :type func: Callable[[], _pytest.runner.TResult] :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 instant = timing.Instant() try: > result: TResult | None = func() ^^^^^^ /usr/lib/python3/dist-packages/_pytest/runner.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:250: in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/_pytest/logging.py:858: in pytest_runtest_setup yield /usr/lib/python3/dist-packages/_pytest/capture.py:895: in pytest_runtest_setup return (yield) ^^^^^ /usr/lib/python3/dist-packages/_pytest/runner.py:170: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/dist-packages/_pytest/runner.py:536: in setup col.setup() /usr/lib/python3/dist-packages/_pytest/python.py:1710: in setup self._request._fillfixtures() /usr/lib/python3/dist-packages/_pytest/fixtures.py:806: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/_pytest/fixtures.py:630: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/_pytest/fixtures.py:726: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1232: in execute result: FixtureValue = ihook.pytest_fixture_setup( /usr/lib/python3/dist-packages/pluggy/_hooks.py:512: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/pluggy/_manager.py:120: 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:1313: in pytest_fixture_setup fixturefunc = resolve_fixture_function(fixturedef, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fixturedef = <FixtureDef argname='make_cache' scope='class' baseid='tests/test_backend_cache.py::TestNullCache'> request = <SubRequest 'make_cache' for <Function test_has>> def resolve_fixture_function( fixturedef: FixtureDef[FixtureValue], request: FixtureRequest ) -> _FixtureFunc[FixtureValue]: """Get the actual callable that can be called to obtain the fixture value.""" fixturefunc = fixturedef.func # The fixture function needs to be bound to the actual # request.instance so that code working with "fixturedef" behaves # as expected. instance = request.instance if fixturedef._scope is Scope.Class: # Check if fixture is an instance method (bound to instance, not class) if hasattr(fixturefunc, "__self__"): bound_to = fixturefunc.__self__ # classmethod: bound_to is the class itself (a type) # instance method: bound_to is an instance (not a type) if not isinstance(bound_to, type): > warnings.warn(CLASS_FIXTURE_INSTANCE_METHOD, stacklevel=2) E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. E Instance attributes set in this fixture will NOT be visible to test methods, E as each test gets a new instance while the fixture runs only once per class. E Use @classmethod decorator and set attributes on cls instead. E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method /usr/lib/python3/dist-packages/_pytest/fixtures.py:1289: PytestRemovedIn10Warning =========================== short test summary info ============================ ERROR tests/test_backend_cache.py::TestNullCache::test_has - pytest.PytestRem... ============= 120 passed, 78 skipped, 1 error in 95.66s (0:01:35) ============== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flask-caching/build; python3.14 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.14" --parallel=2 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

