<br><br><div class="gmail_quote">On Mon, May 11, 2009 at 19:55, Kevin Teague <span dir="ltr">&lt;<a href="mailto:kevin@bud.ca" target="_blank">kevin@bud.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div><br>
<br>
On May 9, 5:50 pm, Patrick Gerken &lt;<a href="mailto:do3cc...@googlemail.com" target="_blank">do3cc...@googlemail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I don&#39;t know if this is really be a bug, but atm if I try to install grok<br>
&gt; via easy_install, it pull the depencies with wrong versions.<br>
&gt; Should this use case be supported or not?<br>
&gt;<br>
<br>
</div>This is largely a drawback of easy_install, it will always grab the<br>
newest requirements in the &#39;install_requires&#39; dependency graph. It&#39;s<br>
possible to pin this graph down to specific versions, but it would be<br>
a huge hassle, requiring every package Grok depends upon be released<br>
with every Grok release. It makes much more sense to have<br>
install_requires only be as specific as API compatability for a given<br>
package.<br>
<br>
However, if you really do want to use easy_install, it would be<br>
possible to take the same approach as TurboGears and BFG, and build a<br>
package index for each release that only contained packages in that<br>
specific release. It&#39;s kind of a backwards way of solving the problem<br>
but it works.<br>
<br>
Alternatively use buildout or pip :)</blockquote><div><br>I don&#39;t see where buildout could ease the pain, cause the versions you pin down there, also have to be on pypi.<br><br>The one advantage that I am aware of, is easy generation a versions.cfg with whats currently installed in buildout. I agree that this is of value.<br>

<br>I have looked into the setup.py of turbogears, and they pin down the versions. An idea could be to create a buildout recipe that creates a new setup.py with the versions it has. This would solve the problems, no?<br>
<br>
Best regards, <br><br>        Patrick<br><br>______________________________________________<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Grok-dev mailing list<br>
<a href="mailto:Grok-dev@zope.org" target="_blank">Grok-dev@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">http://mail.zope.org/mailman/listinfo/grok-dev</a><br>
</blockquote></div><br>