[Python-modules-team] Bug#805662: flask-wtf: FTBFS: ImportError: No module named flask.ext.babel

Chris West (Faux) solo-debianbugs at goeswhere.com
Fri Nov 20 19:58:26 UTC 2015


Source: flask-wtf
Version: 0.12-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build, due to missing dependencies (?).  It also
fails to build on jenkins (and my builder) due to trying to talk to the
internet, which is DENIED:

....................E....F......................
======================================================================
ERROR: tests.test_i18n.TestI18NCase.test_i18n_enabled
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/flask-wtf-0.12/.pybuild/pythonX.Y_2.7/build/tests/test_i18n.py", line 18, in test_i18n_enabled
    from flask.ext.babel import Babel
  File "/usr/lib/python2.7/dist-packages/flask/exthook.py", line 87, in load_module
    raise ImportError('No module named %s' % fullname)
ImportError: No module named flask.ext.babel

======================================================================
FAIL: tests.test_recaptcha.TestRecaptcha.test_send_recaptcha_request
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/flask-wtf-0.12/.pybuild/pythonX.Y_2.7/build/tests/test_recaptcha.py", line 46, in test_send_recaptcha_request
    assert b'invalid' in response.data
AssertionError: 

...

----------------------------------------------------------------------
Ran 48 tests in 0.370s

FAILED (errors=1, failures=1)
E: pybuild pybuild:274: test: plugin distutils failed with: exit code=1: cd /flask-wtf-0.12/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose tests

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/flask-wtf.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)



More information about the Python-modules-team mailing list