Skip to content

cp3-<abi>-<platform> is not a supported platform #7637

Closed
@alexFickle

Description

@alexFickle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationproject: vendored dependencyRelated to a vendored dependency

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions