zc.buildout bootstrap errors

View: New views
7 Messages — Rating Filter:   Alert me  

zc.buildout bootstrap errors

by Tres Seaver :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Why would a "bootstrap" fail due to missing / less-than-required version
of setuptools in the host python?  The bootstrap should be
self-contained enough to make things work no matter what, since the
point is too build an environment which doesn't rely on anything beyond
a "bare" Python install.

 $ svn co $ZSVN/Acquisition/trunk Aq-trunk
 ...
 $ cd Aq-trun
 $ /path/to/python2.6 bootstrap/bootstrap.py
 The required version of setuptools (>=0.6c11) is not available, and
 can't be installed while this script is running. Please install
  a more recent version first, using 'easy_install -U setuptools'.



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver@...
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrvM8gACgkQ+gerLs4ltQ5hagCfYX7m2w+kuVtebdN3Nc26mL7k
cpQAn1P5UmomD0j1q9/ulYuAZJI2Lpdw
=ly5E
-----END PGP SIGNATURE-----

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: zc.buildout bootstrap errors

by Chris Withers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tres Seaver wrote:
>  $ cd Aq-trun
>  $ /path/to/python2.6 bootstrap/bootstrap.py

Maybe try and earlier version of bootstrap?
I idley wonder if this is some side effect of the make-distribute-work work?

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: zc.buildout bootstrap errors

by Fred Drake-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 2, 2009 at 5:23 PM, Chris Withers <chris@...> wrote:
> Maybe try and earlier version of bootstrap?
> I idley wonder if this is some side effect of the make-distribute-work work?

This could happen before that; I saw it as soon as Philip started
releasing new versions of setuptools.

I suspect that it's due to buildout trying to use the latest
ez_setup.py or something like that with a fresh build, and that wants
to use the latest setuptools.

I've been using distribute ever since, and have been happy with it.


  -Fred

--
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: zc.buildout bootstrap errors

by Jonathan Ballet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le Mon, 02 Nov 2009 22:23:43 +0000, Chris Withers <chris@...> a
écrit :

> Tres Seaver wrote:
> >  $ cd Aq-trun
> >  $ /path/to/python2.6 bootstrap/bootstrap.py
>
> Maybe try and earlier version of bootstrap?
> I idley wonder if this is some side effect of the make-distribute-work work?
>
> Chris

I'll not help, but I got the very same issue with a component ran
from a virtualenv-ed Python, which was created using setuptools 0.6c9 (and I did
this before Buildout was updated to run with Distribute (and, of course, after
the update of setuptools).

Finally, I gave up and updated my sandbox-ed version of setuptools installation,
but... oh well.


 Jonathan
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: zc.buildout bootstrap errors

by Jim Fulton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 2, 2009 at 2:32 PM, Tres Seaver <tseaver@...> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Why would a "bootstrap" fail due to missing / less-than-required version
> of setuptools in the host python?  The bootstrap should be
> self-contained enough to make things work no matter what, since the
> point is too build an environment which doesn't rely on anything beyond
> a "bare" Python install.
>
>  $ svn co $ZSVN/Acquisition/trunk Aq-trunk
>  ...
>  $ cd Aq-trun
>  $ /path/to/python2.6 bootstrap/bootstrap.py
>  The required version of setuptools (>=0.6c11) is not available, and
>  can't be installed while this script is running. Please install
>  a more recent version first, using 'easy_install -U setuptools'.

This is probably due to an attempt to use an existing setuptools if
it's available.  I could probably add an option to get it to not do
that. I'll look into that.

Jim

--
Jim Fulton
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: zc.buildout bootstrap errors

by Tres Seaver :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Jim Fulton wrote:

> On Mon, Nov 2, 2009 at 2:32 PM, Tres Seaver <tseaver@...> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Why would a "bootstrap" fail due to missing / less-than-required version
>> of setuptools in the host python?  The bootstrap should be
>> self-contained enough to make things work no matter what, since the
>> point is too build an environment which doesn't rely on anything beyond
>> a "bare" Python install.
>>
>>  $ svn co $ZSVN/Acquisition/trunk Aq-trunk
>>  ...
>>  $ cd Aq-trun
>>  $ /path/to/python2.6 bootstrap/bootstrap.py
>>  The required version of setuptools (>=0.6c11) is not available, and
>>  can't be installed while this script is running. Please install
>>  a more recent version first, using 'easy_install -U setuptools'.
>
> This is probably due to an attempt to use an existing setuptools if
> it's available.  I could probably add an option to get it to not do
> that. I'll look into that.

Great, thanks.  I can see re-using that version if it is present, and
new enough, but we ought to be able to use a downloaded version if that
fails.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver@...
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrvY7wACgkQ+gerLs4ltQ7HtwCfaVVBBg5Ti87BTgc7WjmdX19+
u7cAoICgsoFUVWS4rAdjhGQCp+zyfQ4e
=hKL9
-----END PGP SIGNATURE-----

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig

Re: zc.buildout bootstrap errors

by Tarek Ziadé :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 2, 2009 at 11:23 PM, Chris Withers <chris@...> wrote:
> Tres Seaver wrote:
>>
>>  $ cd Aq-trun
>>  $ /path/to/python2.6 bootstrap/bootstrap.py
>
> Maybe try and earlier version of bootstrap?
> I idley wonder if this is some side effect of the make-distribute-work work?

No, I've checked for that, it's not related.

Tarek
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@...
http://mail.python.org/mailman/listinfo/distutils-sig