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

pip check fails with pip==24.2: certipy 0.1.3 is not supported on this platform #1

Closed
danielhollas opened this issue Aug 2, 2024 · 1 comment · Fixed by #2
Closed
Labels
bug Something isn't working

Comments

@danielhollas
Copy link
Contributor

danielhollas commented Aug 2, 2024

Issue

Running a pip check in a fresh conda environment with latest pip==24.2 reports a problem that's likely caused by invalid wheel metadata. More info and discussion can be found on this issue:
pypa/pip#11054

To reproduce

$ conda create -n test pip=22.4 certipy
$ conda activate test
$ pip check
certipy 0.1.3 is not supported on this platform

Note that pip check does not fail if the certipy package is installed with pip from PYPI.

@danielhollas
Copy link
Contributor Author

danielhollas commented Aug 5, 2024

Just for posterity, it looks like the problem was an incorrect Python tag specified in the WHEEL metadata file. Here's how it was:

 Wheel-Version: 1.0    
 Generator: bdist_wheel (0.33.1)    
 Root-Is-Purelib: true    
 Tag: cp37-none-any

And here's the new build, that has correctly switched from cp37 to py3

  Wheel-Version: 1.0    
  Generator: setuptools (72.1.0)    
  Root-Is-Purelib: true    
  Tag: py3-none-any

More info about Python tags: https://packaging.python.org/en/latest/specifications/platform-compatibility-tags/#python-tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant