Skip to content

Commit

Permalink
Avoid grep on Windows (#11879)
Browse files Browse the repository at this point in the history
Co-authored-by: hauntsaninja <>
  • Loading branch information
hauntsaninja committed Jan 1, 2022
1 parent 1beed9a commit 229913e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc/build_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def create_environ(python_version: str) -> Dict[str, str]:
&& pip install -r /tmp/test-requirements.txt
)
""".replace('\n', ' ')
# lxml currently has wheels on Windows and doesn't have grep, so special case
env['CIBW_BEFORE_TEST_WINDOWS'] = "pip install -r {project}/mypy/test-requirements.txt"

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

0 comments on commit 229913e

Please sign in to comment.