[Distutils] buildout 2.2.3: not completely right?
Reinout van Rees
reinout at vanrees.org
Fri Oct 31 14:21:49 CET 2014
On 31-10-14 12:38, Reinout van Rees wrote:
>
> $ python bootstrap.py
> Setting socket time out to 1 seconds.
> Generated script
> '<http://jenkins.3di.lizard.net/job/python-subgrid/ws/bin/buildout'.>
> $ bin/buildout
> Setting socket time out to 1 seconds.
> While:
> Installing.
> Loading extensions.
> Error: There is a version conflict.
> We already have: zc.buildout 2.2.3
Ok, I tracked it down:
https://github.com/buildout/buildout/issues/198#issuecomment-61258074
The short summary: the main problem is line 652:
https://github.com/buildout/buildout/pull/194/files#diff-784f9bb654bbcee96dcbc547bbddd493R652
The working set is queried for just the package name. It grabs whatever
it can (a system package? a zc.buildout 2.2.3 installed by the
bootstrap.py) and uses that. It doesn't look at the actual requirement,
just at the plain package name (req.key).
Reinout
--
Reinout van Rees http://reinout.vanrees.org/
reinout at vanrees.org http://www.nelen-schuurmans.nl/
"Learning history by destroying artifacts is a time-honored atrocity"
More information about the Distutils-SIG
mailing list