For python2, pin scipy to 1.2.2 (latest released).

This means py2 won't get the fix in scipy/scipy#11237

PiperOrigin-RevId: 286456504
Change-Id: Ic94ee7e57dd6ea590d79aa643e5de4192709ff17
This commit is contained in:
Mihai Maruseac 2019-12-19 13:50:02 -08:00 committed by TensorFlower Gardener
parent f1b0ec7596
commit 9a862f53bc

View File

@ -74,7 +74,9 @@ REQUIRED_PACKAGES = [
'functools32 >= 3.2.3;python_version<"3"',
'six >= 1.12.0',
# scipy < 1.4.1 causes segfaults due to pybind11
'scipy == 1.4.1',
# Latest scipy pip for py2 is scipy==1.2.2
'scipy == 1.4.1;python_version>="3"',
'scipy == 1.2.2;python_version<"3"',
]
if sys.byteorder == 'little':