Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tbdev turndown: Remove dataframe api. #6644

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion tensorboard/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ py_library(
":lib_init_only",
":notebook",
":program",
"//tensorboard/data:lib_init_only",
"//tensorboard/summary",
"//tensorboard/summary:summary_v1",
"//tensorboard/summary:summary_v2",
Expand Down
7 changes: 0 additions & 7 deletions tensorboard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@
# additional discussion.


@_lazy.lazy_load("tensorboard.data")
def data():
import importlib

return importlib.import_module("tensorboard.data")


@_lazy.lazy_load("tensorboard.errors")
def errors():
import importlib
Expand Down
10 changes: 0 additions & 10 deletions tensorboard/data/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ package(default_visibility = ["//tensorboard:internal"])

licenses(["notice"])

py_library(
name = "lib_init_only",
srcs = ["__init__.py"],
srcs_version = "PY3",
visibility = ["//tensorboard:internal"],
deps = [
"//tensorboard/data/experimental:lib_init_only",
],
)

py_library(
name = "provider",
srcs = ["provider.py"],
Expand Down
3 changes: 0 additions & 3 deletions tensorboard/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================


from tensorboard.data import experimental # noqa: F401
75 changes: 2 additions & 73 deletions tensorboard/data/experimental/BUILD
Original file line number Diff line number Diff line change
@@ -1,78 +1,7 @@
# Description:
# Experiment Data Access API.
load("@rules_python//python:py_binary.bzl", "py_binary")
load("@rules_python//python:py_library.bzl", "py_library")
load("@rules_python//python:py_test.bzl", "py_test")

# This is a stub BUILD file that remains after the deletion of the experimental
# data frame API. We keep it (temporarily) to allow copybara imports to succeed.
package(default_visibility = ["//tensorboard:internal"])

licenses(["notice"])

exports_files(["LICENSE"])

py_library(
name = "base_experiment",
srcs = ["base_experiment.py"],
srcs_version = "PY3",
)

py_library(
name = "experiment_from_dev",
srcs = ["experiment_from_dev.py"],
srcs_version = "PY3",
deps = [
":base_experiment",
":utils",
"//tensorboard:expect_grpc_installed",
"//tensorboard:expect_pandas_installed",
"//tensorboard/uploader:auth",
"//tensorboard/uploader:server_info",
"//tensorboard/uploader:util",
"//tensorboard/uploader/proto:protos_all_py_pb2",
"//tensorboard/uploader/proto:protos_all_py_pb2_grpc",
"//tensorboard/util:grpc_util",
],
)

py_test(
name = "experiment_from_dev_test",
srcs = ["experiment_from_dev_test.py"],
srcs_version = "PY3",
deps = [
":experiment_from_dev",
"//tensorboard:expect_numpy_installed",
"//tensorboard:expect_pandas_installed",
"//tensorboard:test",
"//tensorboard/compat/proto:protos_all_py_pb2",
"//tensorboard/uploader:test_util",
"//tensorboard/uploader/proto:protos_all_py_pb2",
"//tensorboard/util:grpc_util",
],
)

py_library(
name = "lib_init_only",
srcs = ["__init__.py"],
srcs_version = "PY3",
visibility = ["//tensorboard:internal"],
deps = [
":experiment_from_dev",
],
)

py_binary(
name = "test_binary",
srcs = ["test_binary.py"],
srcs_version = "PY3",
deps = ["//tensorboard/data/experimental:experiment_from_dev"],
)

py_library(
name = "utils",
srcs = ["utils.py"],
srcs_version = "PY3",
visibility = ["//tensorboard:internal"],
deps = [
"//tensorboard:expect_numpy_installed",
],
)
19 changes: 0 additions & 19 deletions tensorboard/data/experimental/__init__.py

This file was deleted.

76 changes: 0 additions & 76 deletions tensorboard/data/experimental/base_experiment.py

This file was deleted.

159 changes: 0 additions & 159 deletions tensorboard/data/experimental/experiment_from_dev.py

This file was deleted.

Loading