-
-
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: Add support for Jupyter-client >= 7 #16644
Conversation
Hello @bnavigator! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-11-22 19:59:32 UTC |
Hey @bnavigator, thanks a lot for your help with this! A couple of comments:
|
I think this is ready. I reverted the "test commits", which force jupyter_client 7 and clone the subrepo from spyder-ide/spyder-kernels#328. The checks on 46556ad show that it works. (The Mac App Bundle error looks unrelated) |
Thanks @bnavigator for your help!
I think you should remove them and leave commit 46556ad as the last one on this PR, so that we continue our testing with Jupyter-client 7.
Please merge with the latest 5.x or rebase on top of it to get the fixes for that. |
By the way, I'm a bit worried about issue jupyter/jupyter_client#715 because on Windows kernels take a long time to start (I've seen them take up to a minute to do it). So, we'll have to wait until it's fixed (there's a PR for that already). After that is part of an official release, I think we can merge this. |
…spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "e009d4ca4" upstream: origin: "git@github.com:bnavigator/spyder-kernels.git" branch: "client7" commit: "e009d4ca4" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
Yeah, that's idea. Since version 7 is so different from the previous ones, we need to be aware when new releases break us. |
Sure. But it means you definitely need spyder-kernels updated. And you probably want to use your own branch instead of the PR eventually. |
I understand your concern now. That's why:
|
branch = 2.x | ||
commit = ac40350c9260e2e5d73f0fc3f8a9cc15da8d8a03 | ||
parent = 01421c2ae26c7a3861fc4c912f295f9f2b2c1c1f | ||
branch = client7 |
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.
I mean, you probably don't want to merge while this is referenced.
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.
Right, I'll merge your corresponding PR in spyder-kernels first, then ask you to resync our subrepo here, then merge.
The process is explained in our contributing guide.
…tor/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "1d139d378" upstream: origin: "https://github.com/bnavigator/spyder-kernels.git" branch: "client7" commit: "1d139d378" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596"
@bnavigator, I updated your PR in spyder-kernels and this one in order to merge them for Spyder 5.2.0 (to be released on Wednesday). I was not planning to do that, but our tests in spyder-kernels are constantly failing now with jupyter_client 6.1.12, so this is a necessity. Sorry for the rush and hope it's ok for you. |
…der-ide/spyder-kernels.git external-deps/spyder-kernels subrepo: subdir: "external-deps/spyder-kernels" merged: "ed74365a0" upstream: origin: "https://github.com/spyder-ide/spyder-kernels.git" branch: "2.x" commit: "ed74365a0" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" [ci skip]
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 @bnavigator! I really appreciate your help with this.
Description of Changes
Follow-up on spyder-ide/spyder-kernels#328
Fixes #16762.
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: @bnavigator