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 authored and JukkaL committed Jan 5, 2022
1 parent 55db6fa commit d4bda9a
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 d4bda9a

Please sign in to comment.