-
Notifications
You must be signed in to change notification settings - Fork 170
Implement Jupyter kernel #2756
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
Implement Jupyter kernel #2756
Conversation
610be3f
to
627ba51
Compare
.github/workflows/CI.yml
Outdated
|
||
- name: Install Linux / macOS Conda Packages | ||
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') | ||
shell: bash -e -l {0} | ||
run: conda install bison=3.4 nodejs=18 | ||
run: conda install bison=3.4 nodejs=18 xeus xeus-zmq |
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.
you can remove these
In default build, do not build the xeus kernel. So you need to hide it behind ifdefs. Look at how LFortran does it. Then at the CI, just add a new job, as you already did, and build it there. That's done. The other CI jobs should work exactly as before, and since xeus is not installed, they won't be testing it. |
It almost works. You can investigate the macOS failure. We need to update CI to use micromamba in a separate PR, which I am doing in #2758. Then we rebase this one. |
@@ -7,7 +7,8 @@ dependencies: | |||
- toml | |||
- pytest | |||
- jupyter | |||
- xeus=1.0.1 | |||
- xeus=5.1.0 | |||
- xeus-zmq=3.0.0 | |||
- xtl | |||
- nlohmann_json | |||
- cppzmq |
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.
Migration to xeus
5 and above allows us to drop the dependency on xtl
and cppzmq
for all downstream projects (mostly kernels) so you have remove them and also we should pin nlohmann_json
to 3.11.3
wherever possible
Fixed in #2764. |
No description provided.