Skip to content

RFC to push a widget rewrite. Cannot update package to latest jupyter(lite)/pyoxide versions. #10

@rgon

Description

@rgon

The current bundled jupyter/plotly/numpy version have some limitations. For example #8, and a plotly+pandas bug while creating graphs which makes a graphed dataframe lose data (haven't even found the related issue, can provide reproduction if asked) .

In any case, it's best to use the up-to-date versions.

In #9, I tried manually upgrading it, but unexpectedly, a bunch of console issues appeared, and jupyterlite doesn't even run (see below). I haven't been able to fix them.

Image

I successfully rebuilt the entire widget in @rgon/grist-jupyterlite-2, but it required even a new bundler.

  • Python 3.13, latest pyoxide, latest jupyterlab/jupyterlite
  • Allows importing ipywidgets
  • The rest stays the same
    If any of you are able to backport the fixes, It'd be a possibility. I haven't (although I had never worked with the internals of jupyter). If not, if the maintainers are OK with that, I could push the contents of my rewrite.

Any ideas are welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions