[Python-modules-team] Bug#865920: djangorestframework-gis FTBFS with Django 1.11

Adrian Bunk bunk at debian.org
Sun Jun 25 20:03:27 UTC 2017


Source: djangorestframework-gis
Version: 0.11-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/djangorestframework-gis.html

...
dh_auto_test -- --system=custom --test-args="{interpreter} ./runtests.py"
I: pybuild base:184: python2.7 ./runtests.py
Creating test database for alias 'default'...
Traceback (most recent call last):
  File "./runtests.py", line 15, in <module>
    execute_from_command_line(args)
  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 355, 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 29, in run_from_argv
    super(Command, self).run_from_argv(argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/test.py", line 62, in handle
    failures = test_runner.run_tests(test_labels)
  File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 602, in run_tests
    self.run_checks()
  File "/usr/lib/python2.7/dist-packages/django/test/runner.py", line 562, in run_checks
    call_command('check', verbosity=self.verbosity)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 130, in call_command
    return command.execute(*args, **defaults)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/check.py", line 68, in handle
    fail_level=getattr(checks, options['fail_level']),
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 359, in check
    include_deployment_checks=include_deployment_checks,
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 346, in _run_checks
    return checks.run_checks(**kwargs)
  File "/usr/lib/python2.7/dist-packages/django/core/checks/registry.py", line 81, in run_checks
    new_errors = check(app_configs=app_configs)
  File "/usr/lib/python2.7/dist-packages/django/core/checks/urls.py", line 16, in check_url_config
    return check_resolver(resolver)
  File "/usr/lib/python2.7/dist-packages/django/core/checks/urls.py", line 26, in check_resolver
    return check_method()
  File "/usr/lib/python2.7/dist-packages/django/urls/resolvers.py", line 254, in check
    for pattern in self.url_patterns:
  File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/lib/python2.7/dist-packages/django/urls/resolvers.py", line 405, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/lib/python2.7/dist-packages/django/urls/resolvers.py", line 398, in urlconf_module
    return import_module(self.urlconf_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "tests/urls.py", line 11, in <module>
    url(r'', include('django_restframework_gis_tests.urls')),
  File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 50, in include
    urlconf_module = import_module(urlconf_module)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "tests/django_restframework_gis_tests/urls.py", line 2, in <module>
    from . import views
  File "tests/django_restframework_gis_tests/views.py", line 3, in <module>
    from rest_framework_gis.filters import *
  File "/build/1st/djangorestframework-gis-0.11/rest_framework_gis/filters.py", line 18, in <module>
    'restframework-gis filters depend on package "django-filter" '
django.core.exceptions.ImproperlyConfigured: restframework-gis filters depend on package "django-filter" which is missing. Install with "pip install django-filter".
E: pybuild pybuild:283: test: plugin custom failed with: exit code=1: python2.7 ./runtests.py
dh_auto_test: pybuild --test -i python{version} -p 2.7 --system=custom --test-args={interpreter} ./runtests.py returned exit code 13
debian/rules:12: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25



More information about the Python-modules-team mailing list