-
Notifications
You must be signed in to change notification settings - Fork 0
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
Jupyter Book + Julia environment compatibility #1
Comments
I was able to fix my issues by changing the kernel in the notebooks (I was using Julia 1.11, while the kernels were 1.10). I also needed to change the TOC on Ethan's branch to not include file extensions (.ipynb) After making those corrections, I am able to build locally. |
The current GHA build is having trouble finding IJulia when building the book. Will need more troubleshooting. |
I also spent some time messing with this. I think that jupyter-book tries to find the same jupyter kernel that the notebook was last loaded with (I have no other idea where the build process would get the version otherwise). I looked a bit for a way to set this so it would "just work" but did not find anything. There might be a command line argument you can pass to jupyter-book, but the source code was a bit much for the time I had. I also tried setting up IJulia so that it installed the julia kernel into whatever jupyter is installed through |
That was also my assessment! I'll look into the environment varialbe you mentioned. I was able to build locally, but it seems like the GHA is not able to find the kernel. |
Ok I got it to build on my local server finally. Not sure what I did is reproducible but I know what files need to be where I think. After I manually set the kernel by editing the file source, I just needed IJulia installed in the base julia environment. Before we only had it in the environment that we used with the notebooks. Are there easy ways to test the github CI? I'm going to set the github actions to build form my branch temporarily to see if I can get things working without having to destroy main. |
@ejmeitz - you could fork the repository and do CI runs from the fork ot test the CI |
Ah yea that's a better idea. |
We've had some issues getting the Juptyer book to build when using a Julia environment. Put findings or troubleshooting notes here!
@ejmeitz @Leticia-maria
The text was updated successfully, but these errors were encountered: