Skip to content

feat: Catch incomplete Python package sets#6433

Open
marbre wants to merge 2 commits into
mainfrom
users/marbre/catch-incomplete-rocm-packages
Open

feat: Catch incomplete Python package sets#6433
marbre wants to merge 2 commits into
mainfrom
users/marbre/catch-incomplete-rocm-packages

Conversation

@marbre

@marbre marbre commented Jul 9, 2026

Copy link
Copy Markdown
Member

Motivation

Kpack-split Python package builds could succeed even when the fetched
artifact catalog did not contain every device target advertised for the
platform.

Furthermore, kpack-split package builds could leave a publishable dist
directory without required runtime and meta packages, allowing upload
to proceed with an incomplete ROCm Python package set.

Technical Details

Let the package build fail when advertised device targets are missing so
incomplete sets of device packages are caught before upload.
Furthermore, verifies that the final dist output includes the ROCm meta
sdist, core and libraries wheels, each expected current-platform device
wheel, and the devel wheel (for the case that dev artifacts have been
fetched).

Closes #6422.

Submission Checklist

marbre added 2 commits July 9, 2026 02:08
Kpack-split Python package builds could succeed even when the fetched
artifact catalog did not contain every device target advertised for the
platform. That allowed nightly releases to publish an incomplete set of
rocm-sdk-device wheels without failing the workflow.

With this patch, the package build will fail when advertised device
targets are missing so incomplete sets of device packages are caught
before upload.

Assisted-by: Codex <codex@openai.com>
Kpack-split package builds could leave a publishable dist directory
without required runtime and meta packages, allowing upload to proceed
with an incomplete ROCm Python package set.

This patch implements verifying that the final dist output includes the
ROCm meta sdist, core and libraries wheels, each expected
current-platform device wheel, and the devel wheel (for the case that
dev artifacts have been fetched).

Assisted-by: Codex <codex@openai.com>#
@therock-pr-bot

therock-pr-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
🌿 Branch Name ✅ Pass
📝 PR Title/Description ✅ Pass
Forbidden Files ✅ Pass
🧪 Unit Test ✅ Pass
🔎 pre-commit ✅ Pass
🚫 Draft PR 🔜 To Be Enabled
🚩 Feature Flag 🔜 To Be Enabled
📊 Code Coverage 🔜 To Be Enabled
🤖 therock-pr-bot ✅ Pass

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

@therock-pr-bot

therock-pr-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

[Issue] Linux wheels build fails — rocm meta-package missing from nightly

1 participant