Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1340 - removes dependency on removed ipywidgets API #1455

Merged
merged 1 commit into from
Jun 18, 2021
Merged

Conversation

sc1f
Copy link
Contributor

@sc1f sc1f commented Jun 18, 2021

This PR removes the use of ipywidgets.Widget.on_displayed from PerspectiveWidget, which makes PerspectiveWidget compatible with ipywidget >= 8.0.0.

This API was originally used for an esoteric feature: on the widget, in client mode, if the user called widget.update before the widget was displayed, the updates were not cached and thus silently dropped. Since the first releases of perspective-python, we've tremendously cleaned up our build process and now offer wheels for all platforms, which should make client mode rarely used, if at all. Thus, this feature is slated for removal to maintain our compatibility with future ipywidgets versions.

Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for the PR!

@texodus texodus merged commit 4cf8b27 into master Jun 18, 2021
@texodus texodus deleted the fix-1340 branch June 18, 2021 18:50
@texodus texodus added the bug Concrete, reproducible bugs label Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants