From e5751d28942ab504f8b1d169469c8b4b537181a9 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 27 Feb 2024 14:55:10 +0800 Subject: [PATCH] workaround a pycurl wheel issue to fix ci https://github.com/pycurl/pycurl/issues/834 --- .github/workflows/tests.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b8ccd6b..132d0fe 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -40,11 +40,11 @@ jobs: restore-keys: | ${{ runner.os }}-${{ env.cache-name }}-${{ matrix.deps }}- ${{ runner.os }}-${{ env.cache-name }}- - - name: Install pycurl deps + - name: workaround pycurl wheel if: ${{ contains(matrix.deps, 'pycurl') }} run: | - sudo apt update - sudo apt install -y libcurl4-openssl-dev + sudo mkdir -p /etc/pki/tls/certs + sudo ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt # werkzeug is pinned for httpbin compatibility https://github.com/postmanlabs/httpbin/issues/673 - name: Install Python deps run: pip install -U ${{ matrix.deps }} pytest 'pytest-asyncio>=0.23' pytest-httpbin flaky structlog tomli platformdirs lxml 'werkzeug<2.1' awesomeversion