ci: fix macOS Python 3.15 and tpchgen-cli 4.x failures (#1832) * ci: use tpchgen-cli 4.x parquet subcommand tpchgen-cli 4.0.0 moved the output format to a subcommand and removed the --format flag, so the unpinned install made `tpchgen-cli -s 1 --format=parquet` fail with "unexpected argument '--format'". Use `tpchgen-cli parquet -s 1` and pin to 4.x so a future major release cannot break the TPC-H step silently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: pin Python 3.14 for uv sync in the macOS and Windows build jobs The macos-latest image moved its default python3 from 3.14 to 3.15 (image 20261013). With no interpreter requested, uv sync builds the dev environment on 3.15, where the locked pyarrow, numpy and pyyaml have no wheels. uv falls back to building them from source and the "Install dependencies" step fails. Every PR has failed "build / macOS arm64 (abi3)" this way since 2026-10-17. Request 3.14 explicitly, the same way test.yml already passes --python to uv sync. Apply the same pin to the release-only macOS x86_64 job, which runs the same command. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23570ff..9f21624 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml
@@ -334,9 +334,11 @@ version: "27.4" repo-token: ${{ secrets.GITHUB_TOKEN }} + # Pin the interpreter: uv otherwise picks the runner's default python3 + # (3.15 on macos-latest), and some locked dev deps have no 3.15 wheels. - name: Install dependencies if: matrix.python-tag == 'abi3' - run: uv sync --dev --no-install-package datafusion + run: uv sync --python 3.14 --dev --no-install-package datafusion # Clippy is interpreter-agnostic; run once per OS (against the abi3 entry) # so the matrix doesn't pay the cost three times. @@ -417,9 +419,10 @@ version: "27.4" repo-token: ${{ secrets.GITHUB_TOKEN }} + # Pinned for the same reason as the macOS arm64 / Windows job above. - name: Install dependencies if: matrix.python-tag == 'abi3' - run: uv sync --dev --no-install-package datafusion + run: uv sync --python 3.14 --dev --no-install-package datafusion - name: Build wheel uses: ./.github/actions/build-wheel
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1670e2b..15ab3e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml
@@ -133,8 +133,8 @@ run: | mkdir examples/tpch/data cd examples/tpch/data - uv pip install tpchgen-cli - uv run --no-project tpchgen-cli -s 1 --format=parquet + uv pip install "tpchgen-cli>=4,<5" + uv run --no-project tpchgen-cli parquet -s 1 - name: Run TPC-H examples if: matrix.wheel-tag == 'abi3'