Enable ProactorEventLoop on windows for ipykernel#1469
Enable ProactorEventLoop on windows for ipykernel#1469NewUserHa wants to merge 7 commits intoipython:mainfrom
Conversation
|
Hello @NewUserHa, Thanks for your work here! Dear @ianthomas23, Is it possible to get this merged on the next release? It is really important for Windows users, as current solution creates incompatibilities between libraries. Thank you! |
|
@ZupoLlask It is not passing CI, so of course it will not be merged. |
|
@NewUserHa Can you please have a look at this? TY |
|
I have no idea how this occur. this modification works in previous versions of ipython |
37bad2c to
903b031
Compare
|
the |
|
@NewUserHa There were some problems with the CI that I think I have now fixed, so can you rebase this on |
…on windows Removed the _init_asyncio_patch method and its calls.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
|
PR modified:
current:
|
|
Thank you @NewUserHa! Let's wait and see if @ianthomas23 can help a bit here... 🙏 |
I can, but it will be next week now. |
|
I've taken a look but I am not there is anything I can add here. I notice that most of the eventloops testing is disabled on windows, e.g. ipykernel/tests/test_eventloop.py Lines 86 to 87 in 770afbe so this has evidently been a problematic area in the past. |
|
ipykernel/tests/test_eventloop.py Lines 86 to 87 in 770afbe it should have no problem, since the difference between proactor and selector is add_reader() only mostly.
However, the debugpy can't debug ipyknerel and the test, reporting And the ipykernel's class IOPub starts a thread for tornado's class IOloop, while tornado >6.1 version starts a thread for proactor on windows as well, while pyzmq uses tornado's AsyncIOloop to start a thread also. |
see #1468