Skip to content

ci(amdsmi): add Python 3.15 to the version test matrix - #13394

Merged
adam360x merged 1 commit into
developfrom
users/marifamd/amdsmi-python-3.15
Oct 14, 2026
Merged

adam360x merged 1 commit into
developfrom
users/marifamd/amdsmi-python-3.15

Conversation

@marifamd

Copy link
Copy Markdown
Contributor

Motivation

Python 3.15.0 is out, but the AMD SMI Python-version tests stop at 3.14, so a loader or wrapper change that only breaks on 3.15 isn't caught.

Technical Details

Workflow (.github/workflows/amdsmi-python-versions.yml):

  • Add a 3.15 leg. It runs like the 3.8 to 3.14 legs, on the GitHub-hosted ubuntu-22.04 runner via setup-python, which has a stable 3.15.0 build for it

Tests (projects/amdsmi/tests/):

  • run_amdsmi_python_versions_test.py: raise NEWEST_SUPPORTED_MINOR to 15, which its comment says to keep in sync with the matrix
  • Move the 3.6..3.14 range to 3.15 in the harness and run_amdsmi_build.py help text and a test_abi_compat.py docstring

Issue Tracking

Extends the matrix added in #9034.

Test Plan

  • Ran the workflow's 3.15 test command against this branch with the exact build setup-python installs (python-3.15.0-linux-22.04-x64), in an offline ubuntu:22.04 container
  • Imported amdsmi_wrapper on 3.15 with all warnings enabled

Test Result

  • Python 3.15.0 passes the loader, ABI-compat, and packaging guard tests
  • No warnings on 3.15

Submission Checklist

- Add a 3.15 leg; setup-python has a stable 3.15.0 build for the
  ubuntu-22.04 runner
- Raise NEWEST_SUPPORTED_MINOR to 15 and move the 3.6..3.14 range
  in the harness and build-driver help text and the test_abi_compat
  docstring to 3.15

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
@marifamd
marifamd requested a review from a team October 13, 2026 19:22
@github-actions github-actions Bot added project: amdsmi github actions Pull requests that update GitHub Actions code labels Oct 13, 2026
@therock-pr-bot

Copy link
Copy Markdown

✅ All Policy Checks Passed

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —

🎉 All policy checks passed!

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

🙋 Wish to Override Policy?

@adam360x
adam360x merged commit 24a0ebf into develop Oct 14, 2026
435 of 448 checks passed
@adam360x
adam360x deleted the users/marifamd/amdsmi-python-3.15 branch October 14, 2026 16:00
@systems-assistant

Copy link
Copy Markdown
Contributor

TheRock Submodule Bump Activity

Newest first

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

Labels

github actions Pull requests that update GitHub Actions code organization: ROCm project: amdsmi

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants