Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Enable live debuging of JupyterHub container #13

Open
vpavlin opened this issue Nov 6, 2020 · 0 comments
Open

Enable live debuging of JupyterHub container #13

vpavlin opened this issue Nov 6, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@vpavlin
Copy link

vpavlin commented Nov 6, 2020

Is your feature request related to a problem? Please describe.
When we develop JupyterHub Singleuser Profiles, we need to rebuild image to test each change, it would be useful to have a way how to update the library and restart JupyterHub without builds and rollouts

Describe the solution you'd like
Provide a script (e.g. devel_update_and_restart.sh) which will update a given dependency and restart JupyterHub without terminating the container (we'd probably need an env var to switch to this mode as well to not disrupt default behaviour)

The script should accept parameters describing the dependency and the version to update to (both PyPi and Git as a source should be supported).

The script would then use pipenv to update that depepndency and restat JupyterHub process

Describe alternatives you've considered
Potential alternative might be to build another layer on top of the JH image, but thet would be very hard to generalize and still would include the image build and container rollout which would take longer than the proposed solution

Additional context

@vpavlin vpavlin added the enhancement New feature or request label Nov 6, 2020
tmckayus pushed a commit to tmckayus/jupyterhub-quickstart that referenced this issue Jan 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant