Skip to content

Fix wheel platform validation#73

Merged
anth-volk merged 1 commit into
mainfrom
codex/fix-wheel-platform-validation
Jun 1, 2026
Merged

Fix wheel platform validation#73
anth-volk merged 1 commit into
mainfrom
codex/fix-wheel-platform-validation

Conversation

@anth-volk
Copy link
Copy Markdown
Contributor

Fixes #72

Summary

  • normalize the Linux wheel platform strings in the publish workflow to match the filenames produced by python -m wheel tags
  • update wheel artifact validation to compare platform compatibility tags as a set rather than relying on compressed-tag ordering
  • add a local test that reads the publish workflow matrix and validates every declared wheel target
  • add a changelog fragment so merging this fix triggers a fresh release attempt

Testing

  • PYTHONPYCACHEPREFIX=/private/tmp/pycache-uk-rust PYTHONPATH=interfaces/python PYTEST_ADDOPTS='-p no:cacheprovider' python -m pytest interfaces/python/tests/test_validate_wheel_artifact.py -q
  • PYTHONPYCACHEPREFIX=/private/tmp/pycache-uk-rust PYTHONPATH=interfaces/python PYTEST_ADDOPTS='-p no:cacheprovider' python -m pytest interfaces/python/tests -q
  • python -c "import yaml; yaml.safe_load(open('.github/workflows/publish-pypi.yml'))"
  • PYTHONPYCACHEPREFIX=/private/tmp/pycache-uk-rust python -m py_compile scripts/validate_wheel_artifact.py interfaces/python/tests/test_validate_wheel_artifact.py
  • git diff --check

@anth-volk anth-volk marked this pull request as ready for review June 1, 2026 17:19
@anth-volk anth-volk merged commit 83bafe7 into main Jun 1, 2026
1 check passed
@anth-volk anth-volk deleted the codex/fix-wheel-platform-validation branch June 1, 2026 17:21
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.

Normalize Linux wheel platform tags in release artifact validation

1 participant