Skip to content

Commit c8bad4d

Browse files
committed
use --no-deps
1 parent df811f8 commit c8bad4d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build_wheels.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ jobs:
4848
CIBW_REPAIR_WHEEL_COMMAND: |
4949
auditwheel repair -w {dest_dir} --plat manylinux_2_28_x86_64 {wheel}
5050
CIBW_TEST_COMMAND: |
51-
pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
52-
pip install {package}[test]
51+
pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
52+
pip install --no-deps {package}
53+
pip install pytest pytest-run-parallel
5354
if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then
5455
pytest --parallel-threads=10 --iterations=10 {project}/tests
5556
else
@@ -111,8 +112,9 @@ jobs:
111112
CIBW_REPAIR_WHEEL_COMMAND: >
112113
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
113114
CIBW_TEST_COMMAND: |
114-
pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
115-
pip install {package}[test]
115+
pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
116+
pip install --no-deps {package}
117+
pip install pytest pytest-run-parallel
116118
if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then
117119
pytest --parallel-threads=10 --iterations=10 {project}/tests
118120
else
@@ -176,7 +178,7 @@ jobs:
176178
CFLAGS="/DDISABLE_QUADBLAS $CFLAGS"
177179
CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS"
178180
CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin'
179-
CIBW_TEST_COMMAND_WINDOWS: pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy && pip install {package}[test] && pytest -s {project}/tests
181+
CIBW_TEST_COMMAND_WINDOWS: pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy && pip install --no-deps {package} && pip install pytest pytest-run-parallel && pytest -s {project}/tests
180182
CIBW_TEST_EXTRAS: test
181183
shell: pwsh
182184
run: |

0 commit comments

Comments
 (0)