[Python-modules-team] Bug#777532: python-django: FTBFS in test deprecation.tests.DeprecatedChineseLanguageCodes.test_deprecation_warning
Raphaël Hertzog
hertzog at debian.org
Mon Feb 9 13:00:18 UTC 2015
Package: python-django
Version: 1.7.1-1.1
Severity: serious
Justification: FTBFS
The build fails when running the test suite in Python 3:
======================================================================
FAIL: test_deprecation_warning (deprecation.tests.DeprecatedChineseLanguageCodes)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/tests/deprecation/tests.py", line 206, in test_deprecation_warning
"The use of the language code 'zh-tw' is deprecated. "
AssertionError: Lists differ: ["The[93 chars].", "unclosed file <_io.FileIO name='/build/py[185 chars]ad."] != ["The[93 chars].", "The use of the language code 'zh-tw' is d[53 chars]ad."]
First differing element 1:
unclosed file <_io.FileIO name='/«PKGBUILDDIR»/tests/view_tests/media/long-line.txt' mode='rb'>
The use of the language code 'zh-tw' is deprecated. Please use the 'zh-hant' translation instead.
First list contains 1 additional elements.
First extra element 2:
The use of the language code 'zh-tw' is deprecated. Please use the 'zh-hant' translation instead.
["The use of the language code 'zh-cn' is deprecated. Please use the "
"'zh-hans' translation instead.",
- 'unclosed file <_io.FileIO '
- "name='/«PKGBUILDDIR»/tests/view_tests/media/long-line.txt' "
- "mode='rb'>",
"The use of the language code 'zh-tw' is deprecated. Please use the "
"'zh-hant' translation instead."]
----------------------------------------------------------------------
Ran 7275 tests in 231.349s
FAILED (failures=1, skipped=530, expected failures=7)
Applying sessions.0001_initial... OK
Destroying test database for alias 'default' (':memory:')...
Destroying test database for alias 'other' (':memory:')...
make[1]: *** [override_dh_auto_test] Error 1
debian/rules:30: recipe for target 'override_dh_auto_test' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build] Error 2
This is https://code.djangoproject.com/ticket/24193 fixed in Django 1.7.4.
-- System Information:
Debian Release: 8.0
APT prefers squeeze-lts
APT policy: (500, 'squeeze-lts'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-django depends on:
ii python-django-common 1.7.4-1~exp1
pn python:any <none>
Versions of packages python-django recommends:
ii libjs-jquery 1.7.2+dfsg-3.2
ii python-sqlparse 0.1.13-2
ii python-tz 2012c+dfsg-0.1
Versions of packages python-django suggests:
pn bpython <none>
pn geoip-database-extra | geoip-database-contrib <none>
ii gettext 0.19.3-2
pn ipython <none>
pn libgdal1 <none>
ii python-bcrypt 0.4-2+b1
ii python-django-doc 1.7.4-1~exp1
pn python-flup <none>
pn python-memcache <none>
pn python-mysqldb <none>
ii python-pil 2.6.1-1+b1
ii python-psycopg2 2.5.4+dfsg-1
pn python-sqlite <none>
ii python-yaml 3.11-2
-- no debconf information
More information about the Python-modules-team
mailing list