South will not work with Django 1.7

Bug #1366571 reported by Andrew Starr-Bochicchio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-openid-auth
New
Undecided
Unassigned

Bug Description

asb@asb-laptop:~/Desktop/django-openid-auth$ tox -e py2.7-django1.7
GLOB sdist-make: /home/asb/Desktop/django-openid-auth/setup.py
py2.7-django1.7 inst-nodeps: /home/asb/Desktop/django-openid-auth/.tox/dist/django-openid-auth-0.5.zip
py2.7-django1.7 runtests: commands[0] | make check
WARNING:test command found but not installed in testenv
  cmd: /usr/bin/make
  env: /home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7
Maybe forgot to specify a dependency?
PYTHONPATH=/home/asb/Desktop/django-openid-auth python example_consumer/manage.py test \
    --verbosity=2 django_openid_auth
Traceback (most recent call last):
  File "example_consumer/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 50, in run_from_argv
    super(Command, self).run_from_argv(argv)
  File "/home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 71, in execute
    super(Command, self).execute(*args, **options)
  File "/home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7/local/lib/python2.7/site-packages/south/management/commands/test.py", line 7, in handle
    patch_for_test_db_setup()
  File "/home/asb/Desktop/django-openid-auth/.tox/py2.7-django1.7/local/lib/python2.7/site-packages/south/management/commands/__init__.py", line 34, in patch_for_test_db_setup
    management._commands['syncdb'] = MigrateAndSyncCommand()
AttributeError: 'module' object has no attribute '_commands'
make: *** [check] Error 1
ERROR: InvocationError: '/usr/bin/make check'
_____________________________________________________________________________ summary _____________________________________________________________________________
ERROR: py2.7-django1.7: commands failed

description: updated
Revision history for this message
Raphaël Hertzog (hertzog) wrote :

This is error happens when "south" is in INSTALLED_APPS. It should not be there with Django 1.7. This is however not the same errors that we saw during the Debian package build:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755667#10

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.