async-kernel 0.16.2__tar.gz → 0.16.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {async_kernel-0.16.2 → async_kernel-0.16.3}/CHANGELOG.md +11 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/PKG-INFO +1 -1
- {async_kernel-0.16.2 → async_kernel-0.16.3}/_version.py +2 -2
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/kernel.py +2 -2
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.github/dependabot.yaml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.github/release.yml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.github/workflows/ci.yml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.github/workflows/enforce-label.yml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.github/workflows/new_release.yml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.github/workflows/pre-commit.yml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.github/workflows/publish-docs.yml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.github/workflows/publish-to-pypi.yml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.gitignore +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.pre-commit-config.yaml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.vscode/launch.json +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.vscode/settings.json +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/.vscode/spellright.dict +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/CONTRIBUTING.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/IPYTHON_LICENSE +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/LICENSE +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/README.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/cliff.toml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/about/changelog.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/about/contributing.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/about/index.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/about/license.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/index.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/javascripts/extra.js +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/notebooks/caller.ipynb +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/notebooks/concurrency.ipynb +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/overrides/main.html +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/asyncshell.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/caller.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/comm.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/command.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/common.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/debugger.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/event_loop.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/index.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/interface.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/kernel.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/kernelspec.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/pending.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/typing.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/reference/utils.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/stylesheets/extra.css +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/thread_safety.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/usage/commands.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/docs/usage/index.md +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/hatch_build.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/mkdocs.yml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/pyproject.toml +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/__init__.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/__main__.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/asyncshell.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/caller.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/comm.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/command.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/common.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/compat/json.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/compiler.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/debugger.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/event_loop/__init__.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/event_loop/asyncio_guest.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/event_loop/qt_host.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/event_loop/run.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/event_loop/tk_host.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/interface/__init__.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/interface/base.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/interface/callable.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/interface/zmq.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/iostream.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/kernelspec.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/pending.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/py.typed +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/resources/logo-32x32.png +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/resources/logo-64x64.png +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/resources/logo-svg.svg +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/typing.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/src/async_kernel/utils.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/__init__.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/conftest.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/references.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_callable_kernel_interface.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_caller.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_comm.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_command.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_common.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_compat.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_debugger.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_enter_kernel.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_event_loop.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_iostream.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_kernel.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_kernel_subclass.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_kernelspec.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_message_spec.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_pending.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_typing.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_utils.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/test_zmq_messaging.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/tests/utils.py +0 -0
- {async_kernel-0.16.2 → async_kernel-0.16.3}/uv.lock +0 -0
|
@@ -5,12 +5,22 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.16.3] - 2026-04-12
|
|
9
|
+
|
|
10
|
+
### <!-- 6 --> 🌀 Miscellaneous
|
|
11
|
+
|
|
12
|
+
- Run comm_open and com_close message handlers in the shell thread. [#426](https://github.com/fleming79/async-kernel/pull/426)
|
|
13
|
+
|
|
8
14
|
## [0.16.2] - 2026-04-12
|
|
9
15
|
|
|
10
16
|
### <!-- 1 --> 🚀 Features
|
|
11
17
|
|
|
12
18
|
- Provide async line magic support [#424](https://github.com/fleming79/async-kernel/pull/424)
|
|
13
19
|
|
|
20
|
+
### <!-- 6 --> 🌀 Miscellaneous
|
|
21
|
+
|
|
22
|
+
- Prepare for release v0.16.2 [#425](https://github.com/fleming79/async-kernel/pull/425)
|
|
23
|
+
|
|
14
24
|
## [0.16.1] - 2026-04-08
|
|
15
25
|
|
|
16
26
|
### <!-- 1 --> 🚀 Features
|
|
@@ -1165,6 +1175,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1165
1175
|
|
|
1166
1176
|
- Bump the actions group across 1 directory with 2 updates [#3](https://github.com/fleming79/async-kernel/pull/3)
|
|
1167
1177
|
|
|
1178
|
+
[0.16.3]: https://github.com/fleming79/async-kernel/compare/v0.16.2..v0.16.3
|
|
1168
1179
|
[0.16.2]: https://github.com/fleming79/async-kernel/compare/v0.16.1..v0.16.2
|
|
1169
1180
|
[0.16.1]: https://github.com/fleming79/async-kernel/compare/v0.16.0..v0.16.1
|
|
1170
1181
|
[0.16.0]: https://github.com/fleming79/async-kernel/compare/v0.15.0..v0.16.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: async-kernel
|
|
3
|
-
Version: 0.16.
|
|
3
|
+
Version: 0.16.3
|
|
4
4
|
Summary: A concurrent python kernel for Jupyter supporting AnyIO, AsyncIO and Trio.
|
|
5
5
|
Project-URL: Homepage, https://fleming79.github.io/async-kernel
|
|
6
6
|
Project-URL: Documentation, https://fleming79.github.io/async-kernel
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.16.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 16,
|
|
21
|
+
__version__ = version = '0.16.3'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 16, 3)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -46,7 +46,7 @@ if TYPE_CHECKING:
|
|
|
46
46
|
|
|
47
47
|
__all__ = ["Kernel", "KernelInterrupt"]
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
RUN_IN_SHELL_THREAD = (MsgType.execute_request, MsgType.comm_msg, MsgType.comm_open, MsgType.comm_close)
|
|
50
50
|
"""
|
|
51
51
|
Shell message types that are handled in the shell's thread (typically the _MainThread_).
|
|
52
52
|
|
|
@@ -435,7 +435,7 @@ class Kernel(traitlets.HasTraits, anyio.AsyncContextManagerMixin):
|
|
|
435
435
|
handler = self._get_handler(subshell_id, msg_type, send_reply)
|
|
436
436
|
run_mode = self._get_run_mode(msg_type, job)
|
|
437
437
|
caller = self.callers[channel]
|
|
438
|
-
if channel is Channel.shell and msg_type not in
|
|
438
|
+
if channel is Channel.shell and msg_type not in RUN_IN_SHELL_THREAD:
|
|
439
439
|
caller = self.callers[Channel.control]
|
|
440
440
|
# Schedule job
|
|
441
441
|
match run_mode:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|