On Mon, Jun 24, 2013 at 9:31 AM, Jim Fulton <
j...@zope.com> wrote:
> On Mon, Jun 24, 2013 at 8:43 AM, Sebastien Douche <
sdo...@gmail.com> wrote:
>> On Mon, Jun 24, 2013 at 1:45 PM, Jim Fulton <
j...@zope.com> wrote:
>>
>>> File "/Users/jim/.buildout/eggs/distribute-0.6.34-py2.6.egg/pkg_resources.py",
>>> line 2356, in insert_on
>>> "with distribute. Found one at %s" % str(self.location))
>>> ValueError: A 0.7-series setuptools cannot be installed with
>>> distribute. Found one at
>>> /Users/jim/.buildout/eggs/setuptools-0.7.4-py2.6.egg
>>>
>>> Does anyone but me think this is a problem?
>>
>> You can't upgrade from Distribute to Setuptools I think. You must use
>> Distribute 0.7.x (wrapper on Setuptools) or switch manually between
>> Setuptools and Distribute on your system.
>
> distribute 0.7 isn't in pypi. How would you recommend we tell people
> to upgrade to distribute 0.7?
This was a decoy.
I downloaded distutils 0.7.3 from bitbucket and stuck it in my download cache:
bin/buildout
Getting distribution for 'distribute'.
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
Got distribute 0.7.3.
While:
Installing.
Checking for upgrades.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/Users/jim/.buildout/eggs/zc.buildout-2.1.0-py2.6.egg/zc/buildout/buildout.py",
line 1923, in main
getattr(buildout, command)(args)
File "/Users/jim/.buildout/eggs/zc.buildout-2.1.0-py2.6.egg/zc/buildout/buildout.py",
line 453, in install
self._maybe_upgrade()
File "/Users/jim/.buildout/eggs/zc.buildout-2.1.0-py2.6.egg/zc/buildout/buildout.py",
line 887, in _maybe_upgrade
allow_hosts = self._allow_hosts
File "/Users/jim/.buildout/eggs/zc.buildout-2.1.0-py2.6.egg/zc/buildout/easy_install.py",
line 782, in install
return installer.install(specs, working_set)
File "/Users/jim/.buildout/eggs/zc.buildout-2.1.0-py2.6.egg/zc/buildout/easy_install.py",
line 627, in install
ws.add(dist)
File "/Users/jim/.buildout/eggs/distribute-0.6.45-py2.6.egg/pkg_resources.py",
line 538, in add
dist.insert_on(self.entries, entry)
File "/Users/jim/.buildout/eggs/distribute-0.6.45-py2.6.egg/pkg_resources.py",
line 2403, in insert_on
"with distribute. Found one at %s" % str(self.location))
ValueError: A 0.7-series setuptools cannot be installed with
distribute. Found one at
/Users/jim/.buildout/eggs/setuptools-0.7.4-py2.6.egg
I got the same result after removing buildout 2.2.0 from my cache. IOW, buildout
can't even upgrade distribute.
I think we're going to need to either:
1) Rewrite the upgrade logic to handle this special case, which will
require another buildout 2.1
release, (and may even be hard) or
2) Tell everyone to download the new bootstrap script and re-bootstrap
their buildouts.
Thoughts?