[Bug 975668] Re: mailman.client conflicts with mailman installation

Pavan Koli pskoli93 at gmail.com
Tue Mar 24 20:31:16 CET 2015

I followed the steps as mentioned to reproduce the error.

mkvirtualenv BUGS
bzr branch lp:mailman.client
cd mailman.client/
python setup.py develop
easy_install sphinx
cd ..
bzr branch lp:mailman
cd mailman
python setup.py develop
python setup.py build_sphinx

The build succeeds with no warnings.

I ran through this documentation PEP420
(https://www.python.org/dev/peps/pep-0420/) to check about namespace
packages, as I thought the error may be associated with it.

Checking the output error which Richard has got-

>File "/Volumes/UserSpace/rkw/.virtualenvs/BUG/mailman/conf.py", line 54, in <module>
No conf.py file present now, instead I looked in options.py

>from mailman.version import VERSION
The above line no longer exists, now the line given below exists. 
from mailman.version import MAILMAN_VERSION(http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/view/head:/src/mailman/options.py#L34) 

>ImportError: No module named version
I think it was caused due to some namespace package and modules issues which were present and were resolved using PEP 420.

As this bug was reported on 2012-04-07 and the PEP 420 was created on
2012-04-19, maybe the BUG has been resolved by applying changes as
recommended in PEP 420.

Further trying to confirm whether the issue has been resolved, I checked
the file __init__.py(http://bazaar.launchpad.net/~mailman-

According to this post(http://stackoverflow.com/questions/1675734/how-
do-i-create-a-namespace-package-in-python/27586272#27586272) the code
given in __init__.py , is sufficient to handle the different modules and
namespace packages issues.

So ideally we should be able to run import mailman.version without any
errors, and the successful build which I got at the end confirms that
the BUG has been resolved.

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  mailman.client conflicts with mailman installation

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list