txl_kernel 0.3.10__tar.gz → 0.3.12__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.
- {txl_kernel-0.3.10 → txl_kernel-0.3.12}/PKG-INFO +3 -3
- {txl_kernel-0.3.10 → txl_kernel-0.3.12}/pyproject.toml +2 -2
- {txl_kernel-0.3.10 → txl_kernel-0.3.12}/txl_kernel/driver.py +2 -1
- {txl_kernel-0.3.10 → txl_kernel-0.3.12}/.gitignore +0 -0
- {txl_kernel-0.3.10 → txl_kernel-0.3.12}/LICENSE.txt +0 -0
- {txl_kernel-0.3.10 → txl_kernel-0.3.12}/README.md +0 -0
- {txl_kernel-0.3.10 → txl_kernel-0.3.12}/txl_kernel/__init__.py +0 -0
- {txl_kernel-0.3.10 → txl_kernel-0.3.12}/txl_kernel/message.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: txl_kernel
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
4
4
|
Summary: TXL plugin for a kernel driver
|
|
5
5
|
Project-URL: Source, https://github.com/davidbrochart/jpterm/tree/main/plugins/kernel
|
|
6
6
|
Author-email: David Brochart <david.brochart@gmail.com>
|
|
@@ -16,9 +16,9 @@ Classifier: Programming Language :: Python :: 3.15
|
|
|
16
16
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
17
17
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
18
18
|
Requires-Python: >=3.11
|
|
19
|
-
Requires-Dist: pycrdt<0.15.0,>=0.14.
|
|
19
|
+
Requires-Dist: pycrdt<0.15.0,>=0.14.10
|
|
20
20
|
Requires-Dist: python-dateutil>=2.8.2
|
|
21
|
-
Requires-Dist: txl==0.3.
|
|
21
|
+
Requires-Dist: txl==0.3.5
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
24
|
# TXL plugin for a kernel driver
|
|
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "txl_kernel"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.12"
|
|
8
8
|
description = "TXL plugin for a kernel driver"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
11
11
|
license = "MIT"
|
|
12
12
|
keywords = []
|
|
13
13
|
classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.15", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy",]
|
|
14
|
-
dependencies = [ "txl ==0.3.
|
|
14
|
+
dependencies = [ "txl ==0.3.5", "python-dateutil >=2.8.2", "pycrdt >=0.14.10,<0.15.0",]
|
|
15
15
|
[[project.authors]]
|
|
16
16
|
name = "David Brochart"
|
|
17
17
|
email = "david.brochart@gmail.com"
|
|
@@ -63,7 +63,6 @@ class KernelMixin:
|
|
|
63
63
|
msg_id=str(self.msg_cnt),
|
|
64
64
|
)
|
|
65
65
|
self.msg_cnt += 1
|
|
66
|
-
await self.send_message(msg, self.shell_channel, change_date_to_str=True)
|
|
67
66
|
msg_id = msg["header"]["msg_id"]
|
|
68
67
|
self.execute_requests[msg_id] = {
|
|
69
68
|
"iopub": StapledObjectStream(
|
|
@@ -73,6 +72,7 @@ class KernelMixin:
|
|
|
73
72
|
*create_memory_object_stream[Any](max_buffer_size=math.inf)
|
|
74
73
|
),
|
|
75
74
|
}
|
|
75
|
+
await self.send_message(msg, self.shell_channel, change_date_to_str=True)
|
|
76
76
|
with move_on_after(new_timeout) as scope:
|
|
77
77
|
msg = await self.execute_requests[msg_id]["shell"].receive()
|
|
78
78
|
if scope.cancelled_caught:
|
|
@@ -83,6 +83,7 @@ class KernelMixin:
|
|
|
83
83
|
with move_on_after(0.2) as scope:
|
|
84
84
|
msg = await self.execute_requests[msg_id]["iopub"].receive()
|
|
85
85
|
if not scope.cancelled_caught:
|
|
86
|
+
del self.execute_requests[msg_id]
|
|
86
87
|
break
|
|
87
88
|
del self.execute_requests[msg_id]
|
|
88
89
|
new_timeout = deadline_to_timeout(deadline)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|