Skip to content

Conversation

@ianthomas23
Copy link
Collaborator

Cannot set threading.Thread._context in Python 3.14 as it is used for a new context argument passed to the constructor. Hence here changing use of ShellChannelThread._context to ShellChannelThread._zmq_context instead.

Fixes #1445.

@ianthomas23 ianthomas23 force-pushed the avoid-override-thread-context branch from c035a4d to 1ff11b6 Compare October 14, 2025 15:12
@ianthomas23
Copy link
Collaborator Author

This is mostly working now. The failures look the same as on the 6.x branch for python 3.14. They are real issues that need fixing, but I'd like to release 7.0.1 as soon as possible with this and #1448 to avoid annoying python 3.14 users any more.

@ianthomas23
Copy link
Collaborator Author

Evidence that this works locally for me using python 3.14:

Screenshot 2025-10-14 at 16 22 58

@ianthomas23 ianthomas23 merged commit 6d9a14a into ipython:main Oct 14, 2025
57 of 72 checks passed
@ianthomas23 ianthomas23 deleted the avoid-override-thread-context branch October 14, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] In version 7.0.0, on executing a cell, the kernel status is stuck at connecting indefinitely.

1 participant