Source: wtforms-json Version: 0.3.5-3 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240615 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 --with sphinxdoc --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:311: python3.12 setup.py config > running config > I: pybuild base:311: python3.11 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:311: /usr/bin/python3.12 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_wtforms-json/build/wtforms_json > copying wtforms_json/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_wtforms-json/build/wtforms_json > running egg_info > creating WTForms_JSON.egg-info > writing WTForms_JSON.egg-info/PKG-INFO > writing dependency_links to WTForms_JSON.egg-info/dependency_links.txt > writing requirements to WTForms_JSON.egg-info/requires.txt > writing top-level names to WTForms_JSON.egg-info/top_level.txt > writing manifest file 'WTForms_JSON.egg-info/SOURCES.txt' > reading manifest file 'WTForms_JSON.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no files found matching 'tests.py' > warning: no previously-included files matching '*.pyc' found under directory > 'docs' > no previously-included directories found matching 'docs/_build' > warning: no previously-included files found matching 'docs/_themes/.git' > adding license file 'LICENSE' > writing manifest file 'WTForms_JSON.egg-info/SOURCES.txt' > I: pybuild base:311: /usr/bin/python3 setup.py build > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-json/build/wtforms_json > copying wtforms_json/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-json/build/wtforms_json > running egg_info > writing WTForms_JSON.egg-info/PKG-INFO > writing dependency_links to WTForms_JSON.egg-info/dependency_links.txt > writing requirements to WTForms_JSON.egg-info/requires.txt > writing top-level names to WTForms_JSON.egg-info/top_level.txt > reading manifest file 'WTForms_JSON.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no files found matching 'tests.py' > warning: no previously-included files matching '*.pyc' found under directory > 'docs' > no previously-included directories found matching 'docs/_build' > warning: no previously-included files found matching 'docs/_themes/.git' > adding license file 'LICENSE' > writing manifest file 'WTForms_JSON.egg-info/SOURCES.txt' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:311: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_wtforms-json/build; python3.12 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 > rootdir: /<<PKGBUILDDIR>> > collected 37 items / 1 error > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.12_wtforms-json/build/tests/test_wtforms_alchemy.py _ > tests/test_wtforms_alchemy.py:8: in <module> > Base = declarative_base(engine) > <string>:2: in declarative_base > ??? > /usr/lib/python3/dist-packages/sqlalchemy/util/deprecations.py:386: in warned > return fn(*args, **kwargs) # type: ignore[no-any-return] > /usr/lib/python3/dist-packages/sqlalchemy/ext/declarative/__init__.py:27: in > declarative_base > return _declarative_base(*arg, **kw) > E TypeError: declarative_base() takes 0 positional arguments but 1 was given > =============================== warnings summary > =============================== > tests/test_wtforms_alchemy.py:8 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_wtforms-json/build/tests/test_wtforms_alchemy.py:8: > MovedIn20Warning: The ``declarative_base()`` function is now available as > sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on > SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) > Base = declarative_base(engine) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > ERROR tests/test_wtforms_alchemy.py - TypeError: declarative_base() takes 0 > p... > !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection > !!!!!!!!!!!!!!!!!!!! > ========================= 1 warning, 1 error in 0.77s > ========================== > E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_wtforms-json/build; python3.12 -m > pytest tests > I: pybuild base:311: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-json/build; python3.11 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0 > rootdir: /<<PKGBUILDDIR>> > collected 37 items / 1 error > > ==================================== ERRORS > ==================================== > _ ERROR collecting > .pybuild/cpython3_3.11_wtforms-json/build/tests/test_wtforms_alchemy.py _ > tests/test_wtforms_alchemy.py:8: in <module> > Base = declarative_base(engine) > <string>:2: in declarative_base > ??? > /usr/lib/python3/dist-packages/sqlalchemy/util/deprecations.py:386: in warned > return fn(*args, **kwargs) # type: ignore[no-any-return] > /usr/lib/python3/dist-packages/sqlalchemy/ext/declarative/__init__.py:27: in > declarative_base > return _declarative_base(*arg, **kw) > E TypeError: declarative_base() takes 0 positional arguments but 1 was given > =============================== warnings summary > =============================== > tests/test_wtforms_alchemy.py:8 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-json/build/tests/test_wtforms_alchemy.py:8: > MovedIn20Warning: The ``declarative_base()`` function is now available as > sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on > SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) > Base = declarative_base(engine) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > ERROR tests/test_wtforms_alchemy.py - TypeError: declarative_base() takes 0 > p... > !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection > !!!!!!!!!!!!!!!!!!!! > ========================= 1 warning, 1 error in 0.91s > ========================== > E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-json/build; python3.11 -m > pytest tests > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2024/06/15/wtforms-json_0.3.5-3_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&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.