mailman.client conflicts with mailman installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Low
|
Pavan Koli |
Bug Description
If mailman.client is loaded as a separate module (as instructed), then mailman cannot exist in the same environment because there are two "mailman" modules to search.
I found this when I tried to generate sphinx documentation for mailman after I had installed postorius.
To reproduce:
mkvirtualenv BUG
bzr branch lp:mailman.client
cd mailman.client/
python setup.py develop
easy_install sphinx
cd ..
bzr branch lp:mailman
cd mailman
python bootstrap.py
bin/buildout
python setup.py build_sphinx
Results in:
Running Sphinx v1.1.3
Traceback (most recent call last):
File "setup.py", line 112, in <module>
'zope.
File "/System/
dist.
File "/System/
self.
File "/System/
cmd_obj.run()
File "/Volumes/
freshenv=
File "/Volumes/
confoverrides or {}, self.tags)
File "/Volumes/
exec code in config
File "/Volumes/
from mailman.version import VERSION
ImportError: No module named version
Changed in mailman: | |
status: | New → Triaged |
importance: | Undecided → Low |
description: | updated |
Changed in mailman: | |
assignee: | nobody → Pavan Koli (pskoli93) |
Changed in mailman: | |
status: | Triaged → Fix Released |
I tried to reproduce this bug on mailman3, I created the virtualenvironment using pyvenv-3.4 venv-3.4 --without-pip and then manually installing pip and setuptools inside venv-3.4
cd venv-3.4
source bin/activate
cd ..
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 build_sphinx
As bootstrap.py is no longer present I omitted that step also I omitted the bin/buildout step
Resulted in:
running build_sphinx Desktop/ BUG/mailman/ build Desktop/ BUG/mailman/ build/sphinx Desktop/ BUG/mailman/ build/sphinx/ doctrees Desktop/ BUG/mailman/ build/sphinx/ html styles/ docs/styles styles/ docs/styles
creating /home/pkoli/
creating /home/pkoli/
creating /home/pkoli/
creating /home/pkoli/
Running Sphinx v1.3
loading pickled environment... not yet created
WARNING: 'default' html theme has been renamed to 'classic'. Please change your html_theme setting either to the new 'alabaster' default theme, or to 'classic' to keep using the old default.
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 122 source files that are out of date
updating environment: 122 added, 0 changed, 0 removed
reading sources... [100%] src/mailman/
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
WARNING: dot command 'dot' cannot be run (needed for graphviz output), check the graphviz_dot setting
writing output... [100%] src/mailman/
generating indices... genindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 2 warnings.
index.html -> README.html
I am interested in fixing this bug, can someone assign it to me, I'll start by first testing different cases that can be used to reproduce it and then find a possible solution.