nasa-fornax / fornax-images

Customised Jupyterhub images for the Fornax Platform deployments
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Update Firefly Jupyterlab Extension #11

Open vandesai1 opened 3 months ago

vandesai1 commented 3 months ago

I believe the General Image already has the Firefly Jupyterlab Extension installed. There is a new version that I would like to use. Can it be updated in the Image?

https://pypi.org/project/jupyter-firefly-extensions/

I understand that this can take some time. I'd love to a demo for someone on Tuesday. Is it possible to install Jupyterlab extensions for just one person?

jaladh-singhal commented 3 months ago

Doing

conda activate base
pip install --upgrade firefly-client jupyter-firefly-extensions

And then reloading browser window makes firefly jupyter extension work! This is of course a one person solution, but it will be best to have both of these packages up-to-date in the image.

zoghbi-a commented 3 months ago

@vandesai1. Apologies, I missed this. This maybe late for the demo, but the image is updated now (Astrophysics Dev Image). The solution suggested by @jaladh-singhal should do the update between image updates.

vandesai1 commented 3 months ago

thanks! I was able to do the demo because @jaladh-singhal figured out how to do a temporary install. It wasn't hard, but this is better.

jaladh-singhal commented 3 months ago

@zoghbi-a thanks for updating the image. What's the frequency of image update?

I'm asking this because firefly-client and jupyter-firefly-extensions are in active development - we roll out new minor releases in every couple of weeks or so (sometimes even months). And fornax is a testbed that identifies bugs that we need to fix in firefly-client and friends, so we want fornax to pick up their latest versions as soon as possible.

zoghbi-a commented 3 months ago

The way the Fornax system is setup now makes it difficult to make updates to the images. With the new deployment coming up likely by the end of this month, we should be able to do updates more frequently.