Skip to content

Commit f9a8af1

Browse files
Attempt to use cibuildwheel 2.3.1 again
This approach specifies the environment variable inside the CIBW_ENVIRONMENT variable, which will mean it won't interfere with cibuildwheel setting up its own environment
1 parent 7714053 commit f9a8af1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/code.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Install Python Dependencies
7474
# Pin cibuildwheel due to https://github.com/pypa/cibuildwheel/issues/962
75-
run: pip install build cibuildwheel==2.2.2
75+
run: pip install build cibuildwheel>=2.3.1
7676

7777
- name: Build Sdist
7878
if: matrix.sdist
@@ -81,6 +81,7 @@ jobs:
8181
- name: Build Wheel
8282
run: cibuildwheel --output-dir dist
8383
env:
84+
CIBW_ENVIRONMENT: PIP_USE_DEPRECATED=out-of-tree-build
8485
CIBW_BUILD: ${{ matrix.python }}*64
8586
CIBW_TEST_EXTRAS: dev
8687
CIBW_TEST_COMMAND: pytest {project}/tests --cov-report xml:${{ matrix.cov_file }} --junit-xml=${{ matrix.results_file }}

0 commit comments

Comments
 (0)