Skip to content

Commit

Permalink
Update jupyterlab version condition in uninstall command
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Jan 3, 2024
1 parent 21346d5 commit 013e25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beakerx_widgets/beakerx/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def install(args):

def uninstall(args):
subprocess.check_call(["jupyter", "server", "extension", "disable", "beakerx", "--py", "--sys-prefix"])
if LAB_VERSION is not None:
if LAB_VERSION is not None and LAB_VERSION < 3:
subprocess.check(["jupyter", "labextension", "uninstall", "@beakerx/beakerx-widgets"],
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
_install_kernelspec_manager(args.prefix, disable=True)
Expand Down

0 comments on commit 013e25a

Please sign in to comment.