From 5d23286492f5ecfa4131de10d17d5b14d966d8d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Thu, 4 May 2023 18:08:03 +0200 Subject: [PATCH] Work around bug in requests 2.30.0 https://github.com/psf/requests/issues/6437 --- .github/workflows/CI.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 929805e..64b6404 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -44,6 +44,13 @@ jobs: uses: pdm-project/setup-pdm@v2 with: python-version: ${{ matrix.python-version }} + enable-pep582: false + cache: true + cache-dependency-path: | + ./pdm.lock + ./Cargo.lock + - name: Work around requests bug https://github.com/psf/requests/issues/6437 + run: pip install --force requests==2.29.0 - uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install dependencies run: | @@ -65,6 +72,8 @@ jobs: cache-dependency-path: | ./pdm.lock ./Cargo.lock + - name: Work around requests bug https://github.com/psf/requests/issues/6437 + run: pip install --force requests==2.29.0 - uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install dependencies run: |