ACCESS-NRI / MED-condaenv

A repository for the squashfs'd MED conda environments
Apache License 2.0
0 stars 0 forks source link

Unpin jupyterlab=3.6.4 #17

Closed dougiesquire closed 1 year ago

dougiesquire commented 1 year ago

Jupyterlab is pinned at 3.6.4 as there're issues with using panel widgets with jupyterlab=4.0.0 and 4.0.1. This pin should be removed once the compatibility issue is resolved.

At the time of writing this, latest relevant package versions on conda-forge were:

python=3.10.11
jupyterlab=4.0.1
hvplot=0.8.3
datashader=0.15.0
panel=1.1.0

To replicate the issue

(courtesy of @headmetal)

import panel as pn

def star_creator(number):
    #print('Updating number of stars to', number)
    return "⭐" * number

pn.extension()
slider = pn.widgets.IntSlider(value=5, start=1, end=10)
interactive_star_creator = pn.bind(star_creator, slider)
pn.Column(slider, interactive_star_creator)

Stars should update with the integer as the slider is moved.

dougiesquire commented 1 year ago

Just checked, and this issue is not resolved by updating to jupyterlab=4.0.2, which is now available on conda-forge

dougiesquire commented 1 year ago

@headmetal, do you know if this issue has been resolved by any recent updates? Can we unpin jupyterlab?

headmetal commented 1 year ago

I don't know if it has been resolved yet as I'm waiting for env fixes to test https://github.com/ACCESS-NRI/MED-live-diagnostics. Once that is going I'll look into it.

dougiesquire commented 1 year ago

The difficulty is that we may need to unpin this in order to fix the MED env... All good - I'll check in a different env

headmetal commented 1 year ago

Don't worry about it - do the fix so everything can work again, then I can test and go from there