[Python-modules-team] Bug#844139: python-django: FTBFS: Tests failures

Scott Kitterman debian at kitterman.com
Sun Nov 13 03:01:50 UTC 2016

On Sat, 12 Nov 2016 21:15:22 +0100 Lucas Nussbaum <lucas at debian.org> wrote:
> Source: python-django
> Version: 1:1.10.3-1
> Severity: serious
> Tags: stretch sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20161111 qa-ftbfs
> Justification: FTBFS on amd64
> Hi,
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> This failure happens on a CPU with TSX extensions available, but is not
> reproducible on a machine without them. 

FAIL: test_fuzzy_compiling (i18n.test_compilation.FuzzyTranslationTest)
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
  File "/<<PKGBUILDDIR>>/tests/i18n/test_compilation.py", line 218, in 
    self.assertEqual(ugettext('Lenin'), force_text('Ленин'))
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 924, in 
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)
AssertionError: u'Lenin' != u'\u041b\u0435\u043d\u0438\u043d'
- Lenin
+ \u041b\u0435\u043d\u0438\u043d

The non-lazy evaluation test passes and the lazy evaluation code last changed 
before 1.10.0 was released, so if this is a problem in 1.10.3 in unstable, it 
also affects 1.10.1 in testing.

Scott K

More information about the Python-modules-team mailing list