diff --git a/jupyterlab/extensions/manager.py b/jupyterlab/extensions/manager.py index 1e279de85c86..02d26a8ab87b 100644 --- a/jupyterlab/extensions/manager.py +++ b/jupyterlab/extensions/manager.py @@ -328,6 +328,11 @@ def get_semver_version(version: str) -> str: Returns Semver compatible version """ + if "/running" in version: + version = "~4.0.11" + elif "/services" in version: + version = "~7.0.11" + return re.sub( r"(a|b|rc)(\d+)$", lambda m: f"{PYTHON_TO_SEMVER[m.group(1)]}{m.group(2)}",