jupyter_client
jupyter_client copied to clipboard
jupyter kernelspec remove -y broken
-y is ignored no matter where I put it in the command string. -f works.
At least, on my win10 machine. conda list shows:
jupyter 1.0.0 pypi_0 pypi jupyter-client 5.2.4 pypi_0 pypi jupyter-console 6.0.0 pypi_0 pypi jupyter-core 4.4.0 pypi_0 pypi
ipykernel 5.1.1 pypi_0 pypi ipython 7.5.0 pypi_0 pypi ipython-genutils 0.2.0 pypi_0 pypi ipywidgets 7.4.2 pypi_0 pypi
The -y option is inherited from the JupyterApp superclass, so its probably easy to miss implementing it. I think if you change this line to the following,
if not self.force and not self.answer_yes:
it should get honored.