Skip to content

Apache DataFusion SQL Query Engine

Pin Python in the CI to fix integration tests (#4296)

Batuhan Taskayabcd624855778
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 61229d8254..cdde8aa64c 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -194,7 +194,14 @@ jobs:
python-version: "3.10"
- name: Install Python dependencies
run: |
- python -m pip install --upgrade pip setuptools wheel
+ python -m pip install --upgrade pip wheel
+ # setuptools is normally only intended to serve as a build-time dependency
+ # but since numpy uses it internally and currently accessing methods that
+ # are removed from newer versions of setuptools we have a pin on it as well.
+ #
+ # TODO: this should be removed as soon as https://github.com/numpy/numpy/issues/22623
+ # is resolved and numpy version in integration-tests/requirements.txt is updated.
+ python -m pip install --upgrade "setuptools<=65.5.1"
python -m pip install -r integration-tests/requirements.txt
- name: Allow access of psql
run: |