[Python-modules-team] Bug#961163: django-modeltranslation: FTBFS with Django 3.x

Chris Lamb lamby at debian.org
Wed May 20 21:45:53 BST 2020


Source: django-modeltranslation
Version: 0.13.3-0.1
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,
django-modeltranslation 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.

  […]

     debian/rules override_dh_auto_test
  make[1]: Entering directory '/home/lamby/temp/cdt.20200517002452.CQB2y6IUfr.ags.lamby-debian-experimental.python3-django-modeltranslation/django-modeltranslation-0.13.3'
  PYBUILD_SYSTEM=custom \
  	PYBUILD_TEST_ARGS="{interpreter} ./runtests.py" \
  	dh_auto_test
  I: pybuild base:217: python3.8 ./runtests.py
  Traceback (most recent call last):
    File "./runtests.py", line 62, in <module>
      runtests(*args)
    File "./runtests.py", line 50, in runtests
      django.setup()
    File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup
      apps.populate(settings.INSTALLED_APPS)
    File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 122, in populate
      app_config.ready()
    File "/home/lamby/temp/cdt.20200517002452.CQB2y6IUfr.ags.lamby-debian-experimental.python3-django-modeltranslation/django-modeltranslation-0.13.3/modeltranslation/apps.py", line 11, in ready
      handle_translation_registrations()
    File "/home/lamby/temp/cdt.20200517002452.CQB2y6IUfr.ags.lamby-debian-experimental.python3-django-modeltranslation/django-modeltranslation-0.13.3/modeltranslation/models.py", line 75, in handle_translation_registrations
      autodiscover()
    File "/home/lamby/temp/cdt.20200517002452.CQB2y6IUfr.ags.lamby-debian-experimental.python3-django-modeltranslation/django-modeltranslation-0.13.3/modeltranslation/models.py", line 14, in autodiscover
      from modeltranslation.translator import translator
    File "/home/lamby/temp/cdt.20200517002452.CQB2y6IUfr.ags.lamby-debian-experimental.python3-django-modeltranslation/django-modeltranslation-0.13.3/modeltranslation/translator.py", line 5, in <module>
      from django.utils.six import with_metaclass
  ModuleNotFoundError: No module named 'django.utils.six'
  E: pybuild pybuild:352: test: plugin custom failed with: exit code=1: python3.8 ./runtests.py
  dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit code 13
  make[1]: *** [debian/rules:13: override_dh_auto_test] Error 25
  make[1]: Leaving directory '/home/lamby/temp/cdt.20200517002452.CQB2y6IUfr.ags.lamby-debian-experimental.python3-django-modeltranslation/django-modeltranslation-0.13.3'
  make: *** [debian/rules:6: 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: django-modeltranslation.0.13.3-0.1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2195 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200520/538ca79d/attachment-0001.obj>


More information about the Python-modules-team mailing list