Workaround for ReportLab bug with Pillow v6.0 (#2013)

See issue our GitHub issue #1995 and the upstream bug,
https://bitbucket.org/rptlab/reportlab/issues/176/incompatibility-with-pillow-600

Conda doesn't have pillow 5.4, latest pre 6.0 is 5.4.1
This commit is contained in:
Peter Cock
2019-04-17 12:42:45 +01:00
committed by GitHub
parent dbd327c183
commit b11f363fcb

View File

@ -40,7 +40,9 @@ build_script:
- SET PATH=C:\Py;C:\Py\Scripts;C:\Py\Library\bin;%PATH%
- conda config --set always_yes yes
- conda update conda
- conda install setuptools numpy mysql-connector-python psycopg2 matplotlib networkx reportlab scipy coverage
# Pinning pillow==5.4.1 as version 6 breaks on current latest reportlab
# https://bitbucket.org/rptlab/reportlab/issues/176/incompatibility-with-pillow-600
- conda install setuptools numpy mysql-connector-python psycopg2 matplotlib networkx reportlab scipy coverage pillow==5.4.1
- if "PY_MAJOR_VER"=="2" conda install unittest2
- python setup.py build