Skip to content

Commit

Permalink
simplify getting prerelease Cython for free-threaded tests
Browse files Browse the repository at this point in the history
set pip environment variables
  • Loading branch information
minrk committed Aug 2, 2024
1 parent f1b0d8d commit 3cc5580
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,11 @@ jobs:
echo $PATH
echo "PATH=$PATH" >> "$GITHUB_ENV"
echo "PYTHON_GIL=0" >> "$GITHUB_ENV"
# need prerelease Cython until 3.1 is out
echo "PIP_PRE=1" >> "$GITHUB_ENV"
echo "PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" >> "$GITHUB_ENV"
shell: micromamba-shell {0}



- name: setup coverage
if: startsWith(matrix.python, 'pypy') || startsWith(matrix.python, '3.12')
run: |
Expand All @@ -158,17 +159,6 @@ jobs:
run: |
pip install --upgrade pip wheel
pip install -r test-requirements.txt
- name: install free-threading dependencies
if: ${{ matrix.free_threading }}
run: |
conda info
which -a python
which -a pip
# need build deps for no-build-isolation
# remove after Cython 3.1
pip install scikit-build-core ninja packaging
pip install --upgrade --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython
- name: remove tornado
if: matrix.tornado == 'none'
Expand Down

0 comments on commit 3cc5580

Please sign in to comment.