Skip to content

Ready dataframe.json for dataframe-jupyter module at v1.0+ #470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2025

Conversation

Jolanrensen
Copy link
Contributor

Description

Adds conditional statement to dataframe descriptor, allowing it to handle the integration being in dataframe before version 1.0 and in dataframe-jupyter after 1.0.

Related to Kotlin/dataframe#1095

Type of change

  • Adding a new library descriptor
  • Fixing an error in an existing descriptor
  • Updating an outdated descriptor
  • Updating the library version

Adds conditional statement to dataframe descriptor, allowing it to handle the integration being in `dataframe` before version 1.0 and in `dataframe-jupyter` after 1.0
Comment on lines +8 to 13
"init": [
"if (!\"$v\".startsWith('0')) USE { dependencies(\"org.jetbrains.kotlinx:dataframe-jupyter:$v\") }"
],
"dependencies": [
"org.jetbrains.kotlinx:dataframe:$v"
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to work:

[ERROR] Failed to load library integration class 'org.jetbrains.kotlinx.dataframe.jupyter.Integration'
org/jetbrains/kotlinx/dataframe/impl/codeGen/ReplCodeGenerator
java.lang.NoClassDefFoundError: org/jetbrains/kotlinx/dataframe/impl/codeGen/ReplCodeGenerator

It seems to need the "dependencies" part to discover the full library in both cases

@Jolanrensen Jolanrensen marked this pull request as ready for review March 16, 2025 12:27
@ileasile ileasile merged commit 372add8 into master Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants