Skip to content

Notebook with project dependencies can end up without loaded Jupyter integration #1140

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

Open
koperagen opened this issue Apr 22, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@koperagen
Copy link
Collaborator

Consider this setup:
Project with dataframe-core or dataframe 1.0.0-dev-6991 or later
Notebook with project dependencies

DataFrame will be available, but no imports and no codegen. Because integration no longer comes with Jupyter Integration, so we need an extra dependency

We can mitigate this problem, add dependency on Jupyter to umbrella dataframe artifact. But proper fix should fix it for dataframe-core too. So probably will involve fixes on kernel side

@koperagen koperagen added the bug Something isn't working label Apr 22, 2025
@koperagen koperagen added this to the 1.0.0-Beta1 (0.16) milestone Apr 22, 2025
@Jolanrensen
Copy link
Collaborator

@ileasile there might be interest from other libraries as well for "hinting" to the jupyter kernel that a specific dependency is needed for a library to work. The Kotlin Spark API for instance has the same issue.

@ileasile
Copy link
Collaborator

This exact issue could be fixable in the .json descriptor I believe

@koperagen
Copy link
Collaborator Author

This exact issue could be fixable in the .json descriptor I believe

You mean https://github.com/Kotlin/kotlin-jupyter-libraries/blob/master/dataframe.json or similar to one below?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants