Skip to content

Commit ea5a3b2

Browse files
committed
Update Appose: 0.9.0 -> 0.10.0
1 parent 9564c16 commit ea5a3b2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
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>

src/main/java/org/scijava/plugins/scripting/python/RebuildEnvironment.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import java.util.stream.Stream;
3939

4040
import org.apposed.appose.Appose;
41+
import org.apposed.appose.BuildException;
4142
import org.apposed.appose.Builder;
4243
import org.scijava.command.Command;
4344
import 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
}

0 commit comments

Comments
 (0)