Skip to content

Commit

Permalink
Temp build wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Jul 18, 2023
1 parent aa13082 commit 02d04a7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02d04a7

Please sign in to comment.