Comment 6 for bug 2050093

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Re: DEP8 failure due to distutils import

Just in case the DEP8 log gets wiped, this is the error:
344s autopkgtest [06:02:28]: test command1: python3 runtests.py
344s autopkgtest [06:02:28]: test command1: [-----------------------
344s /tmp/autopkgtest.LCD785/build.iLk/src/runtests.py:61: RemovedInDjango50Warning: The extra_tests argument is deprecated.
344s failures = test_runner.run_tests(['bootstrapform'], test_args)
344s Found 1 test(s).
344s Traceback (most recent call last):
344s File "/tmp/autopkgtest.LCD785/build.iLk/src/runtests.py", line 66, in <module>
344s runtests(*sys.argv[1:])
344s File "/tmp/autopkgtest.LCD785/build.iLk/src/runtests.py", line 61, in runtests
344s failures = test_runner.run_tests(['bootstrapform'], test_args)
344s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
344s File "/usr/lib/python3/dist-packages/django/test/runner.py", line 1060, in run_tests
344s self.run_checks(databases)
344s File "/usr/lib/python3/dist-packages/django/test/runner.py", line 977, in run_checks
344s call_command("check", verbosity=self.verbosity, databases=databases)
344s File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 110, in call_command
344s app_name = get_commands()[command_name]
344s ^^^^^^^^^^^^^^
344s File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 76, in get_commands
344s for app_config in reversed(apps.get_app_configs()):
344s ^^^^^^^^^^^^^^^^^^^^^^
344s File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 147, in get_app_configs
344s self.check_apps_ready()
344s File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 138, in check_apps_ready
344s raise AppRegistryNotReady("Apps aren't loaded yet.")
344s django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.