From f91d2f5fec2faab075a1fb679c7be89132eec4e2 Mon Sep 17 00:00:00 2001 From: Will Jones Date: Mon, 2 Mar 2026 09:38:54 -0800 Subject: [PATCH] ci(python): pin maturin to work around bug (#3088) Work around for https://github.com/PyO3/maturin/issues/3059 --- .github/workflows/build_linux_wheel/action.yml | 2 ++ .github/workflows/build_mac_wheel/action.yml | 1 + .github/workflows/build_windows_wheel/action.yml | 1 + .github/workflows/python.yml | 4 ++++ 4 files changed, 8 insertions(+) diff --git a/.github/workflows/build_linux_wheel/action.yml b/.github/workflows/build_linux_wheel/action.yml index 78e04789d..f13dd7017 100644 --- a/.github/workflows/build_linux_wheel/action.yml +++ b/.github/workflows/build_linux_wheel/action.yml @@ -29,6 +29,7 @@ runs: if: ${{ inputs.arm-build == 'false' }} uses: PyO3/maturin-action@v1 with: + maturin-version: "1.12.4" command: build working-directory: python docker-options: "-e PIP_EXTRA_INDEX_URL='https://pypi.fury.io/lance-format/ https://pypi.fury.io/lancedb/'" @@ -44,6 +45,7 @@ runs: if: ${{ inputs.arm-build == 'true' }} uses: PyO3/maturin-action@v1 with: + maturin-version: "1.12.4" command: build working-directory: python docker-options: "-e PIP_EXTRA_INDEX_URL='https://pypi.fury.io/lance-format/ https://pypi.fury.io/lancedb/'" diff --git a/.github/workflows/build_mac_wheel/action.yml b/.github/workflows/build_mac_wheel/action.yml index b381bc222..75d942c96 100644 --- a/.github/workflows/build_mac_wheel/action.yml +++ b/.github/workflows/build_mac_wheel/action.yml @@ -20,6 +20,7 @@ runs: uses: PyO3/maturin-action@v1 with: command: build + maturin-version: "1.12.4" # TODO: pass through interpreter args: ${{ inputs.args }} docker-options: "-e PIP_EXTRA_INDEX_URL='https://pypi.fury.io/lance-format/ https://pypi.fury.io/lancedb/'" diff --git a/.github/workflows/build_windows_wheel/action.yml b/.github/workflows/build_windows_wheel/action.yml index 34251850a..742b187b2 100644 --- a/.github/workflows/build_windows_wheel/action.yml +++ b/.github/workflows/build_windows_wheel/action.yml @@ -25,6 +25,7 @@ runs: uses: PyO3/maturin-action@v1 with: command: build + maturin-version: "1.12.4" args: ${{ inputs.args }} docker-options: "-e PIP_EXTRA_INDEX_URL='https://pypi.fury.io/lance-format/ https://pypi.fury.io/lancedb/'" working-directory: python diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 50c8f4ec9..dd9ea346e 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -10,6 +10,10 @@ on: - python/** - rust/** - .github/workflows/python.yml + - .github/workflows/build_linux_wheel/** + - .github/workflows/build_mac_wheel/** + - .github/workflows/build_windows_wheel/** + - .github/workflows/run_tests/** concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}