From 48c36206b26557667cea1f50387ae58b5e87b662 Mon Sep 17 00:00:00 2001 From: Akshi22 <69581478+Akshi22@users.noreply.github.com> Date: Tue, 14 Mar 2023 17:09:40 +0530 Subject: [PATCH 1/3] Update utils.ts --- ui-tests/test/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-tests/test/utils.ts b/ui-tests/test/utils.ts index 46b258e42d..c4c5311797 100644 --- a/ui-tests/test/utils.ts +++ b/ui-tests/test/utils.ts @@ -10,7 +10,7 @@ export async function runAndAdvance( ): Promise { await page.keyboard.press('Shift+Enter'); } - +/** akshitha added a commnet here*/ /** * Wait for the kernel to be ready */ @@ -34,3 +34,4 @@ export async function waitForKernelReady( }); await page.waitForSelector('.jp-DebuggerBugButton[aria-disabled="false"]'); } + From a5e5708e20742622234776a392bb9484124d8a4d Mon Sep 17 00:00:00 2001 From: Akshi22 <69581478+Akshi22@users.noreply.github.com> Date: Tue, 14 Mar 2023 18:50:41 +0530 Subject: [PATCH 2/3] updated index.tsx To display Python version it is running on. --- packages/help-extension/src/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/help-extension/src/index.tsx b/packages/help-extension/src/index.tsx index 3e09a9a8fc..7723cc1deb 100644 --- a/packages/help-extension/src/index.tsx +++ b/packages/help-extension/src/index.tsx @@ -16,6 +16,8 @@ import { jupyterIcon } from '@jupyter-notebook/ui-components'; import * as React from 'react'; +from platform import python_version /* to print Python version it is running on */ + /** * A list of resources to show in the help menu. */ @@ -114,10 +116,12 @@ const about: JupyterFrontEndPlugin = { ); const version = trans.__('Version: %1', app.version); + const py_version = trans.__('Python version: %1', app.python_version()); const copyright = trans.__('© 2021-2023 Jupyter Notebook Contributors'); const body = ( <> {version} + {py_version}
{externalLinks}
{copyright} From 94367597eaea4a1381801fcff3971660d70c4c19 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 13:29:58 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- ui-tests/test/utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/ui-tests/test/utils.ts b/ui-tests/test/utils.ts index c4c5311797..5c53bf8578 100644 --- a/ui-tests/test/utils.ts +++ b/ui-tests/test/utils.ts @@ -34,4 +34,3 @@ export async function waitForKernelReady( }); await page.waitForSelector('.jp-DebuggerBugButton[aria-disabled="false"]'); } -