From c754774ba524effdb0859c01a311294881d4cd78 Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Thu, 1 Apr 2021 21:23:48 -0500 Subject: [PATCH] Update core dependencies --- setup.py | 2 +- spyder/dependencies.py | 2 +- spyder/plugins/ipythonconsole/plugin.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index ab6a634913c..af366ed5bde 100644 --- a/setup.py +++ b/setup.py @@ -236,7 +236,7 @@ def run(self): 'qtpy>=1.5.0', 'setuptools>=39.0.0', 'sphinx>=0.6.6', - 'spyder-kernels>=1.10.2,<1.11.0', + 'spyder-kernels>=2.0.0,<2.1.0', 'textdistance>=4.2.0', 'three-merge>=0.1.1', 'watchdog>=0.10.3,<2.0.0' diff --git a/spyder/dependencies.py b/spyder/dependencies.py index c0441ec78b2..5957866e816 100644 --- a/spyder/dependencies.py +++ b/spyder/dependencies.py @@ -63,7 +63,7 @@ RTREE_REQVER = '>=0.8.3' SETUPTOOLS_REQVER = '>=39.0.0' SPHINX_REQVER = '>=0.6.6' -SPYDER_KERNELS_REQVER = '>=2.0.0dev0' +SPYDER_KERNELS_REQVER = '>=2.0.0,<2.1.0' TEXTDISTANCE_REQVER = '>=4.2.0' THREE_MERGE_REQVER = '>=0.1.1' # None for pynsist install for now diff --git a/spyder/plugins/ipythonconsole/plugin.py b/spyder/plugins/ipythonconsole/plugin.py index b1a805b1554..e474b69d718 100644 --- a/spyder/plugins/ipythonconsole/plugin.py +++ b/spyder/plugins/ipythonconsole/plugin.py @@ -988,12 +988,12 @@ def create_new_client(self, give_focus=True, filename='', is_cython=False, has_spyder_kernels = programs.is_module_installed( 'spyder_kernels', interpreter=pyexec, - version='>=1.10.0;<1.11.0') + version='>=2.0.0;<2.1.0') if not has_spyder_kernels and not running_under_pytest(): client.show_kernel_error( _("Your Python environment or installation doesn't have " "the spyder-kernels module or the right " - "version of it installed (>= 1.10.0 and < 1.11.0). " + "version of it installed (>= 2.0.0 and < 2.1.0). " "Without this module is not possible for Spyder to " "create a console for you.

" "You can install it by running in a system terminal:"