Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup_base/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ runs:
fi

- name: "Install Python"
uses: actions/setup-python@v4
uses: actions/setup-python@v6.0.0
if: ${{ startsWith(inputs.os, 'macos') || startsWith(inputs.os, 'windows') || startsWith(inputs.os, 'ubuntu') }}
with:
python-version: ${{ inputs.python-version }}
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/build_mlir_python_bindings_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
restore-key: "mlir_python_bindings_${{ matrix.name }}_clang"
os: ${{ matrix.os }}
arch: ${{ matrix.arch }}
python-version: '3.15.0-alpha.2'

- name: "Download MLIR from releases"
if: ${{ !inputs.workflow_call }}
Expand Down Expand Up @@ -174,6 +175,8 @@ jobs:
run: |

$python3_command -m cibuildwheel "$PWD/projects/mlir-python-bindings" --output-dir wheelhouse
echo "build using ${{ matrix.python-version }}"
$python3_command -m pip wheel "$PWD/projects/mlir-python-bindings" --wheel-dir wheelhouse

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -207,7 +210,8 @@ jobs:
]
python-version: [
"3.10", "3.11", "3.12",
"3.13", "3.14", "3.14t"
"3.13", "3.14", "3.14t",
"3.15.0-alpha.2"
]
include: [
{runs-on: "ubuntu-22.04", name: "ubuntu_x86_64", os: "ubuntu"},
Expand Down Expand Up @@ -273,12 +277,11 @@ jobs:
path: wheelhouse

- name: "Install mlir-python-bindings"
run: python -m pip install mlir-python-bindings -f wheelhouse
run: python -m pip install mlir-python-bindings numpy --pre -f wheelhouse

- name: "Test mlir-python-bindings"
run: |

pip install mlir-python-bindings numpy -v -f wheelhouse
cd third_party/llvm-project/mlir/test/python/dialects
for f in *.py; do
if [[ "$f" == "python_test.py" ]]; then
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build_test_release_eudsl_python_extras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ jobs:
]
python-version: [
"3.10", "3.11", "3.12",
"3.13", "3.14", "3.14t"
"3.13", "3.14", "3.14t",
"3.15.0-alpha.2"
]
include: [
{runs-on: "ubuntu-22.04", name: "ubuntu_x86_64", os: "ubuntu"},
Expand Down
4 changes: 2 additions & 2 deletions projects/mlir-python-bindings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ name = "mlir-python-bindings"
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"numpy>=1.19.5, <=2.3.0",
"PyYAML>=5.4.0, <=6.0.1",
"numpy>=1.19.5",
"PyYAML>=5.4.0",
"ml_dtypes>=0.1.0, <=0.6.0; python_version<'3.13'",
"ml_dtypes>=0.5.0, <=0.6.0; python_version>='3.13'",
]
Expand Down
Loading