You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are methods to bump versions across the various package.json files in deck.gl. However, pydeck's frontend_semver.py is not updated when these versions change. This may be because pydeck releases are not synchronized with deck.gl releases, but I could not find a documented way to run pydeck with the jupyter-widget module when building/running from source because the semver link between pydeck and jupyter-widget is broken, leading to errors:
Unhandled Promise Rejection: Error: Module @deck.gl/jupyter-widget, semver range ~8.5.* is not registered as a widget module
There is a bump_version.py script that pulls the version info from deck.gl and updates frontend_semver.py, but this is lumped in with setting the pydeck release (one has to choose major/minor, etc.)
Proposal
I see three potential solutions:
Modify the bump_version.py script so it can be called to only run rewrite_frontend_version_file and put this step into the Makefile
Create a separate script (e.g. link_frontend.py) that calls rewrite_frontend_version_file and document this in the installing from source docs
Automatically update the frontend_semver.py file when deck.gl versions change
Note that these could be combined so that the link_frontend.py script is created, used in the Makefile, and also called as part of the global version update action.
The text was updated successfully, but these errors were encountered:
Target Use Case
There are methods to bump versions across the various package.json files in deck.gl. However, pydeck's
frontend_semver.py
is not updated when these versions change. This may be because pydeck releases are not synchronized with deck.gl releases, but I could not find a documented way to run pydeck with the jupyter-widget module when building/running from source because the semver link between pydeck and jupyter-widget is broken, leading to errors:There is a
bump_version.py
script that pulls the version info from deck.gl and updatesfrontend_semver.py
, but this is lumped in with setting the pydeck release (one has to choose major/minor, etc.)Proposal
I see three potential solutions:
bump_version.py
script so it can be called to only runrewrite_frontend_version_file
and put this step into the Makefilelink_frontend.py
) that callsrewrite_frontend_version_file
and document this in the installing from source docsfrontend_semver.py
file when deck.gl versions changeNote that these could be combined so that the
link_frontend.py
script is created, used in the Makefile, and also called as part of the global version update action.The text was updated successfully, but these errors were encountered: