[Python-modules-team] Bug#961165: libthumbor: FTBFS with Django 3.x

Chris Lamb lamby at debian.org
Wed May 20 21:50:52 BST 2020


Source: libthumbor
Version: 1.3.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,
libthumbor 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.

  […]

      pieces.append(str(getattr(self, piece)()))
    File "/usr/lib/python3/dist-packages/django/utils/dateformat.py", line 287, in r
      return self.format('D, j M Y H:i:s O')
    File "/usr/lib/python3/dist-packages/django/utils/dateformat.py", line 38, in format
      pieces.append(str(getattr(self, piece)()))
    File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 124, in __text_cast
      return func(*self.__args, **self.__kw)
    File "/usr/lib/python3/dist-packages/django/utils/translation/__init__.py", line 92, in gettext
      return _trans.gettext(message)
    File "/usr/lib/python3/dist-packages/django/utils/translation/trans_real.py", line 354, in gettext
      _default = _default or translation(settings.LANGUAGE_CODE)
    File "/usr/lib/python3/dist-packages/django/utils/translation/trans_real.py", line 267, in translation
      _translations[language] = DjangoTranslation(language)
    File "/usr/lib/python3/dist-packages/django/utils/translation/trans_real.py", line 154, in __init__
      self._add_installed_apps_translations()
    File "/usr/lib/python3/dist-packages/django/utils/translation/trans_real.py", line 195, in _add_installed_apps_translations
      raise AppRegistryNotReady(
  django.core.exceptions.AppRegistryNotReady: The translation infrastructure cannot be initialized before the apps registry is ready. Check that you don't make non-lazy gettext calls at import time.
  -------------------- >> begin captured logging << --------------------
  django.db.backends: DEBUG: (0.000) SAVEPOINT "s139755412752192_x10"; args=None
  --------------------- >> end captured logging << ---------------------
  
  ----------------------------------------------------------------------
  Ran 79 tests in 0.283s
  
  FAILED (errors=10)
  E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /home/lamby/temp/cdt.20200517004702.Bpm1EcYkwZ.ags.lamby-debian-experimental.python3-libthumbor/libthumbor-1.3.3/.pybuild/cpython3_3.8_libthumbor/build; python3.8 -m nose -v tests
  dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit code 13
  make: *** [debian/rules:6: build] Error 25
  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: libthumbor.1.3.3-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3831 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200520/bcd8e855/attachment-0001.obj>


More information about the Python-modules-team mailing list