Skip to content

Commit

Permalink
Bump Matplotlib in CI to match changes in numpy.
Browse files Browse the repository at this point in the history
  • Loading branch information
anntzer committed Jun 27, 2020
1 parent d603b22 commit b273ac2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,29 +55,25 @@ steps:
;;
darwin)
# python2 unlinking needed until brew sorts that out.
# gs<9.50 is needed until matplotlib#15556 (matplotlib<3.2.0rc2).
brew update >/dev/null &&
brew unlink python@2 &&
brew install cairo pkg-config &&
PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig tools/build-macos-wheel.sh &&
brew install https://raw.githubusercontent.com/sashkab/homebrew-core/996730866806cf0dd13a56beac47c664b1408d94/Formula/ghostscript.rb
brew install ghostscript
;;
win32)
# Pin inkscape until matplotlib#17210 lets us troubleshoot what's wrong
# with newer ones.
choco install --no-progress ghostscript &&
choco install --no-progress inkscape --version=0.92.4.20190121 &&
git clone --depth 1 https://github.com/anntzer/cairocffi-windows-wheels &&
python -mpip install --find-links cairocffi-windows-wheels --prefer-binary cairocffi &&
python tools/build-windows-wheel.py
python tools/build-windows-wheel.py &&
choco install --no-progress ghostscript inkscape
;;
*)
exit 1
;;
esac &&
python -mpip install dist/*.whl &&
python -mpip install matplotlib &&
python -mpip install --pre matplotlib &&
python tools/ensure-mpl-test-data.py &&
# pytest-{instafail,timeout} useful for hanging tests.
python -mpip install pytest pytest-instafail pytest-timeout
Expand Down

0 comments on commit b273ac2

Please sign in to comment.