How have you setup JupyterHub (e.g. zero-to-jupyterhub, littlest jupyterhub, or manual install)? What Spawner are you using?
It depends on how the hub it setup how you update packages in the user environment. But in general, pip install --upgrade jupyterlab or conda update jupyterlabin the user environment ought to work.
Traceback (most recent call last):
File “/opt/jupyterhub/bin/jupyter-lab”, line 5, in
from jupyterlab.labapp import main
File “/opt/jupyterhub/lib/python3.12/site-packages/jupyterlab/labapp.py”, line 45, in
from .extensions import MANAGERS as EXT_MANAGERS
File “/opt/jupyterhub/lib/python3.12/site-packages/jupyterlab/extensions/init.py”, line 12, in
from .pypi import PyPIExtensionManager
File “/opt/jupyterhub/lib/python3.12/site-packages/jupyterlab/extensions/pypi.py”, line 74, in
“http://”: httpx.AsyncHTTPTransport(proxy=http_proxy_url),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/jupyterhub/lib/python3.12/site-packages/httpx/_transports/default.py”, line 296, in init
proxy = Proxy(url=proxy) if isinstance(proxy, (str, URL)) else proxy
^^^^^^^^^^^^^^^^
File “/opt/jupyterhub/lib/python3.12/site-packages/httpx/_config.py”, line 214, in init
raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL(‘URL removed’) fett gedruckter Text
How do you safely update jupyterlab on the hub?
I mean that an extension is not compatible with a new version of JupyterLab, I mean, this can happen. But what can I install and what not? And how can I prevent having some old version again?