Skip to content

Commit 48c440d

Browse files
Specify old pip behaviour in yaml file
Specifying it in the setup.cfg file didn't seem to work, so try in line
1 parent 8d61dfd commit 48c440d

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.github/workflows/code.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
- name: Build Wheel
8282
run: cibuildwheel --output-dir dist
8383
env:
84+
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 }}

setup.cfg

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,3 @@ addopts =
6464
[coverage:run]
6565
# This is covered in the versiongit test suite so exclude it here
6666
omit = */_version_git.py
67-
68-
# cibuildwheel 2.3.0 upgraded to pip v21.3, which no longer completely copies the
69-
# source directory before building, so the symlink'd "iocStatsDb" folder isn't included
70-
# in built wheels. This is a temporary fix for that, until pip drops support for this option.
71-
# The long term fix is to revamp how we include the iocStatsDb folder.
72-
# https://github.com/pypa/cibuildwheel/issues/962
73-
# https://github.com/pypa/pip/issues/7555
74-
[tool.cibuildwheel.environment]
75-
PIP_USE_DEPRECATED = "out-of-tree-build"

0 commit comments

Comments
 (0)