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

Custom env variables #16701

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

AnastasiaSliusar
Copy link
Contributor

References

Code changes

This PR includes functionality of setuping custom env variables

User-facing changes

  • Kernel select dialog was changed. Now there is opportunity to add custom env variables for a kernel that has not be run yet
  • A user can call context menu on Launcher by clicking on a kernel icon and then setup custom env variables for a kernel
    dialog_kernel_select
    dialog_custom_env_laucher

How to use

Should be use together with https://github.com/AnastasiaSliusar/jupyter_server/tree/custom-env-variables

Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@github-actions github-actions bot added pkg:apputils pkg:ui-components tag:CSS For general CSS related issues and pecadilloes Design System CSS labels Aug 20, 2024
@AnastasiaSliusar
Copy link
Contributor Author

please update galata snapshots

@AnastasiaSliusar
Copy link
Contributor Author

please update documentation snapshots

@AnastasiaSliusar
Copy link
Contributor Author

please update snapshots

@@ -2021,6 +2130,18 @@
onSpecsChanged();
services.kernelspecs.specsChanged.connect(onSpecsChanged);
});

const acceptKernelEnvVar =

Check notice

Code scanning / CodeQL

Unused variable, import, function or class

Unused variable acceptKernelEnvVar.
@krassowski
Copy link
Member

Related to jupyter/enhancement-proposals#87 ?

@AnastasiaSliusar
Copy link
Contributor Author

Related to jupyter/enhancement-proposals#87 ?

Dear @krassowski no, this feature is independent. It also touches the topic of running a kernel with some customization. But the difference is that a user can setup custom env variables for a kernel and run it without changes kernel spec files. And jupyter/enhancement-proposals#87 is about allowing to add changes to kernel spec files and then use them when a kernel is run.

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

Successfully merging this pull request may close these issues.

3 participants