[spike] Use hucl and jupyter-kernel-client to replace jhub-client#8738
Draft
agoose77 wants to merge 4 commits into
Draft
[spike] Use hucl and jupyter-kernel-client to replace jhub-client#8738agoose77 wants to merge 4 commits into
hucl and jupyter-kernel-client to replace jhub-client#8738agoose77 wants to merge 4 commits into
Conversation
agoose77
marked this pull request as draft
July 14, 2026 15:44
hucl and jupyter-kernel-client to replace jhub-clienthucl and jupyter-kernel-client to replace jhub-client
hucl and jupyter-kernel-client to replace jhub-clienthucl and jupyter-kernel-client to replace jhub-client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This spike is a proof-of-concept for replacing
jhub-client.#8468 contextualises this.
It's my view that we should split the client into two parts:
I released a package
huclto spin up a hub. It's simple, and designed to be easy to test. It's not intended to become an entire wrapper around JupyterHub's API.Jupyter is slowly converging on tooling to do (2) with kernel provisioners, e.g. https://github.com/davidbrochart/jupyter-kernel-provisioner-proxy/. This package let you use
nbclientor other tools with a remote server. However, I think for-now let's keep it simple and directly use the datalayer dep.I imagine this approach should also be applied to the JupyterHub simulator, whose role it can be to use third-party code to start / stop servers, and third-party code to run benchmarks.