Skip to content

Commit eb32a51

Browse files
committed
Update test.yml
1 parent 62535e1 commit eb32a51

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,6 @@ jobs:
165165
python-version: ${{ matrix.py_version }}
166166
allow-prereleases: true
167167

168-
- name: install mlir-python-extras
169-
shell: bash
170-
env:
171-
BRANCH: ${{ github.head_ref || github.ref_name }}
172-
run: |
173-
174-
SCRIPT_ADDRESS="https://raw.githubusercontent.com/makslevental/mlir-python-extras/refs/heads/${BRANCH}/scripts/get_latest_bindings.py"Add commentMore actions
175-
curl $SCRIPT_ADDRESS -o get_latest_bindings.py
176-
LATEST_VERSION=$(python get_latest_bindings.py "none")
177-
pip install mlir_python_bindings==$LATEST_VERSION -f https://makslevental.github.io/wheels
178-
pip install "git+https://github.com/makslevental/mlir-python-extras@$BRANCH"
179-
180168
- name: Test jupyter notebooks
181169
# sed: can't read C:\hostedtoolcache\windows\Python\3.12.10\x64/jupyter_client/runapp.py: No such file or directory
182170
if: matrix.os != 'windows-2022'

scripts/get_latest_bindings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_latest_bindings_cand(all_candidates, gpu_platform: str, no_gpu=False):
5050

5151
assert len(bindings_cands), "couldn't find any bindings versions"
5252
bindings_cands.sort(key=lambda x: x.version.release)
53-
return bindings_cands[0]
53+
return bindings_cands[-1]
5454

5555

5656
def get_latest_bindings_version_name(gpu_platform, no_gpu=False):

0 commit comments

Comments
 (0)