akernel 0.3.3__tar.gz → 0.3.4__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.
- {akernel-0.3.3 → akernel-0.3.4}/PKG-INFO +1 -1
- {akernel-0.3.3 → akernel-0.3.4}/plugins/akernel_task/fps_akernel_task/akernel_task.py +2 -1
- {akernel-0.3.3 → akernel-0.3.4}/plugins/akernel_task/pyproject.toml +3 -3
- {akernel-0.3.3 → akernel-0.3.4}/pyproject.toml +1 -1
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/message.py +1 -1
- {akernel-0.3.3 → akernel-0.3.4}/.github/workflows/main.yml +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/.pre-commit-config.yaml +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/LICENSE +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/MANIFEST.in +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/README.md +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/binder/environment.yml +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/binder/postBuild +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/examples/concurrency.ipynb +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/examples/reactivity.ipynb +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/plugins/akernel_task/LICENSE +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/plugins/akernel_task/README.md +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/plugins/akernel_task/fps_akernel_task/__init__.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/plugins/akernel_task/fps_akernel_task/main.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/plugins/akernel_task/fps_akernel_task/py.typed +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/share/jupyter/kernels/akernel/kernel.json +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/IPython/__init__.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/IPython/core/__init__.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/IPython/core/getipython.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/IPython/core/interactiveshell.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/__init__.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/akernel.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/cache.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/code.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/comm/__init__.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/comm/comm.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/comm/manager.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/connect.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/display/__init__.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/display/display.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/execution.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/kernel.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/kernelspec.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/src/akernel/traceback.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/tests/conftest.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/tests/test_async_code.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/tests/test_execution.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/tests/test_kernel.py +0 -0
- {akernel-0.3.3 → akernel-0.3.4}/tests/test_react_code.py +0 -0
|
@@ -13,7 +13,6 @@ class AKernelTask(_Kernel):
|
|
|
13
13
|
|
|
14
14
|
async def start(self, *, task_status: TaskStatus[None] = TASK_STATUS_IGNORED) -> None:
|
|
15
15
|
async with (
|
|
16
|
-
create_task_group() as self.task_group,
|
|
17
16
|
self._to_shell_send_stream,
|
|
18
17
|
self._to_shell_receive_stream,
|
|
19
18
|
self._from_shell_send_stream,
|
|
@@ -28,6 +27,7 @@ class AKernelTask(_Kernel):
|
|
|
28
27
|
self._from_stdin_receive_stream,
|
|
29
28
|
self._from_iopub_send_stream,
|
|
30
29
|
self._from_iopub_receive_stream,
|
|
30
|
+
create_task_group() as self.task_group,
|
|
31
31
|
):
|
|
32
32
|
self.kernel = Kernel(
|
|
33
33
|
self._to_shell_receive_stream,
|
|
@@ -40,6 +40,7 @@ class AKernelTask(_Kernel):
|
|
|
40
40
|
)
|
|
41
41
|
self.task_group.start_soon(self.kernel.start)
|
|
42
42
|
task_status.started()
|
|
43
|
+
self.started.set()
|
|
43
44
|
await sleep_forever()
|
|
44
45
|
|
|
45
46
|
async def stop(self) -> None:
|
|
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "fps_akernel_task"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "An FPS plugin for the kernel task API"
|
|
9
9
|
keywords = ["jupyter", "server", "fastapi", "plugins"]
|
|
10
10
|
requires-python = ">=3.9"
|
|
11
11
|
dependencies = [
|
|
12
|
-
"jupyverse-api >=0.10.
|
|
12
|
+
"jupyverse-api >=0.10.1,<0.11.0",
|
|
13
13
|
"anyio",
|
|
14
|
-
"akernel",
|
|
14
|
+
"akernel >=0.3.4",
|
|
15
15
|
]
|
|
16
16
|
|
|
17
17
|
[[project.authors]]
|
|
@@ -28,7 +28,7 @@ def utcnow() -> datetime:
|
|
|
28
28
|
|
|
29
29
|
def feed_identities(msg_list: list[bytes]) -> tuple[list[bytes], list[bytes]]:
|
|
30
30
|
idx = msg_list.index(DELIM)
|
|
31
|
-
idents = msg_list[:idx] or ["foo"]
|
|
31
|
+
idents = msg_list[:idx] or [b"foo"]
|
|
32
32
|
return idents , msg_list[idx + 1 :] # noqa
|
|
33
33
|
|
|
34
34
|
|
|
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
|