From 80be691d237d6b20a03cc6d67b8f48c62b76f16a Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 30 Sep 2018 22:28:07 +1000 Subject: [PATCH] Added custom before_install to temporarily pin wheel to 0.31.1 --- config.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config.sh b/config.sh index c3106c8b9..48fd4c75a 100644 --- a/config.sh +++ b/config.sh @@ -69,3 +69,16 @@ function run_tests { fi return $ret } + +if [ -n "$IS_OSX" ]; then + function before_install { + # Custom before_install to temporarily pin wheel to 0.31.1 + brew cask uninstall oclint || true + export CC=clang + export CXX=clang++ + get_macpython_environment $MB_PYTHON_VERSION venv + source venv/bin/activate + pip install --upgrade pip + pip install wheel==0.31.1 + } +fi \ No newline at end of file