[Pkg-mailman-hackers] Bug#995653: django-mailman3 breaks hyperkitty autopkgtest: 'str' object has no attribute 'display_name'

Adrian Bunk bunk at debian.org
Tue Nov 16 01:46:08 GMT 2021


Control: reassign -1 src:hyperkitty 1.3.4-4
Control: retitle -1 hyperkitty FTBFS with django-mailman3 1.3.7
Control: tags -1 ftbfs bookworm sid

On Sun, Oct 03, 2021 at 07:15:18PM +0200, Paul Gevers wrote:
>...
>                        pass            fail
> django-mailman3        from testing    1.3.7-1
> hyperkitty             from testing    1.3.4-4
> all others             from testing    from testing
>...
> ======================================================================
> ERROR: test_basic_reply (hyperkitty.tests.lib.test_posting.PostingTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/lib/python3/dist-packages/hyperkitty/tests/lib/test_posting.py",
> line 69, in test_basic_reply
>     self.user.save()
>   File
> "/usr/lib/python3/dist-packages/django/contrib/auth/base_user.py", line
> 66, in save
>     super().save(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/django/db/models/base.py", line
> 743, in save
>     self.save_base(using=using, force_insert=force_insert,
>   File "/usr/lib/python3/dist-packages/django/db/models/base.py", line
> 791, in save_base
>     post_save.send(
>   File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py",
> line 173, in send
>     return [
>   File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py",
> line 174, in <listcomp>
>     (receiver, receiver(signal=self, sender=sender, **named))
>   File "/usr/lib/python3/dist-packages/django_mailman3/signals.py", line
> 101, in create_profile
>     address.display_name = new_display_name
> AttributeError: 'str' object has no attribute 'display_name'
>...

This is also a FTBFS:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/hyperkitty.html

cu
Adrian



More information about the Pkg-mailman-hackers mailing list