Skip to content

Commit 9bb99e6

Browse files
authored
profile: remove Test PyPI index specification (#3275)
Summary: The dynamic profile plugin is now available on stable PyPI: <https://pypi.org/project/tensorboard-plugin-profile/2.2.0a1/> Styling updated because the number of lines of text changed. Test Plan: The instructions still work in a new virtualenv, pulling in `2.2.0a1`. wchargin-branch: profile-stable-pypi
1 parent 8c6841b commit 9bb99e6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tensorboard/plugins/profile_redirect/tf_profile_redirect_dashboard/tf-profile-redirect-dashboard.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ <h3>The profile plugin has moved.</h3>
3030
Please install the new version of the profile plugin from PyPI by
3131
running the following command from the machine running TensorBoard:
3232
</p>
33-
<textarea id="commandTextarea" readonly on-blur="_removeCopiedMessage">
33+
<textarea
34+
id="commandTextarea"
35+
readonly
36+
rows="1"
37+
on-blur="_removeCopiedMessage"
38+
>
3439
[[_installCommand]]</textarea
3540
>
3641
<div id="copyContainer">
@@ -48,7 +53,7 @@ <h3>The profile plugin has moved.</h3>
4853
}
4954
#commandTextarea {
5055
margin-top: 1ex;
51-
padding: 1ex 0;
56+
padding: 1ex 1em;
5257
resize: vertical;
5358
width: 100%;
5459
}
@@ -73,10 +78,7 @@ <h3>The profile plugin has moved.</h3>
7378
_installCommand: {
7479
type: String,
7580
readOnly: true,
76-
value: [
77-
'pip install --extra-index-url https://test.pypi.org/simple/ \\',
78-
' tensorboard_plugin_profile',
79-
].join('\n'),
81+
value: 'pip install -U tensorboard_plugin_profile',
8082
},
8183
},
8284
async _copyInstallCommand() {

0 commit comments

Comments
 (0)