[Distutils] buildout 1 still not managing to pin buildout to 1.x

Tres Seaver tseaver at palladion.com
Wed Jun 12 01:22:11 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/11/2013 05:27 AM, Chris Withers wrote:
> On 10/06/2013 18:57, Tres Seaver wrote:
>> Works for me:
>> 
>> $ mkdir /tmp/withers $ cd /tmp/withers $ echo "[buildout] parts =">
>> buildout.cfg $ wget http://downloads.buildout.org/1/bootstrap.py 
>> ... $ /opt/Python-2.5.x/bin/python bootstrap.py
> 
> Try with 2.7, and also try going from 1 to 2 and back again by
> switching bootstraps.
> 
> There's likely something funky going on (.installed.cfg, develop-eggs
> or some other goat sacrifice in bin/) but it definitely happened.

That same recipe works with 2.7.  In general, the presence of
.installed.cfg should be thought of as problematic for any big surgery
(like changing bootstraps, or major versions of buildout), because it
hampers repeatability in order to make the build run faster.

When in doubt, remove .installed.cfg and re-run buildout after any such
change.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlG3sSMACgkQ+gerLs4ltQ4ExACfaXdJ1n3jFV+W0HmuNuKB1SDN
8W0Anj3WVTQebSJ71K1Q488KCr5JK/gd
=NsB8
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list