On 7/7/22 12:26 PM, Mark Sapiro wrote:
On 7/7/22 11:10 AM, David Newman wrote:
On 7/7/22 10:25 AM, Mark Sapiro wrote:
pip install -U mailman postorius django-mailman3 hyperkitty mailman-web uwsgi
and it downgraded Django back to 3.0.14.
Because mailman-web 0.0.5 has in its setup.cfg
install_requires = Django<3.1
try
pip install -U git+https://gitlab.com/mailman/mailman-web.git
to get the latest mailman-web whose Django requirement is
install_requires = django >=2.2, !=3.0, <4
That seemed to work OK, thanks. mailman-web is now on a dev version of 0.0.6 and Django is now on 3.2.14.
However, pip now throws a warning when looking at package info:
(venv) mailman@somehost:/home/dnewman$ pip show mailman-web WARNING: Ignoring invalid distribution -jango (/opt/mailman/venv/lib/python3.9/site-packages) Name: mailman-web Version: 0.0.6.dev9+gc606169 Summary: Mailman 3 Web interface. Home-page: https://gitlab.com/mailman/mailman-web Author: Mailman Developers Author-email: mailman-developers@python.org License: GPLv3 Location: /opt/mailman/venv/lib/python3.9/site-packages Requires: django, hyperkitty, postorius, whoosh Required-by:
How to correct that so the command runs clean with no warnings or errors? This is on a host running Debian 11 with mailman3 and friends installed in a venv.
Thanks.
dn