[Python-modules-team] Bug#961169: python-django-navtag: FTBFS with Django 3.x

Chris Lamb lamby at debian.org
Wed May 20 21:55:17 BST 2020


Source: python-django-navtag
Version: 2.1.3-2
Severity: normal
User: python-modules-team at lists.alioth.debian.org
Usertags: django-3.x

Dear maintainer,

The version of Django experimental is currently 3.0.6-1. I have built
the 153 reverse-dependencies in unstable against this version and 114
of these build & pass their testsuite successfully. Unfortunately,
python-django-navtag fails to build. Please see:

    http://bugs.debian.org/960890

... for more information. Please use this bug report for queries
or questions regarding Django 3.x that are not specific to this
particular package in order to reduce duplicated work across all of
the bugs.

  […]

  dh_auto_test -- --system=custom --test-args="{interpreter} /usr/bin/django-admin test django_navtag.tests"
  I: pybuild base:217: python3.8 /usr/bin/django-admin test django_navtag.tests
  E
  ======================================================================
  ERROR: django_navtag.tests.test_navtag (unittest.loader._FailedTest)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: django_navtag.tests.test_navtag
  Traceback (most recent call last):
    File "/usr/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
      module = self._get_module_from_name(name)
    File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
      __import__(name)
    File "/home/lamby/temp/cdt.20200517002556.DquEm9jhp8.ags.lamby-debian-experimental.python3-django-navtag/python-django-navtag-2.1.3/django_navtag/tests/test_navtag.py", line 5, in <module>
      from django_navtag.templatetags.navtag import NavNode
    File "/home/lamby/temp/cdt.20200517002556.DquEm9jhp8.ags.lamby-debian-experimental.python3-django-navtag/python-django-navtag-2.1.3/django_navtag/templatetags/navtag.py", line 2, in <module>
      from django.utils import six, safestring
  ImportError: cannot import name 'six' from 'django.utils' (/usr/lib/python3/dist-packages/django/utils/__init__.py)
  
  
  ----------------------------------------------------------------------
  Ran 1 test in 0.000s
  
  FAILED (errors=1)
  System check identified no issues (0 silenced).
  E: pybuild pybuild:352: test: plugin custom failed with: exit code=1: python3.8 /usr/bin/django-admin test django_navtag.tests
  dh_auto_test: error: pybuild --test -i python{version} -p 3.8 --system=custom "--test-args={interpreter} /usr/bin/django-admin test django_navtag.tests" returned exit code 13
  make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25
  make[1]: Leaving directory '/home/lamby/temp/cdt.20200517002556.DquEm9jhp8.ags.lamby-debian-experimental.python3-django-navtag/python-django-navtag-2.1.3'
  make: *** [debian/rules:9: build] Error 2
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-django-navtag.2.1.3-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1705 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200520/2f48154c/attachment.obj>


More information about the Python-modules-team mailing list