<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 11, 2016 at 3:26 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 11 March 2016 at 19:41, David Cournapeau <<a href="mailto:cournape@gmail.com">cournape@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> At Enthought we have been trying to use PEP 425 tags to include its metadata<br>
> in our packages. It has been harder than expected because of missing<br>
> information in PEP 425, and maybe inconsistencies with what pip actually<br>
> does.<br>
><br>
> I think PEP 425 should be updated to take into account pip actual<br>
> implementation:<br>
><br>
> 1. python tag and pypy: the PEP says "the version is py_version_nodot .<br>
> CPython gets away with no dot, but if one is needed the underscore _ is used<br>
> instead. PyPy should probably use its own versions here pp18 , pp19 ". This<br>
> is not what pip does as of version 8.1.0 for pypy. Instead, the version is<br>
> python major + sys.pypy_version_info.major + sys.pypy_version_info.minor.<br>
><br>
> 2. It would be nice to know how to deal with other alternative<br>
> implementations as well. Would the scheme in 1. work for jython, etc... ?<br>
><br>
> 3. The abi tag should at least be specified for cpython IMO. E.g. the<br>
> meaning of `m`, `u` and `d` should be clearly specified.<br>
><br>
> While the PEP mentions each implementation community is welcome to use the<br>
> abi tag as they wish, given that in practice it is defined in pip, I think<br>
> that should be specified as well.<br>
><br>
> Do the above make sense ? If so, I could spend some time to update it (or<br>
> create a new amending PEP ?)<br>
<br>
</span>Proposed errrata & minor admentments for PEP 425 can be submitted as a<br>
PyPUG issue with a PR against<br>
<a href="https://packaging.python.org/en/latest/specifications/#platform-compatibility-tags" rel="noreferrer" target="_blank">https://packaging.python.org/en/latest/specifications/#platform-compatibility-tags</a><br>
<br>
(the actual technical details of the proposed changes should still be<br>
discussed here)<br></blockquote><div><br></div><div>Up: would it help doing the PR first as a basic for discussion ? <br></div></div></div></div>