Public bug reported:
I am running Mailman 3 in a virtualenv with most of its package dependencies installed through pip. In this particular configuration, if I run `buildout`, the test script that is created cannot seem to load zope.testrunner properly:
$ bin/test -vv Traceback (most recent call last): File "bin/test", line 35, in <module> import zope.testrunner ImportError: No module named testrunner
The workaround is to remove the eggs folder, pip install zope.testrunner, and then re-run buildout.
** Affects: mailman Importance: Undecided Status: New
** Tags: mailman3
** Changed in: mailman Status: New => Incomplete
** Changed in: mailman Importance: Undecided => Low
Are you sure you started with a clean environment? In a bzr trunk checkout (try `bzr clean-tree --ignored`) I did the following:
$ virtualenv /tmp/xx $ source /tmp/xx/bin/activate $ python setup.py install $ buildout $ bin/test
Everything worked and all tests succeeded.
The other thing is that I'm not even sure if buildout is supposed to be compatible with virtualenv. Assuming it is, I'm still thinking about getting rid of buildout support for the final release. The hang up right now is replacing zope.testrunner.
This bug has been moved to the new gitlab repo here: https://gitlab.com/mailman/mailman/issues/30