From bcd624855778384ee27648161de73951e3fb6ea1 Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Sun, 20 Nov 2022 23:48:33 +0300 Subject: [PATCH] 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 61229d8254f7..cdde8aa64c8d 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: |