﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26923	Test suite broken with numpy 1.8.2 in template_tests.syntax_tests.test_numpy	Raphaël Hertzog	nobody	"The change made in 3e562cf7a2fab31b4f129661ba9411710d24c5e7 broke Django's test suite (and thus package build) on Debian 8 which contains Numpy 1.8.2.

Django can't afford to work only with the very latest version of each library. Such change should be gradual and made in a backwards-compatible way.

{{{
======================================================================
ERROR: template_tests.syntax_tests.test_numpy (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/usr/lib/python3.4/unittest/case.py"", line 58, in testPartExecutor
    yield
  File ""/usr/lib/python3.4/unittest/case.py"", line 577, in run
    testMethod()
  File ""/usr/lib/python3.4/unittest/loader.py"", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: template_tests.syntax_tests.test_numpy
Traceback (most recent call last):
  File ""/usr/lib/python3.4/unittest/loader.py"", line 312, in _find_tests
    module = self._get_module_from_name(name)
  File ""/usr/lib/python3.4/unittest/loader.py"", line 290, in _get_module_from_name
    __import__(name)
  File ""/<<PKGBUILDDIR>>/tests/template_tests/syntax_tests/test_numpy.py"", line 10, in <module>
    VisibleDeprecationWarning = numpy.VisibleDeprecationWarning
AttributeError: 'module' object has no attribute 'VisibleDeprecationWarning'
}}}

A patch will follow. It should be backported to all releases where the broken commit has been backported."	Bug	closed	Template system	1.8	Normal	fixed		bmispelon@…	Ready for checkin	1	0	0	0	0	0
