plotly / dash-cytoscape

Interactive network visualization in Python and Dash, powered by Cytoscape.js
https://dash.plot.ly/cytoscape
MIT License
587 stars 120 forks source link

Upgrade to react-cytoscapejs 2 #183

Closed akx closed 6 months ago

akx commented 1 year ago

About

I checked that the Webpack builds pass, hoping that CI here would do the rest.

Cc

Description of changes

See above.

Pre-Merge checklist

Reference Issues

See plotly/react-cytoscapejs#99 for the discussion around react-cytoscapejs 2.

alexcjohnson commented 1 year ago

Thanks @akx. Looks like there are some build issues on CI... if you're motivated to dig in you're more than welcome, I've updated the permissions so it should work fine from your fork now, but I'm also happy to let this one wait a bit until someone from Plotly gets a chance to poke around here.

akx commented 1 year ago

@alexcjohnson Well, it worked for exactly one build... 😁

I think #179 is related here; since pip install has been set to --quiet I can't verify which version of dash is exactly being used, but it's obviously not one with https://github.com/plotly/dash/pull/1995 in, since the one build failed with

  File "/home/circleci/project/venv/lib/python3.7/site-packages/dash/dash.py", line 22, in <module>
    from werkzeug.debug.tbtools import get_current_traceback
ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools' (/home/circleci/project/venv/lib/python3.7/site-packages/werkzeug/debug/tbtools.py)
alexcjohnson commented 1 year ago

Yeah weird. Feel free to remove --quiet - and thanks for the nudge on #179

alexcjohnson commented 6 months ago

Done in #193 - thanks @akx!