vitessce-python
vitessce-python copied to clipboard
"Exception opening new comm"
Describe the bug
In a notebook environment, Vitessce fails to render, and Exception opening new comm is printed to the log.
I first noticed this in the workspace environment PSC is providing, and filed an issue there, but Juan has reproduced it in a plain Jupyter, and Ilan says he has also seen it.
To Reproduce We do not have a reliable reproducer. Possibly a race condition?
Expected behavior Vitessce renders
Screenshots

Environment:
- Release or git hash:
- Browser:
- Browser version:
@mccalluc have you made any progress in reliably reproducing it? Would you be able to provide information about the versions of Python and Jupyter / JupyterLab? If you are able to, !pip freeze > requirements.txt from within the remote notebook would also be useful
We do not have a reliable reproducer.
Does this mean the exception does not occur reliably, so the widget renders some of the time? Or do you see the exception consistently?
I see it very often, but not 100% of the time. I'll try again in a bit and post to Slack. (Maybe frequency is related to characteristics of datasets?)
When I open a workspace for HBM989.VVXT.224 by adding .ws.ipynb, the top notebook cell contains the line
!pip install vitessce[all]==1.0.9
For me, this line fails because all includes jupyter-server-proxy which fails to install in the workspace in isolation:
!pip install jupyter-server-proxy
Both lines result in ERROR: Failed building wheel for cffi
Are you also seeing this error?
jupyter-server-proxy is required when the client (in this case, the notebook widget running in the browser) is not local to the python process (in this case, the python process is running on a server at PSC)
No, I haven't see that error before, and I just ran it in a new notebook, and it seemed to work:
Collecting vitessce[all]==1.0.9
Using cached vitessce-1.0.9-py2.py3-none-any.whl (40.2 MB)
Collecting generate-tiff-offsets>=0.1.7
Using cached generate_tiff_offsets-0.1.7-py2.py3-none-any.whl (4.1 kB)
Collecting numcodecs>=0.5.7
Using cached numcodecs-0.10.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB)
Collecting pandas>=1.1.2
Downloading pandas-1.4.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 17.6 MB/s eta 0:00:0000:0100:01
Collecting numpy>=1.21.2
Using cached numpy-1.23.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting zarr>=2.5.0
Using cached zarr-2.12.0-py3-none-any.whl (185 kB)
Collecting negspy>=0.2.24
Using cached negspy-0.2.24-py3-none-any.whl
Collecting scipy>=1.2.1
Downloading scipy-1.9.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (43.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 MB 11.2 MB/s eta 0:00:0000:0100:01
Collecting black>=21.11b1
Downloading black-22.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 17.2 MB/s eta 0:00:0000:01
Collecting starlette==0.14.0
Using cached starlette-0.14.0-py3-none-any.whl (60 kB)
Collecting ujson>=4.0.1
Using cached ujson-5.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (45 kB)
Collecting jupyter-server-proxy>=1.5.2
Using cached jupyter_server_proxy-3.2.1-py3-none-any.whl (35 kB)
Collecting hypercorn>=0.11.0
Using cached Hypercorn-0.14.1-py3-none-any.whl (57 kB)
Collecting aiofiles>=0.6.0
Using cached aiofiles-0.8.0-py3-none-any.whl (13 kB)
Collecting ipywidgets>=7.6.0
Using cached ipywidgets-8.0.1-py3-none-any.whl (133 kB)
Collecting mypy-extensions>=0.4.3
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting typing-extensions>=3.10.0.0
Using cached typing_extensions-4.3.0-py3-none-any.whl (25 kB)
Collecting pathspec>=0.9.0
Downloading pathspec-0.10.0-py3-none-any.whl (27 kB)
Collecting tomli>=1.1.0
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting platformdirs>=2
Using cached platformdirs-2.5.2-py3-none-any.whl (14 kB)
Collecting click>=8.0.0
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting tifffile==2020.10.1
Using cached tifffile-2020.10.1-py3-none-any.whl (152 kB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting priority
Using cached priority-2.0.0-py3-none-any.whl (8.9 kB)
Collecting h2>=3.1.0
Using cached h2-4.1.0-py3-none-any.whl (57 kB)
Collecting wsproto>=0.14.0
Using cached wsproto-1.2.0-py3-none-any.whl (24 kB)
Collecting h11
Using cached h11-0.13.0-py3-none-any.whl (58 kB)
Requirement already satisfied: ipykernel>=4.5.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipywidgets>=7.6.0->vitessce[all]==1.0.9) (6.15.2)
Collecting widgetsnbextension~=4.0
Using cached widgetsnbextension-4.0.2-py3-none-any.whl (2.0 MB)
Collecting jupyterlab-widgets~=3.0
Using cached jupyterlab_widgets-3.0.2-py3-none-any.whl (383 kB)
Requirement already satisfied: traitlets>=4.3.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipywidgets>=7.6.0->vitessce[all]==1.0.9) (5.3.0)
Requirement already satisfied: ipython>=6.1.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipywidgets>=7.6.0->vitessce[all]==1.0.9) (8.4.0)
Requirement already satisfied: jupyter-server>=1.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (1.18.1)
Collecting simpervisor>=0.4
Using cached simpervisor-0.4-py3-none-any.whl (5.7 kB)
Collecting aiohttp
Using cached aiohttp-3.8.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.3 MB)
Requirement already satisfied: entrypoints in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from numcodecs>=0.5.7->vitessce[all]==1.0.9) (0.4)
Requirement already satisfied: pytz>=2020.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from pandas>=1.1.2->vitessce[all]==1.0.9) (2022.2.1)
Requirement already satisfied: python-dateutil>=2.8.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from pandas>=1.1.2->vitessce[all]==1.0.9) (2.8.2)
Collecting fasteners
Using cached fasteners-0.17.3-py3-none-any.whl (18 kB)
Collecting asciitree
Using cached asciitree-0.3.3-py3-none-any.whl
Collecting hpack<5,>=4.0
Using cached hpack-4.0.0-py3-none-any.whl (32 kB)
Collecting hyperframe<7,>=6.0
Using cached hyperframe-6.0.1-py3-none-any.whl (12 kB)
Requirement already satisfied: matplotlib-inline>=0.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.1.6)
Requirement already satisfied: debugpy>=1.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (1.6.3)
Requirement already satisfied: nest-asyncio in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (1.5.5)
Requirement already satisfied: pyzmq>=17 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (23.2.1)
Requirement already satisfied: psutil in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (5.9.1)
Requirement already satisfied: jupyter-client>=6.1.12 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (7.3.5)
Requirement already satisfied: tornado>=6.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (6.2)
Requirement already satisfied: packaging in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (21.3)
Requirement already satisfied: decorator in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (5.1.1)
Requirement already satisfied: setuptools>=18.5 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (65.3.0)
Requirement already satisfied: backcall in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.2.0)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (3.0.30)
Requirement already satisfied: pygments>=2.4.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (2.13.0)
Requirement already satisfied: pickleshare in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.7.5)
Requirement already satisfied: pexpect>4.3 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (4.8.0)
Requirement already satisfied: stack-data in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.5.0)
Requirement already satisfied: jedi>=0.16 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.18.1)
Requirement already satisfied: Send2Trash in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (1.8.0)
Requirement already satisfied: terminado>=0.8.3 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (0.15.0)
Requirement already satisfied: nbconvert>=6.4.4 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (7.0.0)
Requirement already satisfied: jupyter-core>=4.7.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (4.11.1)
Requirement already satisfied: argon2-cffi in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (21.3.0)
Requirement already satisfied: anyio<4,>=3.1.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (3.6.1)
Requirement already satisfied: nbformat>=5.2.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (5.4.0)
Requirement already satisfied: jinja2 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (3.1.2)
Requirement already satisfied: prometheus-client in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (0.14.1)
Requirement already satisfied: websocket-client in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (1.4.0)
Requirement already satisfied: six>=1.5 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from python-dateutil>=2.8.1->pandas>=1.1.2->vitessce[all]==1.0.9) (1.16.0)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (161 kB)
Requirement already satisfied: attrs>=17.3.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from aiohttp->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (22.1.0)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from aiohttp->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (2.1.1)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (121 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.8.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (262 kB)
Requirement already satisfied: idna>=2.8 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from anyio<4,>=3.1.0->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (3.3)
Requirement already satisfied: sniffio>=1.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from anyio<4,>=3.1.0->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (1.3.0)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jedi>=0.16->ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.8.3)
Requirement already satisfied: jupyterlab-pygments in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (0.2.2)
Requirement already satisfied: defusedxml in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (0.7.1)
Requirement already satisfied: bleach in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (5.0.1)
Requirement already satisfied: tinycss2 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (1.1.1)
Requirement already satisfied: pandocfilters>=1.4.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (1.5.0)
Requirement already satisfied: nbclient>=0.5.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (0.6.7)
Requirement already satisfied: markupsafe>=2.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (2.1.1)
Requirement already satisfied: mistune<3,>=2.0.3 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (2.0.4)
Requirement already satisfied: importlib-metadata>=3.6 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (4.12.0)
Requirement already satisfied: beautifulsoup4 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (4.11.1)
Requirement already satisfied: lxml in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (4.9.1)
Requirement already satisfied: fastjsonschema in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbformat>=5.2.0->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (2.16.1)
Requirement already satisfied: jsonschema>=2.6 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from nbformat>=5.2.0->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (4.15.0)
Requirement already satisfied: ptyprocess>=0.5 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from pexpect>4.3->ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.7.0)
Requirement already satisfied: wcwidth in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.2.5)
Requirement already satisfied: argon2-cffi-bindings in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from argon2-cffi->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (21.2.0)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from packaging->ipykernel>=4.5.1->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (3.0.9)
Requirement already satisfied: pure-eval in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from stack-data->ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (0.2.2)
Requirement already satisfied: executing in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from stack-data->ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (1.0.0)
Requirement already satisfied: asttokens in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from stack-data->ipython>=6.1.0->ipywidgets>=7.6.0->vitessce[all]==1.0.9) (2.0.8)
Requirement already satisfied: zipp>=0.5 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from importlib-metadata>=3.6->nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (3.8.1)
Requirement already satisfied: importlib-resources>=1.4.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat>=5.2.0->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (5.9.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat>=5.2.0->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (0.18.1)
Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from jsonschema>=2.6->nbformat>=5.2.0->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (1.3.10)
Requirement already satisfied: cffi>=1.0.1 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from argon2-cffi-bindings->argon2-cffi->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (1.15.1)
Requirement already satisfied: soupsieve>1.2 in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from beautifulsoup4->nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (2.3.2.post1)
Requirement already satisfied: webencodings in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from bleach->nbconvert>=6.4.4->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (0.5.1)
Requirement already satisfied: pycparser in ./.127/JupyterLabJob_127_venv/lib/python3.8/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->jupyter-server>=1.0->jupyter-server-proxy>=1.5.2->vitessce[all]==1.0.9) (2.21)
Installing collected packages: simpervisor, negspy, mypy-extensions, asciitree, widgetsnbextension, ujson, typing-extensions, tomli, toml, starlette, priority, platformdirs, pathspec, numpy, multidict, jupyterlab-widgets, hyperframe, hpack, h11, frozenlist, fasteners, click, async-timeout, aiofiles, yarl, wsproto, tifffile, scipy, pandas, numcodecs, h2, black, aiosignal, zarr, hypercorn, generate-tiff-offsets, aiohttp, vitessce, ipywidgets, jupyter-server-proxy
Successfully installed aiofiles-0.8.0 aiohttp-3.8.1 aiosignal-1.2.0 asciitree-0.3.3 async-timeout-4.0.2 black-22.8.0 click-8.1.3 fasteners-0.17.3 frozenlist-1.3.1 generate-tiff-offsets-0.1.7 h11-0.13.0 h2-4.1.0 hpack-4.0.0 hypercorn-0.14.1 hyperframe-6.0.1 ipywidgets-8.0.1 jupyter-server-proxy-3.2.1 jupyterlab-widgets-3.0.2 multidict-6.0.2 mypy-extensions-0.4.3 negspy-0.2.24 numcodecs-0.10.2 numpy-1.23.2 pandas-1.4.4 pathspec-0.10.0 platformdirs-2.5.2 priority-2.0.0 scipy-1.9.1 simpervisor-0.4 starlette-0.14.0 tifffile-2020.10.1 toml-0.10.2 tomli-2.0.1 typing-extensions-4.3.0 ujson-5.4.0 vitessce-1.0.9 widgetsnbextension-4.0.2 wsproto-1.2.0 yarl-1.8.1 zarr-2.12.0
There seems to be an underlying issue with the workspace, in that it cannot communicate with any ipywidget in the same notebook execution where the ipywidgets package is installed.
I just tried the following in a HuBMAP workspace notebook:
!pip install ipywidgets==7.7.2
import ipywidgets
slider = ipywidgets.IntSlider(value=40)
slider
And it also throws Exception opening new comm (see slack message).