Le ven. 31 août 2018 à 9:25 PM, Brett Cannon <br...@python.org> 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 -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/MHLIO7KC47NHQJ42LDHMHN53PIF7KIMN/

Reply via email to