Repository navigation
Tag Linux wheels as manylinux so PyPI accepts them in publish - #514
Merged
Merged
Conversation
Co-authored-by: Xmader <16057139+Xmader@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job 'publish'
Tag Linux wheels as manylinux so PyPI accepts them in Oct 16, 2026
publish
Xmader
marked this pull request as ready for review
October 16, 2026 18:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
publishjob failed becausetwine uploadgot400 Bad Requestfrom PyPI onpythonmonkey-1.4.0-cp310-cp310-linux_aarch64.whl. PyPI rejects wheels with a plainlinux_*platform tag. Only the cp38 wheels were taggedmanylinux_2_31_*, so every other Linux wheel (cp39–cp315) carried the rejected tag. I did not find out why cp38 differs..github/workflows/test-and-publish.yaml)build-and-test. It runs on Ubuntu runners, before the wheels are uploaded as artifacts.*-linux_*.whlto*-manylinux_2_31_*.whl. The wheels are built in theubuntu:20.04container (glibc 2.31), which matches the tag the cp38 wheels already get. It mirrors the existing macOS retagging step.For review
auditwheel. Please confirm the wheels are compatible withmanylinux_2_31.pip install ./dist/*, so that step now installs the renamed wheel. pip's tag check should accept it, since a glibc 2.31 container satisfiesmanylinux_2_31.