There is an even less invasive fix, namely to use 'import as' and import re_path as url:
--- /usr/share/mailman3-web/urls.py.orig 2024-04-05 07:56:38.119113883 +0000 +++ /usr/share/mailman3-web/urls.py 2024-04-05 08:09:09.912489281 +0000 @@ -17,7 +17,8 @@ # Postorius. If not, see <http://www.gnu.org/licenses/>. -from django.conf.urls import include, url +from django.conf.urls import include +from django.urls import re_path as url from django.contrib import admin from django.urls import reverse_lazy from django.views.generic import RedirectView -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs