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

enforce correct python tags for pure wheels from setup.py #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgorny
Copy link

@mgorny mgorny commented Oct 9, 2024

Summary

Enforce correct python tags for pure Python wheels directly from setup.py. This should be more reliable than the current approach. While at it, switch to correct tags for each platforms -- CPython uses "cp" (which unlike "py" is not accepted for PyPy), and PyPy can use pure "pp" without platform specifiers (since no extensions are installed).

Fixes #196

Checklist

Documentation and Tests

  • Artifacts produced with the main branch work as expected under this PR.

Release Management

  • Added "Fixes #NNN" in the PR body, referencing the issue (#NNN) it closes.
  • Added a comment to issue #NNN, linking back to this PR.
  • Requested a review.

Enforce correct python tags for pure Python wheels directly from
`setup.py`.  This should be more reliable than the current approach.
While at it, switch to correct tags for each platforms -- CPython
uses "cp" (which unlike "py" is not accepted for PyPy), and PyPy can use
pure "pp" without platform specifiers (since no extensions are
installed).

Fixes uqfoundation#196
@mgorny
Copy link
Author

mgorny commented Oct 9, 2024

CC @mmckerns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.70.17 sdist has python-tag = py313 hardcoded, rendering it incompatible with other Python versions
1 participant