[Bug 1453454] [NEW] buildout error : 'tuple' object has no attribute 'is_prerelease'

Public bug reported: Hey guys, I followed this doc : http://mailman-bundler.readthedocs.org/en/latest/ and I get the following error at the buildout step (venv)damien@gouda:~/dev/mailman-bundler$ buildout While: Installing. Checking for upgrades. Getting distribution for 'distribute'. An internal error occurred due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1946, in main getattr(buildout, command)(args) File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 475, in install self._maybe_upgrade() File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 910, in _maybe_upgrade allow_hosts = self._allow_hosts File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 848, in install return installer.install(specs, working_set) File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 635, in install for_buildout_run=for_buildout_run): File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 477, in _get_dist dist, avail = self._satisfied(requirement) File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 253, in _satisfied if _final_version(dist.parsed_version) File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 1408, in _final_version return not parsed_version.is_prerelease AttributeError: 'tuple' object has no attribute 'is_prerelease' ** Affects: mailman-bundler Importance: Undecided Status: New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman suite bundler. https://bugs.launchpad.net/bugs/1453454 Title: buildout error : 'tuple' object has no attribute 'is_prerelease' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman-bundler/+bug/1453454/+subscriptions

I think this is because you are using distribute instead of setuptools. At least I now see it on a server too that still has distribute in its bin/buildout, where locally with setuptools all is fine. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman suite bundler. https://bugs.launchpad.net/bugs/1453454 Title: buildout error : 'tuple' object has no attribute 'is_prerelease' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman-bundler/+bug/1453454/+subscriptions

Thanks for the answer We solved the problem by switching to Debian Jessie. This issue can be closed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman suite bundler. https://bugs.launchpad.net/bugs/1453454 Title: buildout error : 'tuple' object has no attribute 'is_prerelease' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman-bundler/+bug/1453454/+subscriptions

This issue is duplicated at <https://gitlab.com/mailman/mailman- bundler/issues/3>. Future mailman-bundler issues should be reported at <https://gitlab.com/mailman/mailman-bundler/issues/> Marking invalid per comment #2. ** Changed in: mailman-bundler Status: New => Invalid -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman suite bundler. https://bugs.launchpad.net/bugs/1453454 Title: buildout error : 'tuple' object has no attribute 'is_prerelease' To manage notifications about this bug go to: https://bugs.launchpad.net/mailman-bundler/+bug/1453454/+subscriptions
participants (3)
-
daamien
-
Mark Sapiro
-
Maurits van Rees