Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get travis running successfully for python 3.x, django 1.7 #496

Closed
troygrosfield opened this issue Oct 25, 2014 · 0 comments · Fixed by #497
Closed

Get travis running successfully for python 3.x, django 1.7 #496

troygrosfield opened this issue Oct 25, 2014 · 0 comments · Fixed by #497

Comments

@troygrosfield
Copy link
Collaborator

The issue with django 1.7 has to do with south and django's new migrations:

0.73s$ coverage run manage.py test $TESTS --settings=$SETTINGS -v2
Coverage.py warning: Module open_facebook was never imported.
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
    django.setup()
  File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/home/travis/virtualenv/python3.4.1/lib/python3.4/site-packages/django/apps/config.py", line 87, in create
    module = import_module(entry)
  File "/home/travis/virtualenv/python3.4.1/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2224, in _find_and_load_unlocked
ImportError: No module named 'south'
The command "coverage run manage.py test $TESTS --settings=$SETTINGS -v2" exited with 1.

This was from the following test failure:

For references to fixes, see:

Ping: #493, #491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant