Skip to content

Commit 96892e8

Browse files
committed
ci: fix double 'python -m python -m' from the pip-install sweep
My previous sweep regex matched 'pip install --require-hashes' even when already preceded by 'python -m ', producing 6 lines of the form 'python -m python -m pip install --require-hashes ...'. mlirDistro caught this immediately: the workflow itself failed to start because the run line was malformed. Collapse the doubled prefix back to single 'python -m'.
1 parent 3739a51 commit 96892e8

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/buildRyzenWheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
- name: Validate wheel metadata
222222
shell: bash
223223
run: |
224-
python -m python -m pip install --require-hashes -r utils/mlir_aie_wheels/ci-tools.lock
224+
python -m pip install --require-hashes -r utils/mlir_aie_wheels/ci-tools.lock
225225
python -m twine check --strict wheelhouse/repaired_wheel/mlir_aie*whl
226226
227227
- name: Set up Python (host) for smoke test
@@ -466,7 +466,7 @@ jobs:
466466
- name: Validate wheel metadata
467467
shell: bash
468468
run: |
469-
python -m python -m pip install --require-hashes -r utils/mlir_aie_wheels/ci-tools.lock
469+
python -m pip install --require-hashes -r utils/mlir_aie_wheels/ci-tools.lock
470470
python -m twine check --strict wheelhouse/repaired_wheel/mlir_aie*whl
471471
472472
- name: Smoke test wheel in clean venv
@@ -535,7 +535,7 @@ jobs:
535535
- name: PyPI publish rehearsal (RTTI ON)
536536
shell: bash
537537
run: |
538-
python -m python -m pip install --require-hashes -r utils/mlir_aie_wheels/ci-tools.lock
538+
python -m pip install --require-hashes -r utils/mlir_aie_wheels/ci-tools.lock
539539
bash utils/mlir_aie_wheels/scripts/pypi_rehearsal.sh wheels_on_flat wheels_on_stripped 'buildRyzenWheels / RTTI ON'
540540
541541
- name: PyPI publish rehearsal (RTTI OFF)

.github/workflows/mlirAIEDistro.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ jobs:
354354
working-directory: ${{ steps.workspace_root.outputs.WORKSPACE_ROOT }}
355355
shell: bash
356356
run: |
357-
python -m python -m pip install --require-hashes -r ci-tools.lock
357+
python -m pip install --require-hashes -r ci-tools.lock
358358
python -m twine check --strict wheelhouse/*.whl
359359
360360
- name: Generate build provenance attestation
@@ -586,7 +586,7 @@ jobs:
586586
- name: PyPI publish rehearsal
587587
shell: bash
588588
run: |
589-
python -m python -m pip install --require-hashes -r utils/mlir_aie_wheels/ci-tools.lock
589+
python -m pip install --require-hashes -r utils/mlir_aie_wheels/ci-tools.lock
590590
bash utils/mlir_aie_wheels/scripts/pypi_rehearsal.sh dist dist_stripped \
591591
'mlirAIEDistro / ${{ matrix.OS }} ${{ matrix.ARCH }} rtti=${{ matrix.ENABLE_RTTI }}'
592592

.github/workflows/mlirDistro.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ jobs:
364364
working-directory: ${{ steps.workspace_root.outputs.WORKSPACE_ROOT }}
365365
shell: bash
366366
run: |
367-
python -m python -m pip install --require-hashes -r ci-tools.lock
367+
python -m pip install --require-hashes -r ci-tools.lock
368368
python -m twine check --strict wheelhouse/*.whl
369369
370370
- name: Generate build provenance attestation

0 commit comments

Comments
 (0)