PR #26752: Bump abseil-py dep and min Bazel version

Imported from GitHub PR #26752

This makes builds not fail with --incompatible_remove_old_python_version_api enabled, which will become the default in Bazel 0.25. Fixes #26616.

Copybara import of the project:

  - a3b9e5cde69beb5b1ceebe9a4a20c352bf320290 Bump abseil-py dep and min Bazel version by Jon Brandvein <brandjon@google.com>
  - d189be43b2bf4bcd229d4fe23bc95870a196ff79 Merge a3b9e5cde69beb5b1ceebe9a4a20c352bf320290 into 9ab5b... by Jon Brandvein <brandjon@google.com>

PiperOrigin-RevId: 240409003
This commit is contained in:
A. Unique TensorFlower 2019-03-26 12:56:39 -07:00 committed by TensorFlower Gardener
parent de69f3069d
commit c7278e4620
2 changed files with 5 additions and 5 deletions

View File

@ -1627,7 +1627,7 @@ def main():
# environment variables.
environ_cp = dict(os.environ)
current_bazel_version = check_bazel_version('0.19.0', '0.24.0')
current_bazel_version = check_bazel_version('0.22.0', '0.24.0')
_TF_CURRENT_BAZEL_VERSION = convert_version_to_int(current_bazel_version)
reset_tf_configure_bazelrc()

View File

@ -322,16 +322,16 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
tf_http_archive(
name = "absl_py",
sha256 = "595726be4bf3f7e6d64a1a255fa03717b693c01b913768abd52649cbb7ddf2bd",
strip_prefix = "abseil-py-pypi-v0.7.0",
sha256 = "3d0f39e0920379ff1393de04b573bca3484d82a5f8b939e9e83b20b6106c9bbe",
strip_prefix = "abseil-py-pypi-v0.7.1",
system_build_file = clean_dep("//third_party/systemlibs:absl_py.BUILD"),
system_link_files = {
"//third_party/systemlibs:absl_py.absl.flags.BUILD": "absl/flags/BUILD",
"//third_party/systemlibs:absl_py.absl.testing.BUILD": "absl/testing/BUILD",
},
urls = [
"https://mirror.bazel.build/github.com/abseil/abseil-py/archive/pypi-v0.7.0.tar.gz",
"https://github.com/abseil/abseil-py/archive/pypi-v0.7.0.tar.gz",
"https://mirror.bazel.build/github.com/abseil/abseil-py/archive/pypi-v0.7.1.tar.gz",
"https://github.com/abseil/abseil-py/archive/pypi-v0.7.1.tar.gz",
],
)