Automated rollback of commit 85c0ffd26780ead0310c5c8b4825c5cbe2c8f015

PiperOrigin-RevId: 256181363
diff --git a/configure.py b/configure.py
index db7004c..f68aed4 100644
--- a/configure.py
+++ b/configure.py
@@ -50,7 +50,7 @@
 _TF_BAZELRC = ''
 _TF_CURRENT_BAZEL_VERSION = None
 _TF_MIN_BAZEL_VERSION = '0.24.1'
-_TF_MAX_BAZEL_VERSION = '0.24.1'
+_TF_MAX_BAZEL_VERSION = '0.26.1'
 
 NCCL_LIB_PATHS = [
     'lib64/', 'lib/powerpc64le-linux-gnu/', 'lib/x86_64-linux-gnu/', ''
diff --git a/tensorflow/tools/ci_build/builds/libtensorflow.sh b/tensorflow/tools/ci_build/builds/libtensorflow.sh
index c3c103a..30d5efb 100755
--- a/tensorflow/tools/ci_build/builds/libtensorflow.sh
+++ b/tensorflow/tools/ci_build/builds/libtensorflow.sh
@@ -58,12 +58,6 @@
     export TF_NEED_ROCM=0
   fi
   bazel clean --expunge
-  # Don't do in-place sed as this needs to run on mac and linux
-  sed \
-    -e "s/^_TF_MIN_BAZEL_VERSION =.*$/_TF_MIN_BAZEL_VERSION = '0.24.1'/" \
-    -e "s/^_TF_MAX_BAZEL_VERSION =.*$/_TF_MAX_BAZEL_VERSION = '0.24.1'/" \
-    configure.py > configure.py.new
-  mv configure.py.new configure.py
   yes "" | ./configure
 
   # Remove this test call when
diff --git a/tensorflow/tools/ci_build/ci_sanity.sh b/tensorflow/tools/ci_build/ci_sanity.sh
index 9503806..b78281d 100755
--- a/tensorflow/tools/ci_build/ci_sanity.sh
+++ b/tensorflow/tools/ci_build/ci_sanity.sh
@@ -592,10 +592,6 @@
   do
     export TF_NEED_CUDA=${WITH_CUDA}
     export PYTHON_BIN_PATH=$(which python)
-    sed -i \
-      -e "s/^_TF_MIN_BAZEL_VERSION =.*$/_TF_MIN_BAZEL_VERSION = '0.24.1'/" \
-      -e "s/^_TF_MAX_BAZEL_VERSION =.*$/_TF_MAX_BAZEL_VERSION = '0.24.1'/" \
-      configure.py
     yes "" | ./configure
 
     RESULT=$?
diff --git a/tensorflow/tools/ci_build/windows/bazel/bazel_test_lib.sh b/tensorflow/tools/ci_build/windows/bazel/bazel_test_lib.sh
index d43d8a6..6736209 100644
--- a/tensorflow/tools/ci_build/windows/bazel/bazel_test_lib.sh
+++ b/tensorflow/tools/ci_build/windows/bazel/bazel_test_lib.sh
@@ -16,10 +16,6 @@
 #
 
 function run_configure_for_cpu_build {
-  sed -i \
-    -e "s/^_TF_MIN_BAZEL_VERSION =.*$/_TF_MIN_BAZEL_VERSION = '0.24.1'/" \
-    -e "s/^_TF_MAX_BAZEL_VERSION =.*$/_TF_MAX_BAZEL_VERSION = '0.24.1'/" \
-    configure.py
   yes "" | ./configure
 }
 
@@ -27,10 +23,6 @@
   # Enable CUDA support
   export TF_NEED_CUDA=1
 
-  sed -i \
-    -e "s/^_TF_MIN_BAZEL_VERSION =.*$/_TF_MIN_BAZEL_VERSION = '0.24.1'/" \
-    -e "s/^_TF_MAX_BAZEL_VERSION =.*$/_TF_MAX_BAZEL_VERSION = '0.24.1'/" \
-    configure.py
   yes "" | ./configure
 }