fix(ci): publish from single build leg to avoid wheel content conflicts#8
Conversation
Pure Python package produces py3-none-any wheel — identical filename from all 9 matrix legs but non-identical content (timestamps, metadata ordering). Use ubuntu-latest py3.11 artifacts only, matching smoke-test.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughGitHub Actions workflow in the build-wheels pipeline is simplified to use a named artifact download ( Changes
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adjusts the release publish workflow to avoid artifact deduplication failures caused by multiple matrix legs producing the same py3-none-any wheel filename with non-identical byte content.
Changes:
- Downloads distributions for publishing from a single build artifact (
dist-ubuntu-latest-py3.11) instead of aggregating all matrix artifacts. - Removes the publish-time artifact collection/deduplication logic and replaces it with a simpler “verify distributions exist” check.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Summary
Pure Python package produces
py3-none-anywheel — identical filename from all 9 build matrix legs but non-identical content (timestamps, metadata ordering). The publish job's dedup check fails on content mismatch.Fix: download artifacts from a single build leg (ubuntu-latest py3.11) for publish, matching the smoke-test approach.
Test plan