File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
repo2docker/buildpacks/julia Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,14 @@ def get_build_env(self):
82
82
else :
83
83
julia_arch = "x86_64"
84
84
julia_arch_short = "x64"
85
+
86
+ if V (self .julia_version ) < V ("0.7" ):
87
+ # IJulia with Julia 0.6 isn't compatible with more recent jupyter-core
88
+ # point it to the one in the kernel env
89
+ # I _think_ this is only relevant during installation
90
+ jupyter = "${KERNEL_PYTHON_PREFIX}/bin/jupyter"
91
+ else :
92
+ jupyter = "${NB_PYTHON_PREFIX}/bin/jupyter"
85
93
return super ().get_build_env () + [
86
94
("JULIA_PATH" , "${APP_BASE}/julia" ),
87
95
("JULIA_HOME" , "${JULIA_PATH}/bin" ), # julia <= 0.6
@@ -91,7 +99,7 @@ def get_build_env(self):
91
99
("JULIA_VERSION" , self .julia_version ),
92
100
("JULIA_ARCH" , julia_arch ),
93
101
("JULIA_ARCH_SHORT" , julia_arch_short ),
94
- ("JUPYTER" , "${NB_PYTHON_PREFIX}/bin/ jupyter" ),
102
+ ("JUPYTER" , jupyter ),
95
103
]
96
104
97
105
def get_path (self ):
You can’t perform that action at this time.
0 commit comments