ipykernel
ipykernel copied to clipboard
IPython Kernel for Jupyter
With the latest version of ipykernel 6.28.0v, jupyter notebook cell after the asyncio.run() is not completing its execution. I'm running it on Windows and ProactorEventLoop was enabled on Windows for...
Below, I'm making suggestions (A)-(E) how I think cell magic could be made even better. If people generally think these are good ideas, I'd try and make a PR. First,...
Latest [github action run](https://github.com/ipython/ipykernel/actions/runs/7482330236) failing for `test_without_debugpy` with `INTERNALERROR> Skipped: could not import 'debugpy': No module named 'debugpy'` and on Windows with `INTERNALERROR> Skipped: skipping tests on windows`. I can...
As per discussion in JupyterLab there seems to be a consensus to propose that ipykernel switches the svg icon to the one used in JupyterLab. Originally reported and discussed in...
This issue was first documented [here](https://github.com/jupyter/notebook/issues/1622). I'm going to copy the initial issue comment since it displays a good example.  It turns out that it works well (the last...
Hello, I was successfully using in process embedded QtConsole example in [my app](https://github.com/SciQLop/SciQLop/blob/main/SciQLop/widgets/console.py). Now, I want to allow jupyter notebooks to connect to my app kernel, so I switched to...
I'm implementing a kernel by inheriting from `ipykernel.kernelbase.Kernel`, as described at [Making simple Python wrapper kernels](https://jupyter-client.readthedocs.io/en/latest/wrapperkernels.html). My `do_execute` method passes code to an external interpreter implemented in a Python module,...
I identified a kernel hang when calling the python logging facility under certain circumstances. The hang is specific for usage of function in jupyter, i.e. it does not happen in...
The test [test_outstream](https://github.com/ipython/ipykernel/blob/83ab7d02958f8134ddabf9d2722c222eaab041d4/tests/test_io.py#L112) reveals a bug when calling `stream._watch_pipe_fd()` (see the [logs](https://github.com/ipython/ipykernel/actions/runs/6624792125/job/17994499322?pr=1159#step:4:40)): ``` Traceback (most recent call last): File "/home/runner/work/ipykernel/ipykernel/ipykernel/iostream.py", line 388, in _watch_pipe_fd bts = os.read(self._fid, PIPE_BUFFER_SIZE) AttributeError: 'OutStream'...
# Summary If one of the files in your `~/.ipython/profile_default/startup` throws an exception, then any other file that executes later (i.e. is lexicographically higher, because startup scripts are executed in...