Control: tag -1 + confirmed The package fails to build with Django 1.7:
debian/rules override_dh_auto_test make[1]: Entering directory '/«PKGBUILDDIR»' django-admin startproject testproject Using: Python 2.7 if [ -d testproject/testproject ]; then \ cp debian/settings.py testproject/testproject/settings.py; \ else \ cp debian/settings.py testproject ; \ fi set -e; \ for python in python2.7; do \ rm -f testproject/test.db3 ; \ PYTHONPATH="src:testproject" $python testproject/manage.py test --settings=testproject.settings reversion ; \ done /«PKGBUILDDIR»/src/reversion/admin.py:129: RemovedInDjango18Warning: Options.module_name has been deprecated in favor of model_name info = opts.app_label, opts.module_name, System check identified some issues: 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. [...] Traceback (most recent call last): File "testproject/manage.py", line 10, in <module> execute_from_command_line(sys.argv) Creating test database for alias 'default'... File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 377, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 50, in run_from_argv super(Command, self).run_from_argv(argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 71, in execute super(Command, self).execute(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 337, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 88, in handle failures = test_runner.run_tests(test_labels) 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 115, in call_command return klass.execute(*args, **defaults) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 337, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 160, in handle executor.migrate(targets, plan, fake=options.get("fake", False)) File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 63, in migrate self.apply_migration(migration, fake=fake) File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 91, in apply_migration if self.detect_soft_applied(migration): File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 135, in detect_soft_applied apps = project_state.render() File "/usr/lib/python2.7/dist-packages/django/db/migrations/state.py", line 71, in render raise InvalidBasesError("Cannot resolve bases for %r\nThis can happen if you are inheriting models from an app with migrations (e.g. contrib.auth)\n in an app with no migrations; see https://docs.djangoproject.com/en/1.7/topics/migrations/#dependencies for more" % new_unrendered_models) django.db.migrations.state.InvalidBasesError: Cannot resolve bases for [<ModelState: 'reversion.ReversionTestModel1Proxy'>] This can happen if you are inheriting models from an app with migrations (e.g. contrib.auth) in an app with no migrations; see https://docs.djangoproject.com/en/1.7/topics/migrations/#dependencies for more make[1]: *** [override_dh_auto_test] Error 1 Cheers, -- Raphaël Hertzog ◈ Debian Developer Discover the Debian Administrator's Handbook: → http://debian-handbook.info/get/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org