Merge pull request #32332 from tensorflow/ggadde-1-15-cp2

[r1.15 Cherryick]:Install gast at known version and not the latest.
This commit is contained in:
Goldie Gadde 2019-09-08 13:24:52 -07:00 committed by GitHub
commit a0163a0a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,6 +458,12 @@ install_tensorflow_pip() {
# ImportError: No module named builtins
${PIP_BIN_PATH} install --upgrade "future>=0.17.1" || \
die "Error: future install, upgrade FAILED"
# Install the gast package in the virtualenv. Installing it in user system
# packages does not appear to port it over when creating a virtualenv.
${PIP_BIN_PATH} install --upgrade "gast==0.2.2" || \
die "Error: gast install, upgrade FAILED"
}
run_test_with_bazel() {