py-tensorboard(-plugin-wit): remove unused patch files (#38360)

This commit is contained in:
Christian Mauch 2023-06-21 17:08:12 +02:00 committed by GitHub
parent 2727bd92d8
commit 6b3d2c535f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 65 deletions

View file

@ -1,31 +0,0 @@
diff --git a/WORKSPACE b/WORKSPACE
index 48227b5d8439..5ce04e1097eb 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -97,6 +97,8 @@ http_archive(
name = "org_tensorflow_tensorboard",
sha256 = "528afecdcc551c31baa6c7c3f702439cb6a52b711a12f9773177d0a9221f0620",
strip_prefix = "tensorboard-22b1f7413a917249245ab63a33d1f03514039294",
+ patch_args = ["-p1"],
+ patches = ["defaultshellenv.patch"],
urls = [
"https://github.com/tensorflow/tensorboard/archive/22b1f7413a917249245ab63a33d1f03514039294.tar.gz", # 2019-12-04
],
diff --git a/external/defaultshellenv.patch b/external/defaultshellenv.patch
new file mode 100644
index 000000000000..d22faf5662b6
--- /dev/null
+++ b/external/defaultshellenv.patch
@@ -0,0 +1,12 @@
+diff --git a/tensorboard/defs/web.bzl b/tensorboard/defs/web.bzl
+index dfca0bfd21b5..fb981493b25d 100644
+--- a/tensorboard/defs/web.bzl
++++ b/tensorboard/defs/web.bzl
+@@ -180,6 +180,7 @@ def _tf_web_library(ctx):
+ tools=ctx.files._tsc,
+ inputs=ts_inputs,
+ outputs=ts_outputs,
++ use_default_shell_env=True,
+ executable=ctx.executable._execrooter,
+ arguments=(
+ [er_config.path] +

View file

@ -1,12 +0,0 @@
diff --git a/tensorboard/defs/web.bzl b/tensorboard/defs/web.bzl
index dfca0bfd21b5..fb981493b25d 100644
--- a/tensorboard/defs/web.bzl
+++ b/tensorboard/defs/web.bzl
@@ -180,6 +180,7 @@ def _tf_web_library(ctx):
tools=ctx.files._tsc,
inputs=ts_inputs,
outputs=ts_outputs,
+ use_default_shell_env=True,
executable=ctx.executable._execrooter,
arguments=(
[er_config.path] +

View file

@ -1,11 +0,0 @@
diff -ru a/tensorboard/plugins/projector/vz_projector/BUILD b/tensorboard/plugins/projector/vz_projector/BUILD
--- a/tensorboard/plugins/projector/vz_projector/BUILD 2021-10-13 11:04:47.000000000 -0500
+++ b/tensorboard/plugins/projector/vz_projector/BUILD 2021-12-02 14:27:59.275004056 -0600
@@ -64,6 +64,7 @@
"@npm//@polymer/decorators",
"@npm//@polymer/polymer",
"@npm//numeric",
+ "@npm//@types/three",
"@npm//three",
"@npm//umap-js",
],

View file

@ -1,11 +0,0 @@
diff -ru a/tensorboard/webapp/runs/views/runs_table/regex_edit_dialog_component.ts b/tensorboard/webapp/runs/views/runs_table/regex_edit_dialog_component.ts
--- a/tensorboard/webapp/runs/views/runs_table/regex_edit_dialog_component.ts 2021-10-13 11:04:47.000000000 -0500
+++ b/tensorboard/webapp/runs/views/runs_table/regex_edit_dialog_component.ts 2021-12-01 20:39:45.512831971 -0600
@@ -79,6 +79,6 @@
handleFocusOut() {
clearTimeout(this.timeOutId);
- this.timeOutId = setTimeout(this.resetFocus.bind(this), 0);
+ this.timeOutId = window.setTimeout(this.resetFocus.bind(this), 0);
}
}