Skip to content

Commit 6dbc411

Browse files
committed
use wheels instead of package
1 parent c8bad4d commit 6dbc411

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build_wheels.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
auditwheel repair -w {dest_dir} --plat manylinux_2_28_x86_64 {wheel}
5050
CIBW_TEST_COMMAND: |
5151
pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
52-
pip install --no-deps {package}
52+
pip install --no-deps {wheel}
5353
pip install pytest pytest-run-parallel
5454
if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then
5555
pytest --parallel-threads=10 --iterations=10 {project}/tests
@@ -113,7 +113,7 @@ jobs:
113113
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
114114
CIBW_TEST_COMMAND: |
115115
pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
116-
pip install --no-deps {package}
116+
pip install --no-deps {wheel}
117117
pip install pytest pytest-run-parallel
118118
if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then
119119
pytest --parallel-threads=10 --iterations=10 {project}/tests
@@ -178,7 +178,7 @@ jobs:
178178
CFLAGS="/DDISABLE_QUADBLAS $CFLAGS"
179179
CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS"
180180
CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin'
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
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 {wheel} && pip install pytest pytest-run-parallel && pytest -s {project}/tests
182182
CIBW_TEST_EXTRAS: test
183183
shell: pwsh
184184
run: |
@@ -210,15 +210,15 @@ jobs:
210210
- name: Install build dependencies
211211
run: |
212212
python -m pip install --upgrade pip
213-
python -m pip install build pytest
213+
python -m pip install build pytest meson meson-python wheel ninja
214214
python -m pip install --pre --upgrade --timeout=60 --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
215215
216216
- name: Build SDist & test sdist
217217
env:
218218
LDFLAGS: "-fopenmp"
219219
run: |
220220
python -m build --sdist --outdir dist/
221-
pip install dist/*.tar.gz -v
221+
pip install --no-build-isolation dist/*.tar.gz -v
222222
pytest -s tests
223223
working-directory: ./quaddtype
224224

0 commit comments

Comments
 (0)