Description
We use a custom version of JupyterLab which depends on the following dependencies that I upgraded:

Doing that broke the LSP extension in that the check if not uri.startswith(virtual_documents_uri) in "virtual_documents_shadow.py" at line 141 now fails. This is due to an additional "/" that gets inserted in the file URI as per this example:
uri file://c:/XXX/.virtual_documents/1%20Migration%20Guide.ipynb doesn't start with file:///c:/XXX/.virtual_documents
Reproduce
Bump up to the latest version of JupyterLab.
Description
We use a custom version of JupyterLab which depends on the following dependencies that I upgraded:

Doing that broke the LSP extension in that the check
if not uri.startswith(virtual_documents_uri)in "virtual_documents_shadow.py" at line 141 now fails. This is due to an additional "/" that gets inserted in the file URI as per this example:Reproduce
Bump up to the latest version of JupyterLab.