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

Build against JupyterLab 4 / Lumino 2 #417

Merged
merged 11 commits into from
Sep 5, 2023

Conversation

vthemelis
Copy link
Contributor

@vthemelis vthemelis commented May 19, 2023

Also fixes #431

@vthemelis vthemelis changed the title Migrate to JupyterLab 4 / Lumino 2 (WIP) Migrate to JupyterLab 4 / Lumino 2 May 20, 2023
@martinRenou
Copy link
Member

Thank you for opening a PR! Unfortunately we'll be stuck waiting for ipywidgets to build against lab 4 before we can update jupyter-widgets/ipywidgets#3752

@martinRenou
Copy link
Member

I think we can now resume this work

js/datagrid.ts Outdated Show resolved Hide resolved
@vthemelis vthemelis force-pushed the lumino-2 branch 2 times, most recently from 696efd7 to c3fae79 Compare August 21, 2023 20:47
@vthemelis
Copy link
Contributor Author

@martinRenou, could you help me fix the Galata tests? I'm not super familiar with those.

@martinRenou
Copy link
Member

Sure I'll try to get your PR green. Thanks!

@vthemelis vthemelis force-pushed the lumino-2 branch 2 times, most recently from cc2cf9f to 1b877a4 Compare August 23, 2023 20:35
@vthemelis vthemelis changed the title (WIP) Migrate to JupyterLab 4 / Lumino 2 Migrate to JupyterLab 4 / Lumino 2 Aug 23, 2023
@vthemelis
Copy link
Contributor Author

vthemelis commented Aug 23, 2023

@martinRenou, I think that this is now ready for review. You will also have to update the UI test artefacts (I don't think I can do that) but the tests run just fine.

@martinRenou
Copy link
Member

Thanks! I'll have a look very soonish, it's on my todo list

@martinRenou
Copy link
Member

Looking into it this afternoon!

@martinRenou
Copy link
Member

Let's see, maybe the bot works: "update galata references"

@martinRenou
Copy link
Member

@martinRenou
Copy link
Member

Turns out the CI testing against ipywidgets 7 catches a real issue. ipydatagrid does not render when using ipywidgets 7 with this PR. I'm investigating.

@martinRenou
Copy link
Member

After more investigation, it's not an ipydatagrid issue but an ipywidgets issue. ipywidgets 7.x does not work with JupyterLab 4.

We will want to report this to the ipywidgets repo. I don't know if it's possible to make a patch version of ipywidgets 7.x fixing this.

I will update our visual regression tests to use JupyterLab 3 in ui-tests-ipw7 and JupyterLab 4 in ui-tests-ipw8.

@@ -1,4 +1,4 @@
# Copyright (c) Bloomberg.
# Distributed under the terms of the Modified BSD License.

__version__ = "1.1.16"
Copy link
Member

Choose a reason for hiding this comment

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

We should bump this separately

Copy link
Member

Choose a reason for hiding this comment

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

Done

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The package.json still has the new version I think

Copy link
Member

Choose a reason for hiding this comment

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

Ooops I missed your comment, indeed it has. I'll make an 1.1.17 right away

js/datagrid.ts Outdated Show resolved Hide resolved
vthemelis and others added 4 commits September 5, 2023 09:42
* jlpm up '@lumino/*'
* jlpm up '@jupyter-widgets/base'
* jlpm up '@jupyterlab/*'
* Same for a few loaders
* Polyfill DragEvent
* Remove JL<4 constraints
* Upgrade Galata and Playwright
* Fix UI tests
* Bump to 1.2.0
* Update bump docs

Signed-off-by: Vasilis Themelis <vdthemelis@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

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

Thanks for your work!

@martinRenou martinRenou merged commit b694767 into jupyter-widgets:main Sep 5, 2023
14 checks passed
@martinRenou martinRenou changed the title Migrate to JupyterLab 4 / Lumino 2 Build against JupyterLab 4 / Lumino 2 Sep 5, 2023
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.

observe selections doesn't work with jlab4
2 participants