-
Notifications
You must be signed in to change notification settings - Fork 56
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
Issue with typing.AscyncGenerator for python 3.6.0 #118
Comments
Hi @esvhd, thanks for opening an issue. I can reproduce the bug, but unfortunately fixing it in nbclient won't be enough since prompt-toolkit also has the issue, and they require python>=3.6.1 for that reason. Out of curiosity, what version of prompt-toolkit do you have? |
Hi @davidbrochart , thanks for taking the time to look at this. I'm using |
I see, I think they didn't have type checking yet in this version, so I guess that a fix in nbclient would work for you. Unfortunately I couldn't find a nice way to ignore the |
Thanks!
…Sent from my iPad
On 2 Nov 2020, at 22:04, David Brochart ***@***.***> wrote:
I see, I think they didn't have type checking yet in this version, so I guess that a fix in nbclient would work for you. Unfortunately I couldn't find a nice way to ignore the AsyncGenerator return type of async_setup_kernel depending on the python version.
#119 just removes the type. On the other hand, I'm not sure having this return type is of great value. So if nobody has an objection, I will go ahead and merge it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
cc @MSeal @SylvainCorlay |
I'd prefer we require |
Same. 3.6.0 will also have outstanding security issues... |
Sorry @esvhd, we won't support python 3.6.0 anymore. |
Hi there,
I upgraded to
nbconvert 6.0.7
from from5.6.1
recently, so as part of that I installednbclient 0.5.1
.I'm running python 3.6.0 on this machine. After the upgraded I started getting these errors when I tried to start a notebook (500, internal error page):
If I revert back to
nbconvert 5.6.1
life is back to normal again, notebooks can be opened.On another machine with python 3.7, I do not see this issue. This might be specifically related to
python 3.6.0
.Unfortunately I couldn't upgrade the machine to 3.7 easily... Any idea how / why this was happening to 3.6.0?
Thanks.
The text was updated successfully, but these errors were encountered: