aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gunhan Gulsoy <gunan@google.com>2018-09-26 02:31:31 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-26 02:35:25 -0700
commitb4ae85234b4f626e4aaee1d2c531a6b534712dbb (patch)
tree49839bd48b7ec08588498ecbdb401daf6b8be201
parent2770a03f79f3b544d40cf1b8ab0a5c971dd36f5f (diff)
Automated rollback of commit 7229d08f0b25e24e6dd4833a94a27f404b27a350
PiperOrigin-RevId: 214575129
-rw-r--r--WORKSPACE20
-rwxr-xr-xtensorflow/python/keras/BUILD2
-rw-r--r--tensorflow/requirements.txt2
3 files changed, 2 insertions, 22 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 11605871f3..17961829a6 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -9,26 +9,10 @@ http_archive(
"https://github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz", # 2018-04-13
],
)
-load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
-closure_repositories()
-http_archive(
- name = "io_bazel_rules_python",
- strip_prefix = "rules_python-8b5d0683a7d878b28fffe464779c8a53659fc645",
- urls = [
- "https://github.com/bazelbuild/rules_python/archive/8b5d0683a7d878b28fffe464779c8a53659fc645.tar.gz",
- ],
-)
-load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories")
-pip_repositories()
+load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
-load("@io_bazel_rules_python//python:pip.bzl", "pip_import")
-pip_import(
- name = "pip_deps",
- requirements = "//tensorflow:requirements.txt",
-)
-load("@pip_deps//:requirements.bzl", "pip_install")
-pip_install()
+closure_repositories()
# We must check the bazel version before trying to parse any other BUILD
# files, in case the parsing of those build files depends on the bazel
diff --git a/tensorflow/python/keras/BUILD b/tensorflow/python/keras/BUILD
index ac011a2940..4a72c4b3f3 100755
--- a/tensorflow/python/keras/BUILD
+++ b/tensorflow/python/keras/BUILD
@@ -7,7 +7,6 @@ exports_files(["LICENSE"])
package(default_visibility = ["//visibility:public"])
-load("@pip_deps//:requirements.bzl", "requirement")
load("//tensorflow:tensorflow.bzl", "py_test")
load("//tensorflow:tensorflow.bzl", "cuda_py_test")
@@ -63,7 +62,6 @@ py_library(
":backend",
":engine",
":layers",
- requirement("keras_applications"),
"//tensorflow/python/saved_model",
"//tensorflow/python:training",
],
diff --git a/tensorflow/requirements.txt b/tensorflow/requirements.txt
deleted file mode 100644
index 6e111edefc..0000000000
--- a/tensorflow/requirements.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-keras_applications >= 1.0.5
-keras_preprocessing >= 1.0.3