Repository navigation
ci(amdsmi): run Python 3.6/3.7 legs without apt - #12587
Conversation
Debian 11 security updates are being moved to archive.debian.org: the bullseye-security index on deb.debian.org still lists +deb11uN packages but their pool files now 404, so 'apt-get install git' fails in the python:3.6/3.7-slim-bullseye containers and both legs go red. Check out on the host and run the tests in the image with docker run, so the legs no longer install anything from Debian mirrors.
❌ PR Check — Action Required
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🚫 Please fix the failed policies before requesting reviews. The following policy checks failed:
The |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The workflow change directly resolves the documented package-installation failure without altering test coverage.
Review effort: Balanced
Findings: None
What changed in this PR
Moves Python 3.6/3.7 AMDSMI tests to explicit Docker runs, avoiding unavailable Debian packages.
Changes:
- Performs checkout on the host.
- Runs legacy Python tests in existing container images.
- Leaves Python 3.8–3.14 execution unchanged.
| File | Description |
|---|---|
.github/workflows/amdsmi-python-versions.yml |
Separates host and container test execution paths. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
i temporarily disabled the python workflows until this is merged |
TheRock Submodule Bump ActivityNewest first
|
The Python 3.6 and 3.7 legs of AMDSMI Python Version Tests fail on every PR and on develop (for example run 36780340154) at
apt-get install git:Debian 11 LTS has ended and bullseye-security is being moved to the archive. The index on deb.debian.org still lists the
+deb11uNpackages, but their pool files are gone, and archive.debian.org doesn't have them yet.This change checks out on the host and runs the tests inside the same
python:3.x-slim-bullseyeimages withdocker run, so these legs no longer install anything from Debian. The 3.8–3.14 legs are unchanged.Tested: ran the new
docker runcommand locally with both images. 3.6.15 and 3.7.17 pass.