Comment 2 for bug 253986

Revision history for this message
Māris Fogels (mars) wrote :

This results from launchpadlib's ez_setup.py script and simplejson's setup.py interacting badly.

simplejson has a hacked ez_setup.py script that adds a 'min_version' argument to ez_setup.use_setuptools(), and simplejson's setup.py file calls this. This works fine when simplejson is the *first* package to load the ez_setup module. However, we use ez_setup in launchpadlib. launchpadlib installs first, calling its own vanilla ez_setup.py. The simplejson setup.py runs second, pulls launchpadlib's ez_setup module from the path, calls it with the 'min_version' argument, and BOOM.

The min_version hack is unnecessary as of ez_setup.py revision 60812. The 'version' argument to ez_setup.use_setuptools() now has the same functionality.