Skip to content

Apache DataFusion SQL Query Engine

Fix CI job test-datafusion-pyarrow (#14790)

Owen Leung82ed8e0d61ab
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index a743d0e8fd..99aaa7d6f2 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -389,21 +389,20 @@ jobs:
test-datafusion-pyarrow:
name: cargo test pyarrow (amd64)
needs: linux-build-lib
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
container:
- image: amd64/rust:bullseye # Workaround https://github.com/actions/setup-python/issues/721
+ image: amd64/rust:bullseye # Use the bullseye tag image which comes with python3.9
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1
- - uses: actions/setup-python@v5
- with:
- python-version: "3.8"
- name: Install PyArrow
run: |
echo "LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
- python -m pip install pyarrow
+ apt-get update
+ apt-get install python3-pip -y
+ python3 -m pip install pyarrow
- name: Setup Rust toolchain
uses: ./.github/actions/setup-builder
with: