Merge pull request #100 from hugovk/pin-wheel

Pin wheel to 0.31.1 to work around API break in 0.32.0
This commit is contained in:
Hugo 2018-09-30 22:30:54 +03:00 committed by GitHub
commit 8f59e6dc5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -5,7 +5,7 @@ env:
- PLAT=x86_64 - PLAT=x86_64
- UNICODE_WIDTH=32 - UNICODE_WIDTH=32
- BUILD_DEPENDS="" - BUILD_DEPENDS=""
- TEST_DEPENDS="pytest pytest-cov numpy scipy" - TEST_DEPENDS="pytest pytest-cov numpy scipy wheel==0.31.1"
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker - WHEELHOUSE_UPLOADER_USERNAME=travis-worker
# Following generated with # Following generated with
# travis encrypt -r python-pillow/pillow-wheels WHEELHOUSE_UPLOADER_SECRET=<the api key> # travis encrypt -r python-pillow/pillow-wheels WHEELHOUSE_UPLOADER_SECRET=<the api key>

View File

@ -69,3 +69,16 @@ function run_tests {
fi fi
return $ret 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