vatlab / sos-notebook

Multi-language Jupyter Notebook
http://vatlab.github.io/SoS
BSD 3-Clause "New" or "Revised" License
176 stars 17 forks source link

DeprecationWarning #198

Closed almereyda closed 5 years ago

almereyda commented 5 years ago

When installing the kernel spec, it outputs a warning about

$ python3 -m sos_notebook.install        
/home/ya/.local/lib/python3.7/site-packages/sos_notebook/install.py:73: DeprecationWarning: replace is ignored. Installing a kernelspec always replaces an existing installation
  KS.install_kernel_spec(td, 'sos', user=user, replace=True, prefix=prefix)
sos jupyter kernel spec is installed

https://github.com/vatlab/sos-notebook/blob/ec59273ab2aa79582876b1752619ac45b23c425b/src/sos_notebook/install.py#L73

BoPeng commented 5 years ago

Thanks. Did not see this before but I have just removed this option.