[Python-modules-team] Bug#865790: django-countries FTBFS with Django 1.11
Adrian Bunk
bunk at debian.org
Sat Jun 24 19:59:56 UTC 2017
Source: django-countries
Version: 3.4.1-2.1
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/django-countries.html
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/django-countries-3.4.1'
set -e; \
for python in python2.7 python3.5; do \
PYTHONPATH="." DJANGO_SETTINGS_MODULE=django_countries.tests.settings $python /usr/bin/django-admin test django_countries.tests;\
done
Traceback (most recent call last):
File "/usr/bin/django-admin", line 21, in <module>
management.execute_from_command_line()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 307, in execute
settings.INSTALLED_APPS
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 56, in __getattr__
self._setup(name)
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 41, in _setup
self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 110, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/build/1st/django-countries-3.4.1/django_countries/__init__.py", line 5, in <module>
from django_countries.conf import settings
File "/build/1st/django-countries-3.4.1/django_countries/conf.py", line 4, in <module>
class AppSettings(django.conf.BaseSettings):
AttributeError: 'module' object has no attribute 'BaseSettings'
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
More information about the Python-modules-team
mailing list