ipykernel
ipykernel copied to clipboard
IPython Kernel for Jupyter
Downstream users have requested wether we can do alpha to test new features (even if unstable). I think we should also have nightly on [scientific Python anaconda index](https://anaconda.org/scientific-python-nightly-wheels/)
If errors are raised in the new async code, as I'm seeing in trying to update IPython Parallel to the new async APIs, there is often no indication of a...
all sockets are explicitly sync until/except we are in the coroutines that will await them, whereas there was an ambiguous mixture of sync and async sockets before - consistent behavior...
the switch from ZMQStream to async Socket in #1079 has resulted in always receiving all messages with `copy=True`, but there are [checks](https://github.com/ipython/ipykernel/blob/a991039a2e25493bf11744688aedb490e00719b1/ipykernel/kernelbase.py#L277) for `isinstance(always_bytes_object, zmq.Message)` which always results in `copy=True`....
Otherwise the types annotations are less usefull, even with ruff. Ignore/fix types errors. Also the mypy config was way to lax, ignoring errors project wide intead of per-file. This make...
Hi there, I've come across an infinite loop inside ipykernel which I can reliably reproduce when using multiple `concurrent.futures.ThreadPoolExecutor`s inside a notebook with ipykernel >= 6.29.0. This results in the...
updates: - [github.com/python-jsonschema/check-jsonschema: 0.32.1 → 0.33.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.32.1...0.33.1) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.16.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.15.0...v1.16.1) - [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.12.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.4...v0.12.0) - [github.com/scientific-python/cookie: 2025.01.22 → 2025.05.02](https://github.com/scientific-python/cookie/compare/2025.01.22...2025.05.02)
This PR modifies the kernel to run exec_requests inside a task using [Memory object streams](https://anyio.readthedocs.io/en/stable/streams.html#memory-object-streams) to queue pending tasks. This means that other shell messages can be processed while the...