<p dir="ltr">Lgtm </p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 14, 2016, 16:49 Thomas Kluyver <<a href="mailto:thomas@kluyver.me.uk">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>