dask / dask-labextension

JupyterLab extension for Dask
BSD 3-Clause "New" or "Revised" License
311 stars 62 forks source link

Help setting up a development environment #177

Closed jacobtomlinson closed 3 years ago

jacobtomlinson commented 3 years ago

I'm struggling to set up my development environment since the move to Jupyter Lab 3. I followed the guide to set up my development environment as per the README instructions but I am struggling to get an editable install.

MCRE:

This last step fails with ModuleNotFoundError: There is not a labextensions at ..

If I launch Jupyter Lab the extension appears to be installed, but if I make modifications and run jlpm build I don't see them reflected after relaunching Jupyter Lab.

Also if I list extensions it appears I have the latest release installed instead.

$ jupyter labextension list                 
JupyterLab v3.0.9
/Users/jtomlinson/miniconda3/envs/daskjupyterdebug/share/jupyter/labextensions
        dask-labextension v5.0.1 enabled OK (python, dask_labextension)

What am I doing wrong?

ian-r-rose commented 3 years ago

Thanks for flagging this @jacobtomlinson, I can reproduce your issue. You haven't done anything wrong -- instead it looks like I missed a step to get editable installs working in #162 (thought non-editable installs should still work locally). I'll whip up a fix