-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Test downstream projects #635
Conversation
I think it comes from here: ipykernel/ipykernel/comm/comm.py Line 69 in 5d21c8f
I don't know ipykernel, but it looks like we should choose a channel here, e.g.: parent=self.kernel._parent_header["shell"] |
The last commit seems to fix this issue, but now there are other errors:
It looks like the cell "file name" changed, and that is reflected in the traceback. |
This comment has been minimized.
This comment has been minimized.
7a45135
to
450499b
Compare
Release 6.0.0a4 with the latest fixes. It may be interesting to rebase this on master. |
8e4bef6
to
6ab9395
Compare
This comment has been minimized.
This comment has been minimized.
These are expected changes due to the debugger support, which makes the traceback message a little bit different wrt filenames. |
5adbe57
to
8c67a40
Compare
It would be good to support passing a path, e.g. |
81a1077
to
2940c95
Compare
Indeed there are some test failures in ipyparallel. I don't know if these failures already occur with ipykernel stable. cc @minrk |
I just tested ipykernel master with nbclient, and there are
|
2940c95
to
749e144
Compare
Rebased on 6.0.0a6. |
For ipyparallel, can you test I think I recall seeing a parent-header-related issue when I had master of ipykernel installed locally, relating to parent headers and the output widget, I believe. Not sure if that would be covered by widgets tests |
2800cce
to
fa02c50
Compare
Now testing We are seeing the same failure as previously, with |
This is not random at all, the pattern is |
I've tracked down the abort test to the fact that the debugger is not enabled and the control thread is not running in ipyparallel, which is the default behavior of the Kernel object. The result is that control thread priority is not preserved, and the shell channel can now starve the control channel (rather than the other way around, which is the prior and correct behavior). I think this is an issue, and just need to consider options:
I'll try to figure out what's involved in each and what makes the most sense. I'm guessing for maintenance purposes, ensuring the control thread is running might actually be the simplest way to go since there won't be two different ways for control and shell queues to interact. |
Looks like some jupyter_client tests fail. |
9e2e0fc
to
27a2082
Compare
Kicking CI |
This is passing now, ready for review? |
I'm not sure we want to test ipykernel master with downstream packages' master, otherwise it might fail quite often. |
27a2082
to
a1aa247
Compare
I am in favor of merging this - even with an allow-failure tag, so that we are aware of unintentional breakage in ipykernel's API. @davidbrochart Do you know the reason for the remaining failure? |
The remaining failures are in ipyparallel: |
I think this is now ready to be (squashed and) merged. |
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.
Excellent, thank you!
It looks like ipykernel master breaks nbclient. I reproduced locally and I can see messages like:
where
...
is a regular message (with itsheader
and so on).Any idea where this could come from?