From c7278e4620b66a898b06a0d34e70703efb05f732 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 26 Mar 2019 12:56:39 -0700 Subject: [PATCH] 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 - d189be43b2bf4bcd229d4fe23bc95870a196ff79 Merge a3b9e5cde69beb5b1ceebe9a4a20c352bf320290 into 9ab5b... by Jon Brandvein PiperOrigin-RevId: 240409003 --- configure.py | 2 +- tensorflow/workspace.bzl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.py b/configure.py index f4f27c9ace9..fd9364f2b4a 100644 --- a/configure.py +++ b/configure.py @@ -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() diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index bc8d92b29d9..ec0300168fe 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -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", ], )