Skip to content

Commit 7c7282d

Browse files
committed
added jupyter dependencies for other dataframe modules
1 parent 303aad4 commit 7c7282d

File tree

1 file changed

+10
-0
lines changed
  • core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter

1 file changed

+10
-0
lines changed

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/jupyter/Integration.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,17 @@ internal class Integration(
6565
private val options: MutableMap<String, String?>,
6666
) : JupyterIntegration() {
6767

68+
val version = options["v"]
69+
6870
override fun Builder.onLoaded() {
71+
if (version != null) {
72+
dependencies(
73+
"org.jetbrains.kotlinx:dataframe-excel:$version",
74+
"org.jetbrains.kotlinx:dataframe-arrow:$version",
75+
"org.jetbrains.kotlinx:dataframe-openapi:$version",
76+
)
77+
}
78+
6979
try {
7080
setMinimalKernelVersion(MIN_KERNEL_VERSION)
7181
} catch (_: NoSuchMethodError) { // will be thrown on version < 0.11.0.198

0 commit comments

Comments
 (0)