[Python-modules-team] Bug#755588: Fails to build with Django 1.7

Raphael Hertzog hertzog at debian.org
Thu Aug 7 19:42:29 UTC 2014


Control: tag -1 confirmed

The package fails to build with Django 1.7:

[...]
WARNINGS:
?: (1_7.W001) MIDDLEWARE_CLASSES is not set.
        HINT: Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware, djang
o.contrib.auth.middleware.AuthenticationMiddleware, and django.contrib.messages.middleware.MessageMiddleware were removed from the defaults.
 If your project needs these middleware then you should configure this setting.
.......................................E........E.......
======================================================================
ERROR: test_profile_flags (django_auth_ldap.tests.LDAPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«BUILDDIR»/django-auth-ldap-1.2.0+dfsg/django_auth_ldap/tests.py", line 797, in test_profile_flags
    self.assertTrue(alice.get_profile().is_special)
AttributeError: 'User' object has no attribute 'get_profile'

======================================================================
ERROR: test_signal_populate_user_profile (django_auth_ldap.tests.LDAPTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«BUILDDIR»/django-auth-ldap-1.2.0+dfsg/django_auth_ldap/tests.py", line 587, in test_signal_populate_user_profile
    self.assertTrue(user.get_profile().populated)
AttributeError: 'User' object has no attribute 'get_profile'

----------------------------------------------------------------------
Ran 56 tests in 0.187s

FAILED (errors=2)
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
make[1]: *** [override_dh_auto_test] Error 1

-- 
Raphaël Hertzog ◈ Debian Developer

Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/



More information about the Python-modules-team mailing list