Skip to content

Commit d299124

Browse files
committed
CI ordering was wrong and maturin needed uv option
1 parent e27831d commit d299124

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- uses: actions/checkout@v4
50-
51-
# Change to stable once https://issues.apache.org/jira/browse/INFRA-26428 resolves
52-
- uses: dtolnay/rust-toolchain@nightly
53-
50+
- uses: astral-sh/setup-uv@v5
5451
- name: Generate license file
5552
run: uv run --no-project python ./dev/create_license.py
5653
- uses: actions/upload-artifact@v4
@@ -94,7 +91,7 @@ jobs:
9491
uses: astral-sh/setup-uv@v5
9592

9693
- name: Build Python package
97-
run: uv run --no-project maturin build --release --strip --features substrait
94+
run: uv run --no-project maturin build --release --strip --features substrait -uv
9895

9996
- name: List Windows wheels
10097
if: matrix.os == 'windows-latest'
@@ -148,7 +145,7 @@ jobs:
148145
uses: astral-sh/setup-uv@v5
149146

150147
- name: Build Python package
151-
run: uv run --no-project maturin build --release --strip --features substrait
148+
run: uv run --no-project maturin build --release --strip --features substrait -uv
152149

153150
- name: List Mac wheels
154151
run: find target/wheels/

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
RUST_BACKTRACE: 1
8383
run: |
8484
uv sync --dev --no-install-package datafusion
85-
uv run --no-project maturin develop
85+
uv run --no-project maturin develop -uv
8686
uv run --no-project pytest -v .
8787
8888
- name: FFI unit tests

0 commit comments

Comments
 (0)