Commit 95a9740
committed
ci: use python 3.12 venv for test-kernels install step
The Strix Halo runner uses a custom container-hook that exec's commands
with a PATH where /usr/bin/python3 (Debian 3.11, PEP 668 externally
managed) precedes /usr/local/bin/python3 (3.12). uv pip install --system
then fails with 'externally managed' against the system 3.11.
Create a venv from /usr/local/bin/python3.12 instead and prepend its
bin/ to GITHUB_PATH so subsequent python and pytest invocations resolve
to the venv interpreter.
Signed-off-by: Matthias Gehre <matthias.gehre@amd.com>1 parent 0b992ff commit 95a9740
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
192 | 198 | | |
193 | 199 | | |
194 | | - | |
| 200 | + | |
195 | 201 | | |
196 | 202 | | |
197 | 203 | | |
198 | | - | |
| 204 | + | |
199 | 205 | | |
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
203 | 209 | | |
204 | 210 | | |
205 | 211 | | |
206 | | - | |
| 212 | + | |
207 | 213 | | |
208 | 214 | | |
209 | 215 | | |
| |||
0 commit comments