easy_installability of older bzr releases.

Wouter van Heyst larstiq at larstiq.dyndns.org
Thu Apr 30 19:06:12 BST 2009


Hi,

ronny mentioned that trying to do automated testing of multiple versions
of git, hg and bzr easy_install failed to work for older versions of bzr.

Without digging too deep into easy_install code, I believe that is
because there are no files attached to the pypi entries for particular
releases, say http://pypi.python.org/pypi/bzr/1.12, nor does the
download url contain a download for that version, it pointing at the
general http://bazaar-vcs.org/Download

To test this, one can try:
    
    virtualenv testenv
    testenv/bin/easy_install bzr==1.12
    

I see 4 possible solutions:

    1) attach files to every release on pypi we still care about
    2) change the release process to have setup.py download location
        point at a specific to that release location
    3) change (or add to) the general download url to
        https://edge.launchpad.net/bzr/+download
    4) change http://bazaar-vcs.org/Download to include links for older
        releases


The effect of 3) or 4) can be seen with

    testenv/bin/easy_install bzr==1.12 -f https://edge.launchpad.net/bzr/+download


Each option has drawbacks, I think 4) would suit us best with a
TurboGears like approach (http://turbogears.org/download/) of having a
style=display:none list of releases, but couldn't figure out in the
moment how to get that done on moinmoin.

Wouter van Heyst



More information about the bazaar mailing list