Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Update core dependencies for Spyder 5.0.0 #15083

Merged
merged 1 commit into from
Apr 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion spyder/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions spyder/plugins/ipythonconsole/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <tt>spyder-kernels</tt> 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.<br><br>"
"You can install it by running in a system terminal:"
Expand Down