[Pkg-mailman-hackers] Bug#995653: django-mailman3 breaks hyperkitty autopkgtest: 'str' object has no attribute 'display_name'
Paul Gevers
elbrus at debian.org
Sun Oct 3 18:15:18 BST 2021
Source: django-mailman3, hyperkitty
Control: found -1 django-mailman3/1.3.7-1
Control: found -1 hyperkitty/1.3.4-4
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of django-mailman3 the autopkgtest of hyperkitty
fails in testing when that autopkgtest is run with the binary packages
of django-mailman3 from unstable. It passes when run with only packages
from testing. In tabular form:
pass fail
django-mailman3 from testing 1.3.7-1
hyperkitty from testing 1.3.4-4
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of django-mailman3
to testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=django-mailman3
https://ci.debian.net/data/autopkgtest/testing/amd64/h/hyperkitty/15711755/log.gz
======================================================================
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'
======================================================================
ERROR: test_reply_different_sender
(hyperkitty.tests.lib.test_posting.PostingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/hyperkitty/tests/lib/test_posting.py",
line 102, in test_reply_different_sender
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'
======================================================================
ERROR: test_smtp_error_raises_postingfailed
(hyperkitty.tests.lib.test_posting.PostingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/hyperkitty/tests/lib/test_posting.py",
line 89, in test_smtp_error_raises_postingfailed
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'
----------------------------------------------------------------------
Ran 317 tests in 150.390s
FAILED (errors=3, skipped=2, expected failures=2)
Destroying test database for alias 'default'...
System check identified no issues (0 silenced).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20211003/1e098832/attachment.sig>
More information about the Pkg-mailman-hackers
mailing list