#26923: Test suite broken with numpy 1.8.2 in template_tests.syntax_tests.test_numpy ---------------------------------+-------------------- Reporter: rhertzog | Owner: nobody Type: Bug | Status: new Component: Template system | Version: 1.8 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+-------------------- 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. -- Ticket URL: <https://code.djangoproject.com/ticket/26923> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/051.fd2281e5f19be8dfce0f8afd4c9c139e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.