buildout error : 'tuple' object has no attribute 'is_prerelease'

Bug #1453454 reported by daamien
Affects Status Importance Assigned to Milestone
GNU Mailman suite bundler

Bug Description

Hey guys,

I followed this doc :

and I get the following error at the buildout step

(venv)damien@gouda:~/dev/mailman-bundler$ buildout
  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/", line 1946, in main
    getattr(buildout, command)(args)
  File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/", line 475, in install
  File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/", 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/", 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/", line 635, in install
  File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/", 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/", 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/", line 1408, in _final_version
    return not parsed_version.is_prerelease
AttributeError: 'tuple' object has no attribute 'is_prerelease'

Revision history for this message
Maurits van Rees (maurits-vanrees) wrote :

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.

Revision history for this message
daamien (damien-taadeem) wrote :

Thanks for the answer

We solved the problem by switching to Debian Jessie.

This issue can be closed

Revision history for this message
Mark Sapiro (msapiro) wrote :

This issue is duplicated at <>.

Future mailman-bundler issues should be reported at <>

Marking invalid per comment #2.

Changed in mailman-bundler:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers