This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new bcd624855 Pin Python in the CI to fix integration tests (#4296)
bcd624855 is described below
commit bcd624855778384ee27648161de73951e3fb6ea1
Author: Batuhan Taskaya <[email protected]>
AuthorDate: Sun Nov 20 23:48:33 2022 +0300
Pin Python in the CI to fix integration tests (#4296)
---
.github/workflows/rust.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 61229d825..cdde8aa64 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: |