Skip to content

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