From 01eef1fa5df6791ba10133d72a3211522a9d320a Mon Sep 17 00:00:00 2001 From: dalthviz Date: Tue, 28 Jun 2022 13:41:58 -0500 Subject: [PATCH] IPython Console: Escape hyphen from update instructions for spyder-kernels --- spyder/plugins/ipythonconsole/widgets/main_widget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spyder/plugins/ipythonconsole/widgets/main_widget.py b/spyder/plugins/ipythonconsole/widgets/main_widget.py index c6fa922da22..7808324f50a 100644 --- a/spyder/plugins/ipythonconsole/widgets/main_widget.py +++ b/spyder/plugins/ipythonconsole/widgets/main_widget.py @@ -65,9 +65,9 @@ '>= {0} and < {1}').format( SPYDER_KERNELS_MIN_VERSION, SPYDER_KERNELS_MAX_VERSION) SPYDER_KERNELS_CONDA = ( - f'conda install spyder-kernels={SPYDER_KERNELS_MIN_VERSION[:-2]}') + f'conda install spyder-kernels={SPYDER_KERNELS_MIN_VERSION[:-2]}') SPYDER_KERNELS_PIP = ( - f'pip install spyder-kernels=={SPYDER_KERNELS_MIN_VERSION[:-1]}*') + f'pip install spyder-kernels=={SPYDER_KERNELS_MIN_VERSION[:-1]}*') class IPythonConsoleWidgetActions: