From 08f13262c0cf894d59eb91129c01b956e7d9463e Mon Sep 17 00:00:00 2001 From: evgfilim1 Date: Fri, 19 Aug 2022 13:27:37 +0500 Subject: [PATCH] Try to fix uvloop build errors on macos-latest --- .github/workflows/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5700aca9..aeda7bef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -92,6 +92,15 @@ jobs: path: .venv key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.CACHE_VERSION }} + - name: Apply macos-specific workarounds when building uvloop on PyPy + if: > + matrix.os == 'macos-latest' + && startswith(matrix.python-version, 'pypy') + && steps.cached-poetry-dependencies.outputs.cache-hit != 'true' + run: | + set -eu + pip install -U pip + - name: Project dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: |