hyperkitty: FTBFS on noble

Bug #2049894 reported by Ravi Kant Sharma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hyperkitty (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:
$ pull-lp-source hyperkitty
$ sbuild --no-clean --no-run-lintian -d noble .

Logs snippet:

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
py3versions: no X-Python3-Version in control file, using supported versions
set -e; \
for python3 in python3.12 python3.11; do \
        $python3 /usr/bin/django-admin test -v 3 --pythonpath=. --settings=hyperkitty.tests.settings_test hyperkitty; \
done
Traceback (most recent call last):
  File "/usr/bin/django-admin", line 33, in <module>
    sys.exit(load_entry_point('Django==4.2.9', 'console_scripts', 'django-admin')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 416, in execute
    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 124, in populate
    app_config.ready()
  File "/usr/lib/python3/dist-packages/allauth/account/apps.py", line 15, in ready
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: allauth.account.middleware.AccountMiddleware must be added to settings.MIDDLEWARE
make[1]: *** [debian/rules:15: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Revision history for this message
Paul Mars (upils) wrote :

This version is incompatible with python-mistune 3.0.2-1.

A fix exist upstream to make it compatible with mistune 3.X, see [0] but this is on top of more than a year of changes. So there is a high chance that using this commit as a patch will not work properly I think.

But only mailman3-web depends on python3-django-hyperkitty, and mailman-suite was not updated since 2020 (from upstream), but upstream is still maintained.

Since the only purpose (AFAIU) of hyperkitty is to be used by mailman-suite, maybe we should upload an up-to-date version of both pkgs from upstream, so we will be sure they work properly together.

[0] https://gitlab.com/mailman/hyperkitty/-/commit/68a0e57a87e90905a96b8f7194cf23d53a0915c2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.