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
diff --git a/configure.py b/configure.py
index f4f27c9..fd9364f 100644
--- a/configure.py
+++ b/configure.py
@@ -1627,7 +1627,7 @@
# 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 bc8d92b..ec03001 100755
--- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -322,16 +322,16 @@
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",
],
)