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

Small bugs in kernel update error screen #17425

Closed
nc011 opened this issue Mar 2, 2022 · 2 comments
Closed

Small bugs in kernel update error screen #17425

nc011 opened this issue Mar 2, 2022 · 2 comments

Comments

@nc011
Copy link

nc011 commented Mar 2, 2022

Issue is raised in #17353 with updating spyder-kernel in custom environments.

Putting aside the fact that Anaconda doesn't have that version of spyder-kernels yet... there are still two small bugs here on the error screen.

Firstly, if the required version is 2.2.1, then the error should say 2.2.1 needs installing (not 2.2). Installing 2.2 as suggested still results in the same error which coud be confusing for the user.

Secondly the dash in conda install spyder‑kernels=2.2 doesn't copy in to a Windows terminal correctly (displays a question mark inside a box). A font issue?

@ccordoba12
Copy link
Member

ccordoba12 commented Mar 3, 2022

Hey @Caseyb87, thanks for reporting. You said:

Firstly, if the required version is 2.2.1, then the error should say 2.2.1 needs installing (not 2.2). Installing 2.2 as suggested still results in the same error which coud be confusing for the user.

It clearly says so (look at the third line):

image

I know the command is

conda install spyder‑kernels=2.2

not

conda install spyder‑kernels=2.2.1

as you suggest, but that's necessary to install any 2.2 version (i.e. 2.2.0, 2.2.1, 2.2.2, etc). compatible with the current Spyder one. In this case, 2.2.0 should be compatible with Spyder 5.2.2, but we had to increase that requirement to fix some serious bugs with Matplotlib.

At the end, I'd say this problem has more to do with Anaconda than Spyder, because it takes them a really long time to update Spyder and spyder-kernels. So 2.2.0 is already available, but then 2.2.1 was released more than a month ago and it hasn't been uploaded yet. We know that's a huge inconvenience for our users, but we can't do anything about it because it's up to them really.

Secondly the dash in conda install spyder‑kernels=2.2 doesn't copy in to a Windows terminal correctly (displays a question mark inside a box). A font issue?

No, that's an escaped html dash (not the one you get with your keyboard), so we can display it correctly in that message. I didn't know people was copy/pasting directly to their console. We'll see what we can do about it.

@ccordoba12
Copy link
Member

@dalthviz, please take a look at this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants