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

feat: added --missing flag to list and remove subcommands #1056

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wpk-nist-gov
Copy link

Addresses #1018.

This adds a flag --missing to list and remove subcommands of jupyter kernelspec. By "missing", we mean that the interpreter (the first argument of spec["spec"]["argv"] of the json specification) does not exist. This simplifies removing kernels pointing to missing environments.

I'm not sure how best to test this functionality. Basic smoke tests seem to work. I'm happy to put some more work into this if it seems worthwhile to include in jupyter-client.

Thanks!

@wpk-nist-gov wpk-nist-gov marked this pull request as draft February 24, 2025 21:58
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.

1 participant