Skip to content

Commit 1d56d0e

Browse files
committed
ci: smoke test uses python -m pip too (Windows pip self-modify)
The previous fix switched cibw before-build to python -m pip install, but missed the smoke-test step's `<venv>/Scripts/pip install --upgrade pip` line, which trips the same Windows "ERROR: To modify pip, please run the following command: ...python.exe -m pip install ..." check. Switch both smoke test steps (Linux + Windows) to the python -m pip form for symmetry.
1 parent cd735e7 commit 1d56d0e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/buildRyzenWheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ jobs:
234234
shell: bash
235235
run: |
236236
python${{ matrix.python_version }} -m venv /tmp/smoke-venv
237-
/tmp/smoke-venv/bin/pip install --upgrade pip
238-
/tmp/smoke-venv/bin/pip install wheelhouse/repaired_wheel/mlir_aie*whl
237+
/tmp/smoke-venv/bin/python -m pip install --upgrade pip
238+
/tmp/smoke-venv/bin/python -m pip install wheelhouse/repaired_wheel/mlir_aie*whl
239239
/tmp/smoke-venv/bin/python -c 'import aie.ir; import aie.extras; import aie.helpers'
240240
241241
- name: Generate build provenance attestation
@@ -473,8 +473,8 @@ jobs:
473473
shell: bash
474474
run: |
475475
python -m venv /tmp/smoke-venv
476-
/tmp/smoke-venv/Scripts/pip install --upgrade pip
477-
/tmp/smoke-venv/Scripts/pip install wheelhouse/repaired_wheel/mlir_aie*whl
476+
/tmp/smoke-venv/Scripts/python -m pip install --upgrade pip
477+
/tmp/smoke-venv/Scripts/python -m pip install wheelhouse/repaired_wheel/mlir_aie*whl
478478
/tmp/smoke-venv/Scripts/python -c 'import aie.ir; import aie.extras; import aie.helpers'
479479
480480
- name: Generate build provenance attestation

0 commit comments

Comments
 (0)