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

chore(pydeck): Disable broken Jupyter bindings in v0.9 #8854

Merged
merged 2 commits into from Apr 29, 2024

Conversation

donmccurdy
Copy link
Collaborator

Jupyter bindings are not currently working in pydeck, and won't make it into the pydeck v0.9 release. To make this less disorienting for users, I've made two changes here:

  1. .show() should call .to_html() automatically, as it would in Colab or other environments
  2. .update() should show a warning

This can certainly be revisited in upcoming releases, as we consider what to do about two-way bindings.

@coveralls
Copy link

coveralls commented Apr 29, 2024

Coverage Status

coverage: 89.83%. remained the same
when pulling 271f371 on donmccurdy/pydeck-v09-disable-jupyter-bindings
into a874dd0 on master.

@@ -16,5 +16,8 @@ def test_nbconvert():
# NOTE skipping 03 (which contains live singapore taxi data) until I can provide a static version of that data
if "04" in fname or "06" in fname or "03" in fname:
continue
# NOTE Jupyter-specific features not currently supported in pydeck v0.9.
if "01" in fname or "02" in fname:
Copy link
Collaborator

Choose a reason for hiding this comment

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

The previously skipped ones no longer need to be skipped?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure I follow, sorry!

Adding two tests to the list of skipped tests here, failing for the disabled .update() function.

@donmccurdy donmccurdy merged commit 02d6813 into master Apr 29, 2024
4 checks passed
@donmccurdy donmccurdy deleted the donmccurdy/pydeck-v09-disable-jupyter-bindings branch April 29, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants