[Python-modules-team] Bug#908277: wtforms: FTBFS (failing tests)
Santiago Vila
sanvila at debian.org
Fri Sep 7 21:56:45 BST 2018
Package: src:wtforms
Version: 2.1-2
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with sphinxdoc,python2,python3 --buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config
running config
I: pybuild base:217: python3.6 setup.py config
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build
running build
running build_py
[... snipped ...]
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python-coverage run tests/runtests.py
### Disabled test 'ext_django.tests', dependency not found
..............................................................................................................................................................................FF.
======================================================================
FAIL: test_formatting (locale_babel.TestLocaleDecimal)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/locale_babel.py", line 49, in test_formatting
self._format_test("-12'345.2", '-12345.2', ['de_CH'])
File "/<<PKGBUILDDIR>>/tests/locale_babel.py", line 23, in _format_test
self.assertEqual(form.a._value(), expected)
AssertionError: u'-12\u2019345.2' != u"-12'345.2"
- -12\u2019345.2
? ^
+ -12'345.2
? ^
======================================================================
FAIL: test_parsing (locale_babel.TestLocaleDecimal)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/locale_babel.py", line 77, in test_parsing
self._parse_test("1'23'456.789", expected, ['de_CH'])
File "/<<PKGBUILDDIR>>/tests/locale_babel.py", line 59, in _parse_test
raw_val, form.a.errors,
AssertionError: Expected value u"1'23'456.789" to parse as a decimal, instead got [u'Keine g\xfcltige Dezimalzahl']
----------------------------------------------------------------------
Ran 177 tests in 0.379s
FAILED (failures=2)
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
That's from my autobuilder, but it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/wtforms.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Python-modules-team
mailing list