From 02d04a79489d6ac9a3657cf97c347f6970271d83 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 18 Jul 2023 11:16:40 +0200 Subject: [PATCH] Temp build wheels --- .github/workflows/ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index da7d73c272df79..f1819ad49333d6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -489,10 +489,20 @@ jobs: - name: Create Python virtual environment if: steps.cache-venv.outputs.cache-hit != 'true' run: | + python -m venv venv-build + . venv-build/bin/activate + pip install --cache-dir=$PIP_CACHE -U "pip>=21.3.1" setuptools wheel + pip install cython!=3.0 oldest-supported-numpy + echo "cython<3.0" >> c.txt + PIP_CONSTRAINT=c.txt pip install --cache-dir=$PIP_CACHE --no-build-isolation pycocotools==2.0.1 + PIP_CONSTRAINT=c.txt pip install --cache-dir=$PIP_CACHE --no-build-isolation DTLSSocket==0.1.15 + deactivate + python -m venv venv . venv/bin/activate python --version pip install --cache-dir=$PIP_CACHE -U "pip>=21.3.1" setuptools wheel + pip uninstall -y cython oldest-supported-numpy pip install --cache-dir=$PIP_CACHE -r requirements_all.txt pip install --cache-dir=$PIP_CACHE -r requirements_test.txt pip install -e . --config-settings editable_mode=compat