Skip to content

Commit a4ffb29

Browse files
committed
Preinstall pybind11 on no-build-isolation builds
1 parent 5e29a2a commit a4ffb29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@ jobs:
170170
-r requirements/testing/all.txt \
171171
${{ matrix.extra-requirements }}
172172
173+
# Preinstall pybind11 on no-build-isolation builds.
174+
if [[ "${{ matrix.name-suffix }}" == '(Minimum Versions)' ]]; then
175+
python -m pip install 'pybind11>=2.6'
176+
fi
177+
173178
# Install optional dependencies from PyPI.
174179
# Sphinx is needed to run sphinxext tests
175180
python -m pip install --upgrade sphinx

0 commit comments

Comments
 (0)