Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alexFickle opened this issue Jan 22, 2020 · 7 comments
Closed

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

alexFickle opened this issue Jan 22, 2020 · 7 comments
Labels
auto-locked Outdated issues that have been locked by automation project: vendored dependency Related to a vendored dependency

Comments

@alexFickle
Copy link

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
@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Jan 22, 2020
@alexFickle
Copy link
Author

Might be a duplicate of #7626

@pradyunsg
Copy link
Member

Related to #6908

@burbigo1
Copy link

burbigo1 commented Jan 22, 2020

Personally never seen this before
VPN Sai Mannat AnyDesk

@pradyunsg
Copy link
Member

Yep -- you're correct. This is a duplicate of #7626. :)

@alexFickle
Copy link
Author

Release 20.0.2 which solved the duplicate did not solve this issue.

@chrahunt chrahunt reopened this Jan 25, 2020
@chrahunt
Copy link
Member

chrahunt commented Jan 25, 2020

I brought this up specifically in pypa/packaging#231 (comment). Can you please file an issue in pypa/packaging?

@chrahunt chrahunt added project: vendored dependency Related to a vendored dependency S: awaiting response Waiting for a response/more information labels Jan 25, 2020
@triage-new-issues triage-new-issues bot removed S: needs triage Issues/PRs that need to be triaged labels Jan 25, 2020
@alexFickle
Copy link
Author

I've closed the issue in pypa/packaging and I'm going to close this one too.

See pypa/packaging#261 (comment)

@no-response no-response bot removed the S: awaiting response Waiting for a response/more information label Jan 30, 2020
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Apr 2, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation project: vendored dependency Related to a vendored dependency
Projects
None yet
Development

No branches or pull requests

4 participants