Source: flask-wtf Version: 1.1.1-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230925 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --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:110: Building wheel for python3.11 with "build" > module > I: pybuild base:291: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flaskext.wtf > * Building wheel... > running bdist_wheel > running build > running build_py > creating build > creating build/lib > creating build/lib/flask_wtf > copying src/flask_wtf/file.py -> build/lib/flask_wtf > copying src/flask_wtf/__init__.py -> build/lib/flask_wtf > copying src/flask_wtf/i18n.py -> build/lib/flask_wtf > copying src/flask_wtf/form.py -> build/lib/flask_wtf > copying src/flask_wtf/_compat.py -> build/lib/flask_wtf > copying src/flask_wtf/csrf.py -> build/lib/flask_wtf > creating build/lib/flask_wtf/recaptcha > copying src/flask_wtf/recaptcha/__init__.py -> build/lib/flask_wtf/recaptcha > copying src/flask_wtf/recaptcha/fields.py -> build/lib/flask_wtf/recaptcha > copying src/flask_wtf/recaptcha/widgets.py -> build/lib/flask_wtf/recaptcha > copying src/flask_wtf/recaptcha/validators.py -> build/lib/flask_wtf/recaptcha > running egg_info > creating src/Flask_WTF.egg-info > writing src/Flask_WTF.egg-info/PKG-INFO > writing dependency_links to src/Flask_WTF.egg-info/dependency_links.txt > writing requirements to src/Flask_WTF.egg-info/requires.txt > writing top-level names to src/Flask_WTF.egg-info/top_level.txt > writing manifest file 'src/Flask_WTF.egg-info/SOURCES.txt' > reading manifest file 'src/Flask_WTF.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > no previously-included directories found matching 'docs/_build' > warning: no previously-included files matching '*.pyc' found anywhere in > distribution > adding license file 'LICENSE.rst' > writing manifest file 'src/Flask_WTF.egg-info/SOURCES.txt' > installing to build/bdist.linux-x86_64/wheel > running install > running install_lib > creating build/bdist.linux-x86_64 > creating build/bdist.linux-x86_64/wheel > creating build/bdist.linux-x86_64/wheel/flask_wtf > copying build/lib/flask_wtf/file.py -> > build/bdist.linux-x86_64/wheel/flask_wtf > copying build/lib/flask_wtf/__init__.py -> > build/bdist.linux-x86_64/wheel/flask_wtf > copying build/lib/flask_wtf/i18n.py -> > build/bdist.linux-x86_64/wheel/flask_wtf > copying build/lib/flask_wtf/form.py -> > build/bdist.linux-x86_64/wheel/flask_wtf > copying build/lib/flask_wtf/_compat.py -> > build/bdist.linux-x86_64/wheel/flask_wtf > creating build/bdist.linux-x86_64/wheel/flask_wtf/recaptcha > copying build/lib/flask_wtf/recaptcha/__init__.py -> > build/bdist.linux-x86_64/wheel/flask_wtf/recaptcha > copying build/lib/flask_wtf/recaptcha/fields.py -> > build/bdist.linux-x86_64/wheel/flask_wtf/recaptcha > copying build/lib/flask_wtf/recaptcha/widgets.py -> > build/bdist.linux-x86_64/wheel/flask_wtf/recaptcha > copying build/lib/flask_wtf/recaptcha/validators.py -> > build/bdist.linux-x86_64/wheel/flask_wtf/recaptcha > copying build/lib/flask_wtf/csrf.py -> > build/bdist.linux-x86_64/wheel/flask_wtf > running install_egg_info > Copying src/Flask_WTF.egg-info to > build/bdist.linux-x86_64/wheel/Flask_WTF-1.1.1.egg-info > running install_scripts > creating build/bdist.linux-x86_64/wheel/Flask_WTF-1.1.1.dist-info/WHEEL > creating > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flaskext.wtf/.tmp-_p4dd3uz/Flask_WTF-1.1.1-py3-none-any.whl' > and adding 'build/bdist.linux-x86_64/wheel' to it > adding 'flask_wtf/__init__.py' > adding 'flask_wtf/_compat.py' > adding 'flask_wtf/csrf.py' > adding 'flask_wtf/file.py' > adding 'flask_wtf/form.py' > adding 'flask_wtf/i18n.py' > adding 'flask_wtf/recaptcha/__init__.py' > adding 'flask_wtf/recaptcha/fields.py' > adding 'flask_wtf/recaptcha/validators.py' > adding 'flask_wtf/recaptcha/widgets.py' > adding 'Flask_WTF-1.1.1.dist-info/LICENSE.rst' > adding 'Flask_WTF-1.1.1.dist-info/METADATA' > adding 'Flask_WTF-1.1.1.dist-info/WHEEL' > adding 'Flask_WTF-1.1.1.dist-info/top_level.txt' > adding 'Flask_WTF-1.1.1.dist-info/RECORD' > removing build/bdist.linux-x86_64/wheel > Successfully built Flask_WTF-1.1.1-py3-none-any.whl > I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:291: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flaskext.wtf/build; python3.11 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > configfile: setup.cfg > collected 51 items > > tests/test_csrf_extension.py ......... [ > 17%] > tests/test_csrf_form.py ........ [ > 33%] > tests/test_file.py ...s..... [ > 50%] > tests/test_form.py ......... [ > 68%] > tests/test_i18n.py .F. [ > 74%] > tests/test_recaptcha.py ............. > [100%] > > =================================== FAILURES > =================================== > __________________________________ test_i18n > ___________________________________ > > app = <Flask 'conftest'>, client = <FlaskClient <Flask 'conftest'>> > > def test_i18n(app, client): > try: > from flask_babel import Babel > except ImportError: > pytest.skip("Flask-Babel must be installed.") > > babel = Babel(app) > > > @babel.localeselector > E AttributeError: 'Babel' object has no attribute 'localeselector' > > tests/test_i18n.py:37: AttributeError > =========================== short test summary info > ============================ > FAILED tests/test_i18n.py::test_i18n - AttributeError: 'Babel' object has no > ... > =================== 1 failed, 49 passed, 1 skipped in 0.31s > ==================== > E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_flaskext.wtf/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/09/25/flask-wtf_1.1.1-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&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.