Public bug reported:
Installing mailman3-web on mantic fails with:
File "/usr/share/mailman3-web/urls.py", line 20, in <module>
from django.conf.urls import include, url
ImportError: cannot import name 'url' from 'django.conf.urls'
(/usr/lib/python3/dist-packages/django/conf/urls/__init__.py)
dpkg: error processing package mailman3-web (--configure):
installed mailman3-web package post-installation script subprocess returned
error exit status 1
The error is due to deprecation of url in django.conf.urls, see here:
https://github.com/Tivix/django-rest-auth/issues/659
The fix is to replace it with re_path from django.urls. Patch for
/usr/share/mailman3-web/urls.py is attached.
** Affects: mailman-suite (Ubuntu)
Importance: Undecided
Status: New
** Tags: mantic patch
** Patch added: "mailman3-web.patch"
https://bugs.launchpad.net/bugs/2060276/+attachment/5761631/+files/mailman3-web.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060276
Title:
mailman3-web 0+20200530-2.1 fails to install
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mailman-suite/+bug/2060276/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs