File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/main/java/org/scijava/plugins/scripting/python Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 8888 <!-- NB: Deploy releases to the SciJava Maven repository. -->
8989 <releaseProfiles >sign,deploy-to-scijava</releaseProfiles >
9090
91- <appose .version>0.9 .0</appose .version>
91+ <appose .version>0.10 .0</appose .version>
9292 </properties >
9393
9494 <dependencies >
Original file line number Diff line number Diff line change 3838import java .util .stream .Stream ;
3939
4040import org .apposed .appose .Appose ;
41+ import org .apposed .appose .BuildException ;
4142import org .apposed .appose .Builder ;
4243import org .scijava .command .Command ;
4344import org .scijava .launcher .Splash ;
@@ -128,7 +129,7 @@ public void run() {
128129 if (targetDir .exists ()) targetDir .renameTo (backupDir );
129130 // Build the new environment.
130131 try {
131- Builder builder = Appose .mamba ()
132+ Builder <?> builder = Appose .mamba ()
132133 .file (environmentYaml .getAbsolutePath ())
133134 .scheme ("environment.yml" )
134135 .base (targetDir )
@@ -148,7 +149,7 @@ public void run() {
148149 "Environment Ready" , DialogPrompt .MessageType .INFORMATION_MESSAGE );
149150 }
150151 }
151- catch (IOException exc ) {
152+ catch (BuildException exc ) {
152153 log .error ("Failed to build Python environment" , exc );
153154 }
154155 }
You can’t perform that action at this time.
0 commit comments