Source: wtf-peewee
Version: 3.0.0+dfsg-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

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 
> running config
> I: pybuild base:240: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/tests.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/orm.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/_compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/fields.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtf-peewee/build/wtfpeewee
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/tests.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/orm.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/_compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtf-peewee/build/wtfpeewee
> copying wtfpeewee/fields.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtf-peewee/build/wtfpeewee
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing wtf_peewee.egg-info/PKG-INFO
> writing dependency_links to wtf_peewee.egg-info/dependency_links.txt
> writing requirements to wtf_peewee.egg-info/requires.txt
> writing top-level names to wtf_peewee.egg-info/top_level.txt
> reading manifest file 'wtf_peewee.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*' under directory 'example'
> adding license file 'LICENSE'
> writing manifest file 'wtf_peewee.egg-info/SOURCES.txt'
> running build_ext
> runtests (unittest.loader._FailedTest.runtests) ... ERROR
> 
> ======================================================================
> ERROR: runtests (unittest.loader._FailedTest.runtests)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: runtests
> Traceback (most recent call last):
>   File "/usr/lib/python3.11/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/runtests.py", line 5, in <module>
>     from wtfpeewee import tests
>   File "/<<PKGBUILDDIR>>/wtfpeewee/tests.py", line 9, in <module>
>     from wtfpeewee.fields import *
>   File "/<<PKGBUILDDIR>>/wtfpeewee/fields.py", line 12, in <module>
>     from wtforms.widgets import HTMLString, html_params
> ImportError: cannot import name 'HTMLString' from 'wtforms.widgets' 
> (/usr/lib/python3/dist-packages/wtforms/widgets/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.001s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: 
> python3.11 setup.py test 
> I: pybuild base:240: python3.10 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing wtf_peewee.egg-info/PKG-INFO
> writing dependency_links to wtf_peewee.egg-info/dependency_links.txt
> writing requirements to wtf_peewee.egg-info/requires.txt
> writing top-level names to wtf_peewee.egg-info/top_level.txt
> reading manifest file 'wtf_peewee.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*' under directory 'example'
> adding license file 'LICENSE'
> writing manifest file 'wtf_peewee.egg-info/SOURCES.txt'
> running build_ext
> runtests (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: runtests (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: runtests
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 154, in 
> loadTestsFromName
>     module = __import__(module_name)
>   File "/<<PKGBUILDDIR>>/runtests.py", line 5, in <module>
>     from wtfpeewee import tests
>   File "/<<PKGBUILDDIR>>/wtfpeewee/tests.py", line 9, in <module>
>     from wtfpeewee.fields import *
>   File "/<<PKGBUILDDIR>>/wtfpeewee/fields.py", line 12, in <module>
>     from wtforms.widgets import HTMLString, html_params
> ImportError: cannot import name 'HTMLString' from 'wtforms.widgets' 
> (/usr/lib/python3/dist-packages/wtforms/widgets/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.001s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: 
> python3.10 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.11 3.10" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/wtf-peewee_3.0.0+dfsg-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&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.

Reply via email to