<div><span style="color: rgb(160, 160, 168); ">On Wednesday, February 27, 2013 at 2:05 PM, Donald Stufft wrote:</span></div>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>
<div><span style="color: rgb(160, 160, 168); ">On Wednesday, February 27, 2013 at 2:03 PM, Monty Taylor wrote:</span></div><blockquote type="cite"><div>
<span><div><div><div>Hey all,</div><div><br></div><div>OpenStack recently ran in to a problem where one of our depends released</div><div>a new version that only works with Python 3 and not Python 2. While I</div><div>wholeheartedly support the gusto of that, and also can't wait until we</div><div>can move to Python 3, there's a tooling issue here.</div><div><br></div><div>If I'm doing pip install pyparsing from python2, the system should have</div><div>enough information to be able to tell whether or not it's going to be</div><div>getting something that's just fundamentally incompatible - such as a</div><div>version that does not support python2.</div><div><br></div><div>I recognize that it would require the package in question marking itself</div><div>as not supporting python2 ... but let's face it, as we start doing this</div><div>py2-py3 transition in earnest, it's a pretty important piece of metadata</div><div>to know about - and I can't imagine we're going to be the only people</div><div>running in to the problem.</div><div><br></div><div>Anybody got any thoughts on ways we can help with this that won't suck?</div><div><br></div><div>Monty</div><div>_______________________________________________</div><div>Catalog-SIG mailing list</div><div><a href="mailto:Catalog-SIG@python.org">Catalog-SIG@python.org</a></div><div><a href="http://mail.python.org/mailman/listinfo/catalog-sig">http://mail.python.org/mailman/listinfo/catalog-sig</a></div></div></div></span>
</div></blockquote><div>
The newer peps have support for this via a requires_python field but</div><div>the older tools do not support this field. You'll need to version constrain</div><div>your downloads manually to remove versions you know are not Py2.</div>
</div></div></span>
</blockquote>
<div>
Also the newer tools are not generally useful or read to be used yet.
</div>