Skip to content

Commit

Permalink
only use build isolation when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Jan 27, 2024
1 parent ad00d5c commit d09cc76
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Expand Up @@ -158,8 +158,15 @@ jobs:
if: ${{ matrix.os == 'windows-2019' }}

- name: Build and install Shapely
# for the numpy nightly build, we temporarily need to build without
# the standard build isolation based on build-system.requires, to
# ensure we build against numpy nightly (numpy 2.0 compat)
run: |
pip install -e . --no-build-isolation
if [ -z "${{ matrix.numpy }}" ]; then
pip install -e . --no-build-isolation
else
pip install -e .
fi
- name: Overview of the Python environment (pip list)
run: pip list
Expand Down

0 comments on commit d09cc76

Please sign in to comment.