Your message dated Wed, 21 Feb 2018 16:20:55 +0000
with message-id <e1eox8z-000bfp...@fasolo.debian.org>
and subject line Bug#834667: fixed in django-modeltranslation 0.12.2-1
has caused the Debian Bug report #834667,
regarding django-modeltranslation: FTBFS in testing (type object 'TestModel' 
has no attribute '_deferred')
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
834667: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834667
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:django-modeltranslation
Version: 0.11-1
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,python3,sphinxdoc --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config 
running config
I: pybuild base:184: python3.5 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:184: /usr/bin/python setup.py build 

[... snipped ...]

======================================================================
ERROR: setUpClass (modeltranslation.tests.tests.ModeltranslationTransactionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/modeltranslation/tests/tests.py", line 114, in 
setUpClass
    super(ModeltranslationTransactionTestBase, cls).setUpClass()
  File "/usr/lib/python3/dist-packages/django/test/testcases.py", line 172, in 
setUpClass
    cls._cls_overridden_context.enable()
  File "/usr/lib/python3/dist-packages/django/test/utils.py", line 235, in 
enable
    apps.set_installed_apps(self.options['INSTALLED_APPS'])
  File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 340, in 
set_installed_apps
    self.populate(installed)
  File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 115, in 
populate
    app_config.ready()
  File "/<<PKGBUILDDIR>>/modeltranslation/apps.py", line 11, in ready
    handle_translation_registrations()
  File "/<<PKGBUILDDIR>>/modeltranslation/models.py", line 81, in 
handle_translation_registrations
    autodiscover()
  File "/<<PKGBUILDDIR>>/modeltranslation/models.py", line 32, in autodiscover
    import_module(module)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 673, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/<<PKGBUILDDIR>>/modeltranslation/tests/translation.py", line 18, in 
<module>
    translator.register(TestModel, TestTranslationOptions)
  File "/<<PKGBUILDDIR>>/modeltranslation/translator.py", line 427, in register
    opts = self._get_options_for_model(model, opts_class, **options)
  File "/<<PKGBUILDDIR>>/modeltranslation/translator.py", line 547, in 
_get_options_for_model
    if model._deferred:
AttributeError: type object 'TestModel' has no attribute '_deferred'

----------------------------------------------------------------------
Ran 0 tests in 0.050s

FAILED (errors=22)
 OK
Destroying test database for alias 'default' 
('file:memorydb_default?mode=memory&cache=shared')...
debian/rules:13: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.

For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:

https://tests.reproducible-builds.org/

Thanks.

--- End Message ---
--- Begin Message ---
Source: django-modeltranslation
Source-Version: 0.12.2-1

We believe that the bug you reported is fixed in the latest version of
django-modeltranslation, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 834...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Raphaël Hertzog <hert...@debian.org> (supplier of updated 
django-modeltranslation package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 21 Feb 2018 15:19:24 +0100
Source: django-modeltranslation
Binary: python-django-modeltranslation python3-django-modeltranslation 
python-django-modeltranslation-doc
Architecture: source
Version: 0.12.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-team@lists.alioth.debian.org>
Changed-By: Raphaël Hertzog <hert...@debian.org>
Description:
 python-django-modeltranslation - Translate dynamic content of Django models 
(Python 2)
 python-django-modeltranslation-doc - Translate dynamic content of Django 
models (common documentation)
 python3-django-modeltranslation - Translate dynamic content of Django models 
(Python 3)
Closes: 834667
Changes:
 django-modeltranslation (0.12.2-1) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * d/control: Set Vcs-* to salsa.debian.org
 .
   [ Raphaël Hertzog ]
   * New upstream release that works with current Django. Closes: #834667
   * Switch to debhelper compat level 11.
   * Bump Standards-Version to 4.1.3.
   * Update our patch to fix test failures that are due to
     django.contrib.auth.migrations being not writable. And resubmit it
     upstream.
   * Update Build-Depends to use python3-sphinx instead of python-sphinx.
   * Drop X-Python* fields.
   * Add a lintian override for privacy-breach-generic on badges embedded
     in the HTML documentation.
Checksums-Sha1:
 81500d59ea86f52783d4f2d4935a88463278d39d 2151 
django-modeltranslation_0.12.2-1.dsc
 dd96932bc92e07ae005fe5632d4ec6573f53c5d2 100658 
django-modeltranslation_0.12.2.orig.tar.gz
 90f82fe22e9ddb36d11c61ab74e912cf6971767b 3804 
django-modeltranslation_0.12.2-1.debian.tar.xz
 a22c7f0bb77bb5a76f5fab185e868f2da4bf6593 7242 
django-modeltranslation_0.12.2-1_source.buildinfo
Checksums-Sha256:
 2adc88f3402d581c4e63a172be67bee4d3638e1ce4549c735aa849e2818153d3 2151 
django-modeltranslation_0.12.2-1.dsc
 cc17012514941689f62de943bb06c91bd96fe994b7548a80f504aa8f20f01a41 100658 
django-modeltranslation_0.12.2.orig.tar.gz
 80cfc9598f9c693a28914fde51c46d51038a8d343dad638803bada15a47c11dd 3804 
django-modeltranslation_0.12.2-1.debian.tar.xz
 b9d02065952210124989bd7857b56f942a85e6b905589c849aac3b47fb1efc09 7242 
django-modeltranslation_0.12.2-1_source.buildinfo
Files:
 12d733635e43e2756c8b50d1f5184d3e 2151 python optional 
django-modeltranslation_0.12.2-1.dsc
 d32abe47e1c43c4b489c0750a0114d61 100658 python optional 
django-modeltranslation_0.12.2.orig.tar.gz
 509a2aca8fcab1481d8be75084a15bd3 3804 python optional 
django-modeltranslation_0.12.2-1.debian.tar.xz
 92e80d02e37fb6493672bdee59924c65 7242 python optional 
django-modeltranslation_0.12.2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog

iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAlqNlbQACgkQA4gdq+vC
mrmUzAgAuuTsK59fIXYNrVgIcYu9MfBybRNCeiO6Iqij+ieTCAqhQfah0QnqCfMM
2GuCjB9upGSJgHC+xo25Cel8Fj5mNlTYc4I8K8LvWI5OmvCpEUnznGRzmjllyy3V
X4Zeq0sTrO7LyJ6Kx6ZoAFZR3gtIF0IY2JI7szyNQLyTd2N1RrpzVh+jBNhMsaF7
y7ALmgzphtcFnylf4P4Z3M66ziu3HwXp0vmqq71/x1kAkpzBjvk1DjdAu/lKLKbD
NMY6fpVKn/9VMDo9A+Q6ei5+9aZBkBhM1YMODXHvAt5JrRuj/oL8mIaHkcuUQIC4
206LJo3fYAgCPt1LMc3Zt4ao5EkBbA==
=fYA7
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to