-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: Improve validation for the right Spyder-kernels version #19074
PR: Improve validation for the right Spyder-kernels version #19074
Conversation
…s://github.com/impact27/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "2dd5ad293" upstream: origin: "https://github.com/impact27/spyder-kernels.git" branch: "expose_spyder_kernels_version" commit: "2dd5ad293" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @impact27 for your work on this! I think it's a really good improvement because it'll allow us to easily check that users have the right Spyder-kernels version for remote kernels.
Co-authored-by: Carlos Cordoba <[email protected]>
….com/impact27/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "12d8b1183" upstream: origin: "https://github.com/impact27/spyder-kernels.git" branch: "add_executable_path" commit: "12d8b1183" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2"
e5299f9
to
b978703
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @impact27 for the update! It looks much better now.
…spyder-ide/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "8386ef242" upstream: origin: "https://github.com/spyder-ide/spyder-kernels.git" branch: "master" commit: "8386ef242" git-subrepo: version: "0.4.1" origin: "https://github.com/ingydotnet/git-subrepo" commit: "a04d8c2"
Co-authored-by: Carlos Cordoba <[email protected]>
@impact27, there's a small regression with respect to the current functionality. If Spyder-kernels is not installed in an environment, users would see this message with your PR: But this is what they see with the code in master: Is there a way to preserve this behavior? Perhaps we could catch the |
Hello @impact27! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2022-08-25 02:28:08 UTC |
402ed63
to
436bba9
Compare
436bba9
to
5a5ae2b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last stylistic suggestions then this should be ready @impact27 (unless, of course, you plan to make further changes).
Co-authored-by: Carlos Cordoba <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @impact27! This is a pretty nice improvement!
Description of Changes
If the version of spyder and spyder kernels doesn't match, the user will see many errors. This PR show an error if spyder-kernels has an incompatible version.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: