Update pasta dependency to 0.1.8, allowing for using @ in code converted by tf_upgrade_v2.

(cf #29871)

PiperOrigin-RevId: 280208993
Change-Id: Ia604e0ce832c7fb2adb5c2eff631a7cd1e0c2629
This commit is contained in:
Martin Wicke 2019-11-13 09:01:49 -08:00 committed by TensorFlower Gardener
parent 2fb65c9308
commit 6c8cbdcecc
3 changed files with 6 additions and 5 deletions

View File

@ -55,7 +55,7 @@ REQUIRED_PACKAGES = [
'backports.weakref >= 1.0rc1;python_version<"3.4"', 'backports.weakref >= 1.0rc1;python_version<"3.4"',
'enum34 >= 1.1.6;python_version<"3.4"', 'enum34 >= 1.1.6;python_version<"3.4"',
'gast == 0.2.2', 'gast == 0.2.2',
'google_pasta >= 0.1.6', 'google_pasta >= 0.1.8',
'keras_applications >= 1.0.8', 'keras_applications >= 1.0.8',
'keras_preprocessing >= 1.1.0', 'keras_preprocessing >= 1.1.0',
'numpy >= 1.16.0, < 2.0', 'numpy >= 1.16.0, < 2.0',

View File

@ -21,6 +21,7 @@ py_library(
"base/ast_utils.py", "base/ast_utils.py",
"base/codegen.py", "base/codegen.py",
"base/formatting.py", "base/formatting.py",
"base/fstring_utils.py",
"base/scope.py", "base/scope.py",
"base/test_utils.py", "base/test_utils.py",
"base/token_generator.py", "base/token_generator.py",

View File

@ -6,11 +6,11 @@ def repo():
third_party_http_archive( third_party_http_archive(
name = "pasta", name = "pasta",
urls = [ urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/pasta/archive/v0.1.2.tar.gz", "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/pasta/archive/v0.1.8.tar.gz",
"https://github.com/google/pasta/archive/v0.1.2.tar.gz", "https://github.com/google/pasta/archive/v0.1.8.tar.gz",
], ],
strip_prefix = "pasta-0.1.2", strip_prefix = "pasta-0.1.8",
sha256 = "53e4c009a5eac38e942deb48bfc2d3cfca62cd457255fa86ffedb7e40f726a0c", sha256 = "c6dc1118250487d987a7b1a404425822def2e8fb2b765eeebc96887e982b6085",
build_file = "//third_party/pasta:BUILD.bazel", build_file = "//third_party/pasta:BUILD.bazel",
system_build_file = "//third_party/pasta:BUILD.system", system_build_file = "//third_party/pasta:BUILD.system",
) )