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: |