Closed
Description
Environment
- pip version: 20.0.1
- Python version: Python 3.7.0 (cpython win32)
- OS: Windows 10
Description
Installing wheels with a python tag of cp3 fails in my environment.
> pip install test_wheel-1.2.0-cp3-abi3-win32.whl
ERROR: test_wheel-1.2.0-cp3-abi3-win32.whl is not a supported wheel on this platform.
Changing the cp3 to cp33 causes the pip install to succeed.
Expected behavior
The install to succeed. cp3-abi3-<platform> is used as an example in PEP425.
How to Reproduce
import sys
import pip._internal.pep425tags
tags = [str(tag) for tag in pip._internal.pep425tags.get_supported()]
print("supported:", *tags)
cp3_abi3_tag = "cp3-abi3-{}".format(sys.platform)
print("supports {}?".format(cp3_abi3_tag), cp3_abi3_tag in tags)
Also pip installing any wheel with a python tag of cp3 fails.
Output
supported: cp37-cp37m-win32 cp37-abi3-win32 cp37-none-win32 cp36-abi3-win32 cp35-abi3-win32 cp34-abi3-win32 cp33-abi3-win32 cp32-abi3-win32 py37-none-win32 cp37-none-any py37-none-any py3-none-any py36-none-any py35-none-any py34-none-any py33-none-any py32-none-any py31-none-any py30-none-any
supports cp3-abi3-win32? False