Skip to content

Commit 229913e

Browse files
authored
Avoid grep on Windows (#11879)
Co-authored-by: hauntsaninja <>
1 parent 1beed9a commit 229913e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

misc/build_wheel.py

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def create_environ(python_version: str) -> Dict[str, str]:
8383
&& pip install -r /tmp/test-requirements.txt
8484
)
8585
""".replace('\n', ' ')
86+
# lxml currently has wheels on Windows and doesn't have grep, so special case
87+
env['CIBW_BEFORE_TEST_WINDOWS'] = "pip install -r {project}/mypy/test-requirements.txt"
8688

8789
# pytest looks for configuration files in the parent directories of where the tests live.
8890
# since we are trying to run the tests from their installed location, we copy those into

0 commit comments

Comments
 (0)