man-group / man-group/notebooker

Not able to set kernel name for notebook

Open
#182 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Python
Stars
939
Forks
95
Avg merge
9d 1h
Merged PRs (30d)
1

Description

Hi,
I am trying to use my default JupyterLab kernel for executing notebooks via Notebooker but I don't think this configuration is applied. I've tried following commands

`notebooker-cli --notebook-kernel-name=python3`
`notebooker-cli --notebook-kernel-name python3`

Opening the Notebooker output for the executing notebook I see following kernelspec:
` "kernelspec": {
"display_name": "notebooker_kernel",
"language": "python",
"name": "notebooker_kernel"
}`

but I expect it to be
` "kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
}`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the `--notebook-kernel-name` CLI option is parsed and how the executing notebook's kernelspec is generated. Verify the option reaches that path, then run the relevant notebook execution or CLI tests and confirm the output uses the requested `python3` kernelspec.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.