On Tue 13/05/2025 23:01, Daniel Dickman wrote: > In order to update www/jupyter_notebook, we first need to import > www/jupyterlab. > > The attached .tgz includes a new port for jupyterlab 4.4.2. That port > needs 2 new DEPs: > - www/py-notebook-shim > - devel/py-jupyter_lsp > > jupyter_lsp needs 2 new DEPs as well (jupyterlab_server and > strict_rfc3339). > > ok to import these 5 new ports? > > Getting these in will let us update to a more modern jupyter notebook. And > at long last we'll then be able to remove ipython_genutils.
Thank you for pursuing jupyterlab, this is nice to have. 1 Minor nit: HOMEPAGE can be uncommented in devel/py-jupyterlab_server/Makefile www/jupyterlab fails packaging with: Error: /usr/ports/pobj/jupyterlab-4.4.2/fake-amd64/usr/local/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json does not exist Error: /usr/ports/pobj/jupyterlab-4.4.2/fake-amd64/usr/local/etc/jupyter/jupyter_server_config.d/jupyterlab.json does not exist After running 'make update-plist' I got it to build and package. I guess you need to sprinkle in some @sample in pkg/PLIST? The resulting package however fails installing because of a dependency issue in www/py-httpcore. ===> jupyterlab-4.4.2 depends on: py3-httpx->=0.25.0 - not found ===> Verifying install for py3-httpx->=0.25.0 in www/py-httpx ===> py3-httpx-0.27.0p1 depends on: py3-httpcore-* - not found ===> Verifying install for py3-httpcore-* in www/py-httpcore ===> py3-httpcore-1.0.5p2 depends on: py3-h11->=0.13,<0.15 - not found ===> py3-httpcore-1.0.5p2 depends on: py3-h11->=0.13,<0.15 - default py3-h11-0.16.0 does not match I think this issue has been caused by a recent commit of sthen@. Just send a mail to him about this. For now I worked around this by relaxing the dependency requirement in www/py-httpcore. With this, jupyterlab - and the other 4 new ports - work for me. After the above has been addressed OK bket@ for importing all 5 ports.