Re: What are reasonable compatibility tags? (was: Three clarification questions about PEP 425 and PyPy3

Xavier Fernandez <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CAA4OSDDqkaF=fptW_E1cTq09psz1sF8AtnYWsffk4FWHQDbF+A@mail.gmail.com>
Le ven. 31 août 2018 à 9:25 PM, Brett Cannon <[email protected]> a écrit :

>
> OK, so let's look at what we're trying to support. If we have pure Python
> code there's very likely going to be a bottom Python version that's
> supported and then forward-compatibility is assumed. This is specified
> today through python-requires, so having a specific Python version in the
> wheel itself isn't totally critical. So 'py3-none-any' combined with
> python-requires takes care of this the vast majority of the time.
>

Hello,

while python-requires is indeed nice, it is only usable by pip to select a
wheel file with a fully compliant PEP 503 repository.
Otherwise, like in a local wheelhouse (wheel files in a directory), it is
invisible to pip until pip tries to install the wheel so a more precise
python tag can still be somewhat useful...
(I agree that pip could access the wheel metadata to check the
python-requires without needing to unzip the whole file).

Xavier

>

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/MHLIO7KC47NHQJ42LDHMHN53PIF7KIMN/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.