conkernelclient 0.0.20__tar.gz → 0.0.21__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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conkernelclient
3
- Version: 0.0.20
3
+ Version: 0.0.21
4
4
  Summary: Concurrent-safe Jupyter KernelClient
5
5
  Author-email: Jeremy Howard <github@jhoward.fastmail.fm>
6
6
  License: Apache-2.0
@@ -14,7 +14,7 @@ Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: jupyter_client
16
16
  Requires-Dist: fastcore>=2.1.17
17
- Requires-Dist: jupywire>=0.1.5
17
+ Requires-Dist: jupywire>=0.1.7
18
18
  Provides-Extra: dev
19
19
  Requires-Dist: ipykernel; extra == "dev"
20
20
  Requires-Dist: ipymini>=0.1.17; extra == "dev"
@@ -1,4 +1,4 @@
1
- __version__ = "0.0.20"
1
+ __version__ = "0.0.21"
2
2
  from jupywire.route import JmsgQueues, DeadKernelError
3
3
  from .core import *
4
4
  from .ops import *
@@ -29,7 +29,7 @@ def iter_timeout(timeout=None, default=default_timeout):
29
29
  @patch
30
30
  async def exec_drain(self:ConKernelClient, code, timeout=default_timeout, **kw):
31
31
  "Execute `code`; return `(reply, outputs)` where outputs are the request's iopub messages"
32
- msgs = await self.run(code, timeout=timeout, **kw)
32
+ msgs = [m async for m in self.run(code, timeout=timeout, **kw)]
33
33
  reply = next(m for m in msgs if m['msg_type'] == 'execute_reply')
34
34
  return reply, [m for m in msgs if m['channel'] == 'iopub']
35
35
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: conkernelclient
3
- Version: 0.0.20
3
+ Version: 0.0.21
4
4
  Summary: Concurrent-safe Jupyter KernelClient
5
5
  Author-email: Jeremy Howard <github@jhoward.fastmail.fm>
6
6
  License: Apache-2.0
@@ -14,7 +14,7 @@ Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: jupyter_client
16
16
  Requires-Dist: fastcore>=2.1.17
17
- Requires-Dist: jupywire>=0.1.5
17
+ Requires-Dist: jupywire>=0.1.7
18
18
  Provides-Extra: dev
19
19
  Requires-Dist: ipykernel; extra == "dev"
20
20
  Requires-Dist: ipymini>=0.1.17; extra == "dev"
@@ -1,6 +1,6 @@
1
1
  jupyter_client
2
2
  fastcore>=2.1.17
3
- jupywire>=0.1.5
3
+ jupywire>=0.1.7
4
4
 
5
5
  [dev]
6
6
  ipykernel
@@ -18,7 +18,7 @@ classifiers = [
18
18
  dependencies = [
19
19
  'jupyter_client',
20
20
  'fastcore>=2.1.17',
21
- 'jupywire>=0.1.5',
21
+ 'jupywire>=0.1.7',
22
22
  ]
23
23
 
24
24
  [project.optional-dependencies]