[NFC] Remove get_compatible_with_portable from tf_stack: allow non-portable dependencies
PiperOrigin-RevId: 342733494
Change-Id: I766bb432cc2776ba36cf30b72bb9d1c4396f5446
diff --git a/tensorflow/python/BUILD b/tensorflow/python/BUILD
index 59c2652..7e3e5e6 100644
--- a/tensorflow/python/BUILD
+++ b/tensorflow/python/BUILD
@@ -2124,6 +2124,7 @@
srcs_version = "PY2AND3",
deps = [
":platform",
+ ":tf_stack",
":util",
],
)
@@ -5708,7 +5709,6 @@
py_strict_library(
name = "tf_stack",
srcs = ["util/tf_stack.py"],
- compatible_with = get_compatible_with_portable(),
srcs_version = "PY2AND3",
# TODO(mdan): Remove public visibility.
visibility = ["//visibility:public"],
@@ -5721,7 +5721,6 @@
pybind_extension(
name = "_tf_stack",
srcs = ["util/tf_stack.cc"],
- compatible_with = get_compatible_with_portable(),
# TODO(b/138203821): change to "util._tf_stack" once the bug is fixed.
module_name = "_tf_stack",
deps = [
@@ -5839,7 +5838,6 @@
":global_test_configuration",
":tf_decorator",
":tf_export",
- ":tf_stack",
"@org_python_pypi_backports_weakref",
"@com_google_protobuf//:protobuf_python",
"//third_party/py/numpy",