From acc8ac7968947e2b21acd0f0aa079e656ea37ac9 Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Wed, 21 Sep 2022 16:46:03 +0530 Subject: [PATCH] disable opening browser at 8888 in gitpod disable opening of jupyter url via webbrowser --- .gitpod.yml | 1 - packages/hagrid/hagrid/cli.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index f660a2d9374..584f776b221 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -4,7 +4,6 @@ tasks: ports: - name: Jupyter port: 8888 - onOpen: open-browser visibility: public - name: Nodes port: 8081-8083 diff --git a/packages/hagrid/hagrid/cli.py b/packages/hagrid/hagrid/cli.py index 1b886c14633..1e8d7cdd7bb 100644 --- a/packages/hagrid/hagrid/cli.py +++ b/packages/hagrid/hagrid/cli.py @@ -2789,8 +2789,8 @@ def display_jupyter_url(url_parts: Tuple[str, str, int]) -> None: new_line_start=True, ) - if is_gitpod(): - open_browser_with_url(url=url) + # if is_gitpod(): + # open_browser_with_url(url=url) def open_browser_with_url(url: str) -> None: