-
Notifications
You must be signed in to change notification settings - Fork 104
Description
When julia is updated, juliaup changes the installed directory location of the julia binary. This breaks IJulia until it is re-built, because IJulia installs a kernel configuration file that refers to a specific Julia path. For example, when updating from 1.10.0 to 1.10.1 on my Mac, trying to open a Julia notebook in Jupyter led to an error:
[Errno 2] No such file or directory: '/Users/stevenj/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/bin/julia': '/Users/stevenj/.julia/juliaup/julia-1.10.0+0.x64.apple.darwin14/bin/julia'
Should juliaup update automatically re-run Pkg.build("IJulia") if it changes the location of the Julia binary, assuming IJulia is installed? (This will also update the kernel identifier in the Jupyter menu, e.g. from "Julia 1.10" to "Julia 1.10.1".)
Or should IJulia be installing a Julia kernel with a different path for julia somehow when juliaup is being used? Currently, it uses joinpath(Sys.BINDIR, "julia")