[Python-modules-team] Bug#755644: Bug#755644: python-django-jsonfield: Please ensure it works with Django 1.7
Brian May
brian at microcomaustralia.com.au
Wed Jul 23 04:27:25 UTC 2014
I think the library itself is fine, but the tests fail:
brian at aquitard:~/tree/debian/unstable/python-django-jsonfield/python-django-jsonfield-0.9.12$
python tests.py
Creating test database for alias 'default'...
Traceback (most recent call last):
File "tests.py", line 55, in <module>
main()
File "tests.py", line 47, in main
failures = test_runner.run_tests(['jsonfield'])
File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 147,
in run_tests
old_config = self.setup_databases()
File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 109,
in setup_databases
return setup_databases(self.verbosity, self.interactive, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 299,
in setup_databases
serialize=connection.settings_dict.get("TEST_SERIALIZE", True),
File "/usr/lib/python2.7/dist-packages/django/db/backends/creation.py",
line 374, in create_test_db
test_flush=True,
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
93, in call_command
app_name = get_commands()[name]
File "/usr/lib/python2.7/dist-packages/django/utils/lru_cache.py", line
101, in wrapper
result = user_function(*args, **kwds)
File
"/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line
73, in get_commands
for app_config in reversed(list(apps.get_app_configs())):
File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line
137, in get_app_configs
self.check_apps_ready()
File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line
124, in check_apps_ready
raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
That looks suspiciously like a Django 1.7 issue.
I get a similar error if I run "python setup.py test".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140723/e948a92b/attachment.html>
More information about the Python-modules-team
mailing list