Source: wtforms-components Version: 0.10.5-3 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): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_build > pybuild --build -i python{version} -p "3.11 3.10" > I: pybuild base:240: /usr/bin/python3.11 setup.py build > /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: > SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use > license_files instead. > warnings.warn(msg, warning_class) > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components > copying wtforms_components/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components > copying wtforms_components/validators.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components > copying wtforms_components/_compat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components > copying wtforms_components/widgets.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components > copying wtforms_components/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/html5.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/ajax.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/time.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/color.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/split_date_time.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/passive_hidden.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/select.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/select_multiple.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/json_field.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/interval.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build/wtforms_components/fields > running egg_info > creating WTForms_Components.egg-info > writing WTForms_Components.egg-info/PKG-INFO > writing dependency_links to WTForms_Components.egg-info/dependency_links.txt > writing requirements to WTForms_Components.egg-info/requires.txt > writing top-level names to WTForms_Components.egg-info/top_level.txt > writing manifest file 'WTForms_Components.egg-info/SOURCES.txt' > reading manifest file 'WTForms_Components.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.pyc' found under directory > 'tests' > 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_Components.egg-info/SOURCES.txt' > I: pybuild base:240: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: > SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use > license_files instead. > warnings.warn(msg, warning_class) > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components > copying wtforms_components/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components > copying wtforms_components/validators.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components > copying wtforms_components/_compat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components > copying wtforms_components/widgets.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components > copying wtforms_components/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/html5.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/ajax.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/time.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/color.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/split_date_time.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/passive_hidden.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/select.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/select_multiple.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/json_field.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > copying wtforms_components/fields/interval.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build/wtforms_components/fields > running egg_info > writing WTForms_Components.egg-info/PKG-INFO > writing dependency_links to WTForms_Components.egg-info/dependency_links.txt > writing requirements to WTForms_Components.egg-info/requires.txt > writing top-level names to WTForms_Components.egg-info/top_level.txt > reading manifest file 'WTForms_Components.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.pyc' found under directory > 'tests' > 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_Components.egg-info/SOURCES.txt' > PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html > Running Sphinx v5.3.0 > making output directory... done > WARNING: html_static_path entry '_static' does not exist > loading intersphinx inventory from http://docs.python.org/objects.inv... > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due > to <class 'requests.exceptions.ProxyError'>: > HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: > http://docs.python.org/objects.inv (Caused by ProxyError('Cannot connect to > proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at > 0x7fbf1932ac50>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 1 source files that are out of date > updating environment: [new config] 1 added, 0 changed, 0 removed > reading sources... [100%] index > > /<<PKGBUILDDIR>>/docs/index.rst:70: WARNING: Title underline too short. > > SelectField & SelectMultipleField > ----------- > /<<PKGBUILDDIR>>/docs/index.rst:70: WARNING: Title underline too short. > > SelectField & SelectMultipleField > ----------- > /<<PKGBUILDDIR>>/docs/index.rst:214: ERROR: Unknown target name: "django's > email validator". > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [100%] index > > generating indices... genindex done > writing additional pages... search done > copying static files... done > copying extra files... done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded, 5 warnings. > > The HTML pages are in build/html. > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > pybuild --test --test-pytest -i python{version} -p "3.11 3.10" > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build; python3.11 > -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>> > collected 135 items > > tests/test_chain_validator.py F [ > 0%] > tests/test_date_range_validator.py ... [ > 2%] > tests/test_email_validator.py ......................... [ > 21%] > tests/test_if_validator.py ... [ > 23%] > tests/test_read_only_function.py ... [ > 25%] > tests/test_time_range_validator.py ... [ > 28%] > tests/test_widgets.py .. [ > 29%] > tests/fields/test_color_field.py .... [ > 32%] > tests/fields/test_date_field.py ...... [ > 37%] > tests/fields/test_date_time_field.py ...... [ > 41%] > tests/fields/test_date_time_local_field.py ...... [ > 45%] > tests/fields/test_decimal_field.py ....... [ > 51%] > tests/fields/test_int_interval_field.py ........ [ > 57%] > tests/fields/test_integer_field.py ...... [ > 61%] > tests/fields/test_json_field.py .. [ > 62%] > tests/fields/test_passive_hidden_field.py . [ > 63%] > tests/fields/test_read_only_fields.py . [ > 64%] > tests/fields/test_search_field.py ..... [ > 68%] > tests/fields/test_select_field.py ........ [ > 74%] > tests/fields/test_select_multiple_field.py .. [ > 75%] > tests/fields/test_split_date_time_field.py .......... [ > 82%] > tests/fields/test_string_field.py ..... [ > 86%] > tests/fields/test_time_field.py .................. > [100%] > > =================================== FAILURES > =================================== > ________________ TestChainValidator.test_validates_whole_chain > _________________ > > self = <tests.test_chain_validator.TestChainValidator object at > 0x7f32a379ea10> > > def test_validates_whole_chain(self): > > class MyForm(Form): > > tests/test_chain_validator.py:16: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > tests/test_chain_validator.py:17: in MyForm > email = TextField(validators=[Chain([DataRequired(), Email()])]) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <wtforms.validators.Email object at 0x7f32a2f69e10>, message = None > granular_message = False, check_deliverability = False, allow_smtputf8 = True > allow_empty_local = False > > def __init__( > self, > message=None, > granular_message=False, > check_deliverability=False, > allow_smtputf8=True, > allow_empty_local=False, > ): > if email_validator is None: # pragma: no cover > > raise Exception("Install 'email_validator' for email validation > > support.") > E Exception: Install 'email_validator' for email validation support. > > /usr/lib/python3/dist-packages/wtforms/validators.py:393: Exception > =========================== short test summary info > ============================ > FAILED > tests/test_chain_validator.py::TestChainValidator::test_validates_whole_chain > ======================== 1 failed, 134 passed in 0.32s > ========================= > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_wtforms-components/build; python3.11 > -m pytest tests > I: pybuild base:240: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build; python3.10 > -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack > rootdir: /<<PKGBUILDDIR>> > collected 135 items > > tests/test_chain_validator.py F [ > 0%] > tests/test_date_range_validator.py ... [ > 2%] > tests/test_email_validator.py ......................... [ > 21%] > tests/test_if_validator.py ... [ > 23%] > tests/test_read_only_function.py ... [ > 25%] > tests/test_time_range_validator.py ... [ > 28%] > tests/test_widgets.py .. [ > 29%] > tests/fields/test_color_field.py .... [ > 32%] > tests/fields/test_date_field.py ...... [ > 37%] > tests/fields/test_date_time_field.py ...... [ > 41%] > tests/fields/test_date_time_local_field.py ...... [ > 45%] > tests/fields/test_decimal_field.py ....... [ > 51%] > tests/fields/test_int_interval_field.py ........ [ > 57%] > tests/fields/test_integer_field.py ...... [ > 61%] > tests/fields/test_json_field.py .. [ > 62%] > tests/fields/test_passive_hidden_field.py . [ > 63%] > tests/fields/test_read_only_fields.py . [ > 64%] > tests/fields/test_search_field.py ..... [ > 68%] > tests/fields/test_select_field.py ........ [ > 74%] > tests/fields/test_select_multiple_field.py .. [ > 75%] > tests/fields/test_split_date_time_field.py .......... [ > 82%] > tests/fields/test_string_field.py ..... [ > 86%] > tests/fields/test_time_field.py .................. > [100%] > > =================================== FAILURES > =================================== > ________________ TestChainValidator.test_validates_whole_chain > _________________ > > self = <tests.test_chain_validator.TestChainValidator object at > 0x7fb42bcfe9e0> > > def test_validates_whole_chain(self): > > class MyForm(Form): > > tests/test_chain_validator.py:16: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > tests/test_chain_validator.py:17: in MyForm > email = TextField(validators=[Chain([DataRequired(), Email()])]) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > self = <wtforms.validators.Email object at 0x7fb42b5af910>, message = None > granular_message = False, check_deliverability = False, allow_smtputf8 = True > allow_empty_local = False > > def __init__( > self, > message=None, > granular_message=False, > check_deliverability=False, > allow_smtputf8=True, > allow_empty_local=False, > ): > if email_validator is None: # pragma: no cover > > raise Exception("Install 'email_validator' for email validation > > support.") > E Exception: Install 'email_validator' for email validation support. > > /usr/lib/python3/dist-packages/wtforms/validators.py:393: Exception > =========================== short test summary info > ============================ > FAILED > tests/test_chain_validator.py::TestChainValidator::test_validates_whole_chain > ======================== 1 failed, 134 passed in 0.36s > ========================= > E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wtforms-components/build; python3.10 > -m pytest tests > rm -fr -- /tmp/dh-xdg-rundir-NMGlkHY2 > dh_auto_test: error: pybuild --test --test-pytest -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/wtforms-components_0.10.5-3_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.