On 2/20/21 3:07 PM, Marius Ghita wrote:
> I think a setup step might be missing from the developer's docs
> https://docs.mailman3.org/en/latest/devsetup.html
> 
> If I go through the venv setup and when I call mailman info, the following
> error shows up (missing dependency).
> 
> ...
>   File "/home/_/Workspace/personal/mailman/src/mailman/__init__.py", line
> 38, in <module>
>     from mailman.core.i18n import initialize
>   File "/home/_/Workspace/personal/mailman/src/mailman/core/i18n.py", line
> 22, in <module>
>     from flufl.i18n import PackageStrategy, registry
> ModuleNotFoundError: No module named 'flufl.i18n'


How did you install Mailman core in your venv? Mailman core's setup
includes flufl.i18n>=2.0 in it's requirements.


> However, when I run just run tox, the .tox/qa/bin/mailman info command
> works without any issues.


Because .tox/qa is it's own venv that included all the dependencies


-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9

Reply via email to