takluyver / mobilechelonian

Turtles on a notebook
Other
100 stars 37 forks source link

Compatibility with ipywidgets >= 7.0.0 #11

Closed hoogenm closed 7 years ago

hoogenm commented 7 years ago

mobilechelonian did not seem to work with ipywidgets >= 7.0.0 anymore (at least, I experienced serious difficulty running it with ipywidgets 7.0.3, and did not succeed with the current official distribution). According to the migration guide for ipywidgets, the Javascript require should now reference @jupyter-widgets/base instead of jupyter-js-widgets (as of version 7.0).

I made that change, and succesfully ran the modified version of mobilechelonian in a Jupyter environment with ipywidgets 7.0.3. In setup.py I made sure that the version of ipywidgets will be updated automatically to version >= 7.0.0 (if necessary). I also bumped the version number of mobilechelonian to 0.5, so people who are dependent on ipywidgets <= 6 can still install mobilechelonian==0.4.

takluyver commented 7 years ago

Thanks Marc!

choldgraf commented 7 years ago

woot! this is great!

takluyver commented 6 years ago

:-) @choldgraf I've invited @hoogenm to be a collaborator on this repo as well.

choldgraf commented 6 years ago

great!