<div dir="ltr"><div><div>LGTM also :)<br><br></div>For the record, I've started a related PR to check Requires-Python in pip at install time: <a href="https://github.com/pypa/pip/pull/3846">https://github.com/pypa/pip/pull/3846</a><br>It should still be useful once PEP 503 is amended, for packages or package indexes that could not expose the Requires-Python information via this new mecanism.<br></div><div><br></div><div>Regards,<br></div><div>Xavier<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 14, 2016 at 11:30 PM, Daniel Holth <span dir="ltr"><<a href="mailto:dholth@gmail.com" target="_blank">dholth@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Lgtm </p><div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 14, 2016, 16:49 Thomas Kluyver <<a href="mailto:thomas@kluyver.me.uk" target="_blank">thomas@kluyver.me.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In a discussion about how to allow pip to select a package version<br>
compatible with the target Python version, Donald suggested adding a<br>
data-requires-python attribute to links in the simple repository API,<br>
which pip uses to find candidate downloads.<br>
<br>
<a href="..." data-requires-python=">=3">...</a><br>
<br>
This would expose the Requires-Python metadata field already specified<br>
in PEP 345. There is a separate PR for setuptools to allow specifying<br>
this value.<br>
<br>
I have opened a PR to add this to PEP 503, which defines the simple<br>
repository API, and Donald asked that I post about it here for comments:<br>
<br>
<a href="https://github.com/python/peps/pull/56" rel="noreferrer" target="_blank">https://github.com/python/peps/pull/56</a><br>
<br>
Thanks,<br>
Thomas<br>
_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
<br></blockquote></div><br></div>