mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 21:56:56 +03:00
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:
commit
8f59e6dc5d
|
@ -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>
|
||||||
|
|
13
config.sh
13
config.sh
|
@ -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
|
Loading…
Reference in New Issue
Block a user