-
Notifications
You must be signed in to change notification settings - Fork 950
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
Add support for building against JupyterLab 4 and Lumino 2 #3752
Conversation
@martinRenou I was just going to take over #3707 which was working apart the galata test (now has conflicts). Question around dependencies: You are giving choice to javascript in package.json (e.g. "@jupyterlab/services": "^6.0.0 || ^7.0.0-beta.0" - "@lumino/coreutils": "^1.11.1 || ^2"), however the python version is pinned to verison 4 of jupyterlab (jupyterlab ==4.0.0b0). We already discussed that a bit, could you bring more details around that as my first feeling is that there is a risk on inconsistency, but I may miss background here. |
Thanks for commenting. I wanted to debug a bit on this.
In tests yes. To make sure we test against the latest jlab in the ui-tests.
There shouldn't be any issue coming from the the choice we give in the JavaScript packages versions. This is just giving more freedom on the downstream packages that depend on However, yarn is being annoying (again) here and pulls both Lumino 1 and Lumino 2 packages in the dev installation for no obvious reason. I'm a bit stuck now because of this. |
This seems to be because the:
This means that Weirdly enough, the |
3433707
to
057de2a
Compare
We'll be stuck in the docs by Jupyterlab-myst |
TODO: Check that #3785 is fixed with this PR |
@martinRenou I just checked and these changes do not fix #3785 or #3781. You mentioned above
I think I've figured out what is happening here. There are several package.json files that request lumino pacakages with versions that do not exist. For instance, Unfortunately it still does not solve #3785 or #3781(using my local build) and jlab4, which I suspect are CSS issues needing to be resolved. |
We really need a bot to update snapshots 😓 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @martinRenou. I spotted two places where Lab4 specific code is used.
Thanks a lot for the review @fcollonval ! |
Co-authored-by: Eric Charles <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like all of these image changes added 1 px vertically. Was that due to something inherent in lumino2/JL4 ? If it is, then this change is just a downstream effect from the lumino2/JL4 change. If not, then this PR shouldn't cause updated images.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect this comes with the galata and JupyterLab 4 update.
Since this PR is not touching CSS code nor visual JavaScript code I guess it's fine to just update the references to match what the UI-tests are getting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thinking about this further. Do the unit tests also test against JL 3.6? will there be an oscillation of failures depending on which is tested against?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated galata which comes from JupyterLab 4, so it's only testing JupyterLab 4 from now on
Hi all, is there anything else that needs to be fixed or this PR is ready? |
All good on my side! Thank you for the review |
Hey @afshin do you have a bit of time to review the lumino bits of this PR? |
What is the ongoing ipywidgets story for 3.6? Since we removed integration testing against 3.6, how can library authors have confidence their code will work against 3.6 and 4.0?Sent from my iPhoneOn Jun 23, 2023, at 3:41 PM, Afshin Taylor Darian ***@***.***> wrote:
@afshin approved this pull request.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
We could indeed add another CI workflow for testing against JupyterLab 3.x. |
🚀 🎉 💯 |
meeseeksdev please backport to 7.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
Follow up #3707
Fix #3790