Skip to content

Commit

Permalink
CI ordering was wrong and maturin needed uv option
Browse files Browse the repository at this point in the history
  • Loading branch information
timsaucer committed Jan 14, 2025
1 parent e27831d commit d299124
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# Change to stable once https://issues.apache.org/jira/browse/INFRA-26428 resolves
- uses: dtolnay/rust-toolchain@nightly

- uses: astral-sh/setup-uv@v5
- name: Generate license file
run: uv run --no-project python ./dev/create_license.py
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -94,7 +91,7 @@ jobs:
uses: astral-sh/setup-uv@v5

- name: Build Python package
run: uv run --no-project maturin build --release --strip --features substrait
run: uv run --no-project maturin build --release --strip --features substrait -uv

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

- name: Build Python package
run: uv run --no-project maturin build --release --strip --features substrait
run: uv run --no-project maturin build --release --strip --features substrait -uv

- name: List Mac wheels
run: find target/wheels/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
RUST_BACKTRACE: 1
run: |
uv sync --dev --no-install-package datafusion
uv run --no-project maturin develop
uv run --no-project maturin develop -uv
uv run --no-project pytest -v .
- name: FFI unit tests
Expand Down

0 comments on commit d299124

Please sign in to comment.