txl-kernel 0.2.14__tar.gz → 0.2.15__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.
@@ -1,21 +1,21 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: txl_kernel
3
- Version: 0.2.14
3
+ Version: 0.2.15
4
4
  Summary: TXL plugin for a kernel driver
5
5
  Project-URL: Source, https://github.com/davidbrochart/jpterm/plugins/kernel
6
6
  Author-email: David Brochart <david.brochart@gmail.com>
7
- License-Expression: MIT
8
- License-File: LICENSE.txt
7
+ License: MIT
9
8
  Classifier: Development Status :: 4 - Beta
10
9
  Classifier: Programming Language :: Python
11
10
  Classifier: Programming Language :: Python :: 3.10
12
11
  Classifier: Programming Language :: Python :: 3.11
13
12
  Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
14
  Classifier: Programming Language :: Python :: Implementation :: CPython
15
15
  Classifier: Programming Language :: Python :: Implementation :: PyPy
16
16
  Requires-Python: >=3.10
17
17
  Requires-Dist: asphalt<5.0.0,>=4.0.0
18
- Requires-Dist: pycrdt<0.9.0,>=0.8.11
18
+ Requires-Dist: pycrdt<0.11.0,>=0.10.9
19
19
  Requires-Dist: python-dateutil>=2.8.2
20
20
  Requires-Dist: txl<0.3.0,>=0.2.18
21
21
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "txl_kernel"
7
- version = "0.2.14"
7
+ version = "0.2.15"
8
8
  description = "TXL plugin for a kernel driver"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -19,6 +19,7 @@ classifiers = [
19
19
  "Programming Language :: Python :: 3.10",
20
20
  "Programming Language :: Python :: 3.11",
21
21
  "Programming Language :: Python :: 3.12",
22
+ "Programming Language :: Python :: 3.13",
22
23
  "Programming Language :: Python :: Implementation :: CPython",
23
24
  "Programming Language :: Python :: Implementation :: PyPy",
24
25
  ]
@@ -26,7 +27,7 @@ dependencies = [
26
27
  "txl >=0.2.18,<0.3.0",
27
28
  "asphalt >=4.0.0,<5.0.0",
28
29
  "python-dateutil >=2.8.2",
29
- "pycrdt >=0.8.11,<0.9.0",
30
+ "pycrdt >=0.10.9,<0.11.0",
30
31
  ]
31
32
 
32
33
  [project.urls]
@@ -175,27 +175,18 @@ class KernelMixin:
175
175
  content = msg["content"]
176
176
  if msg_type == "stream":
177
177
  with outputs.doc.transaction():
178
- # TODO: uncomment when changes are made in jupyter-ydoc
179
178
  if (not outputs) or (outputs[-1]["name"] != content["name"]): # type: ignore
180
179
  outputs.append(
181
- #Map(
182
- # {
183
- # "name": content["name"],
184
- # "output_type": msg_type,
185
- # "text": Array([content["text"]]),
186
- # }
187
- #)
188
- {
189
- "name": content["name"],
190
- "output_type": msg_type,
191
- "text": [content["text"]],
192
- }
180
+ Map(
181
+ {
182
+ "name": content["name"],
183
+ "output_type": msg_type,
184
+ "text": Array([content["text"]]),
185
+ }
186
+ )
193
187
  )
194
188
  else:
195
- #outputs[-1]["text"].append(content["text"]) # type: ignore
196
- last_output = outputs[-1]
197
- last_output["text"].append(content["text"]) # type: ignore
198
- outputs[-1] = last_output
189
+ outputs[-1]["text"].append(content["text"]) # type: ignore
199
190
  elif msg_type in ("display_data", "execute_result"):
200
191
  outputs.append(
201
192
  {
File without changes
File without changes
File without changes