Skip to content
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

Implement async Event Loop w/ipykernel==7.0.0 alpha #7

Open
so-rose opened this issue Feb 23, 2025 · 0 comments
Open

Implement async Event Loop w/ipykernel==7.0.0 alpha #7

so-rose opened this issue Feb 23, 2025 · 0 comments
Labels
architecture Related to big-picture internal design of the project. bug Something that isn't working the way that it was intended to work. enhancement A smaller piece of new functionality, strongly related to existing features. upstream Related to an upstream repository.
Milestone

Comments

@so-rose
Copy link
Collaborator

so-rose commented Feb 23, 2025

We have a lot of issues and bugs with dangling sockets, etc. right now, when restarting the kernel in Blender.

Luckily, upstream seems to have fixed this somewhat: The new version of ipykernel, which currently has an alpha, will be implemented using an async event loop.

Our task is then to implement a clean async event loop for Blender (using a modal operator; it's been done before), then use this event loop to more cleanly allow the new ipykernel to run without the rather nasty hacks we use currently. Notably, a stop() method is now available.

When ipykernel==7.0.0 actually releases, it should of course be migrated to.

@so-rose so-rose added architecture Related to big-picture internal design of the project. bug Something that isn't working the way that it was intended to work. enhancement A smaller piece of new functionality, strongly related to existing features. upstream Related to an upstream repository. labels Feb 23, 2025
@so-rose so-rose added this to the 0.3.0 milestone Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Related to big-picture internal design of the project. bug Something that isn't working the way that it was intended to work. enhancement A smaller piece of new functionality, strongly related to existing features. upstream Related to an upstream repository.
Projects
None yet
Development

No branches or pull requests

1 participant