Skip to content
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

Notebook Execution Environment Information in Metadata #1311

Open
reallyTG opened this issue Oct 20, 2023 · 2 comments
Open

Notebook Execution Environment Information in Metadata #1311

reallyTG opened this issue Oct 20, 2023 · 2 comments

Comments

@reallyTG
Copy link

🚀 Feature

Expose the environment version that a Notebook runs in in the metadata.

Motivation

I'm trying to pull, edit, and push other user's Kaggle notebooks using the CLI (essentially, I'm trying to automatically "Copy & Edit" them using the CLI). When you "Copy & Edit" on the Kaggle website, the correct environment is propagated to your copy. However, when you do this using the CLI, there is no information about the Notebook environment in the metadata, so when I push a pulled and edited Notebook it locks to the most recent available environment, and consequently there are issues running the Notebook due to version mismatches.

Additional context

None ATM, happy to provide and discuss! (Also, if I missed something obvious and this information is actually available, I am happy to stand corrected.)

@djherbis
Copy link
Contributor

Thanks! This feature doesn't have too much to do with the actual docker image (besides making sure we pin it).

cc @c-h-i-a-m-a-k-a Do you think we can support this for things ipynbs that aren't imported through the editor in the future?

@c-h-i-a-m-a-k-a
Copy link

@jplotts and I were actually just discussing this yesterday. It seems possible, but we would just have to support backend embedding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants