Source: flask-gravatar Version: 0.4.2-4 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230726 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --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 > /usr/lib/python3/dist-packages/setuptools/dist.py:745: > SetuptoolsDeprecationWarning: Invalid dash-separated options > !! > > > ******************************************************************************** > Usage of dash-separated 'force-manifest' will not be supported in > future > versions. Please use the underscore name 'force_manifest' instead. > > By 2023-Sep-26, you need to update your project and remove deprecated > calls > or your builds will no longer be supported. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > opt = self.warn_dash_deprecation(opt, section) > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:240: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/dist.py:745: > SetuptoolsDeprecationWarning: Invalid dash-separated options > !! > > > ******************************************************************************** > Usage of dash-separated 'force-manifest' will not be supported in > future > versions. Please use the underscore name 'force_manifest' instead. > > By 2023-Sep-26, you need to update your project and remove deprecated > calls > or your builds will no longer be supported. > > See > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for > details. > > ******************************************************************************** > > !! > opt = self.warn_dash_deprecation(opt, section) > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-gravatar/build/flask_gravatar > copying flask_gravatar/version.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-gravatar/build/flask_gravatar > copying flask_gravatar/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-gravatar/build/flask_gravatar > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-gravatar/build; python3.11 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0 > rootdir: /<<PKGBUILDDIR>> > configfile: pytest.ini > plugins: pep8-1.0.6, cov-4.1.0 > collected 8 items > > tests/test_core.py F..... [ > 75%] > flask_gravatar/__init__.py F [ > 87%] > flask_gravatar/version.py F > [100%] > > =================================== FAILURES > =================================== > __________________________________ PEP8-check > __________________________________ > /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call > result: Optional[TResult] = func() > /usr/lib/python3/dist-packages/_pytest/runner.py:262: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:433: in __call__ > return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:112: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/runner.py:177: in pytest_runtest_call > raise e > /usr/lib/python3/dist-packages/_pytest/runner.py:169: in pytest_runtest_call > item.runtest() > /usr/lib/python3/dist-packages/pytest_pep8.py:67: in runtest > call = py.io.StdCapture.call > E AttributeError: module 'py' has no attribute 'io' > __________________________________ PEP8-check > __________________________________ > /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call > result: Optional[TResult] = func() > /usr/lib/python3/dist-packages/_pytest/runner.py:262: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:433: in __call__ > return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:112: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/runner.py:177: in pytest_runtest_call > raise e > /usr/lib/python3/dist-packages/_pytest/runner.py:169: in pytest_runtest_call > item.runtest() > /usr/lib/python3/dist-packages/pytest_pep8.py:67: in runtest > call = py.io.StdCapture.call > E AttributeError: module 'py' has no attribute 'io' > __________________________________ PEP8-check > __________________________________ > /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call > result: Optional[TResult] = func() > /usr/lib/python3/dist-packages/_pytest/runner.py:262: in <lambda> > lambda: ihook(item=item, **kwds), when=when, reraise=reraise > /usr/lib/python3/dist-packages/pluggy/_hooks.py:433: in __call__ > return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) > /usr/lib/python3/dist-packages/pluggy/_manager.py:112: in _hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > /usr/lib/python3/dist-packages/_pytest/runner.py:177: in pytest_runtest_call > raise e > /usr/lib/python3/dist-packages/_pytest/runner.py:169: in pytest_runtest_call > item.runtest() > /usr/lib/python3/dist-packages/pytest_pep8.py:67: in runtest > call = py.io.StdCapture.call > E AttributeError: module 'py' has no attribute 'io' > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:147 > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:147 > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:147 > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:147 > /usr/lib/python3/dist-packages/_pytest/nodes.py:147: > PytestDeprecationWarning: <class 'pytest_pep8.Pep8Item'> is not using a > cooperative constructor and only takes {'pep8ignore', 'fspath', 'parent', > 'max_line_length'}. > See > https://docs.pytest.org/en/stable/deprecations.html#constructors-of-custom-pytest-node-subclasses-should-take-kwargs > for more details. > warnings.warn( > > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:263 > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:263 > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:263 > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:263 > /usr/lib/python3/dist-packages/_pytest/nodes.py:263: > PytestRemovedIn8Warning: The (fspath: py.path.local) argument to Pep8Item is > deprecated. Please use the (path: pathlib.Path) argument instead. > See > https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path > return cls._create(parent=parent, **kw) > > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:719 > /usr/lib/python3/dist-packages/_pytest/nodes.py:719: PytestWarning: > Pep8Item is an Item subclass and should not be a collector, however its bases > File are collectors. > Please split the Collectors and the Item into separate node types. > Pytest Doc example: https://docs.pytest.org/en/latest/example/nonpython.html > example pull request on a plugin: > https://github.com/asmeurer/pytest-flakes/pull/40/ > warnings.warn( > > ../../../../../../usr/lib/python3/dist-packages/_pytest/nodes.py:355 > /usr/lib/python3/dist-packages/_pytest/nodes.py:355: > PytestUnknownMarkWarning: Unknown pytest.mark.pep8 - is this a typo? You can > register custom marks to avoid this warning - for details, see > https://docs.pytest.org/en/stable/how-to/mark.html > marker_ = getattr(MARK_GEN, marker) > > flask_gravatar/__init__.py:17 > flask_gravatar/__init__.py:17 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-gravatar/build/flask_gravatar/__init__.py:17: > DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed > in Flask 2.3. > from flask import _request_ctx_stack, request, has_request_context > > flask_gravatar/__init__.py:20 > flask_gravatar/__init__.py:20 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-gravatar/build/flask_gravatar/__init__.py:20: > DeprecationWarning: '_app_ctx_stack' is deprecated and will be removed in > Flask 2.3. > from flask import _app_ctx_stack > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > > ---------- coverage: platform linux, python 3.11.4-final-0 ----------- > Name Stmts Miss Cover Missing > ---------------------------------------------------------- > flask_gravatar/__init__.py 54 0 100% > flask_gravatar/version.py 2 0 100% > ---------------------------------------------------------- > TOTAL 56 0 100% > > =========================== short test summary info > ============================ > FAILED tests/test_core.py - AttributeError: module 'py' has no attribute 'io' > FAILED flask_gravatar/__init__.py - AttributeError: module 'py' has no > attrib... > FAILED flask_gravatar/version.py - AttributeError: module 'py' has no > attribu... > =================== 3 failed, 5 passed, 14 warnings in 0.73s > =================== > E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flask-gravatar/build; python3.11 -m > pytest tests > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/07/26/flask-gravatar_0.4.2-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&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.