Nathaniel Nicandro
a1f4d4d013
Fix failing tests
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
71a25c3dde
Add monadic API tests
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
d061c6eb89
Rename jupyter-reply-message
-> jupyter-reply
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
dfcc400939
Fix outdated IOLoop test
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
14bb4238ca
Add zmq tag to ioloop tests
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
6418de7ef5
Add the jupyter-use-zmq
custom variable
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
170d63f278
Update jupyter-kernel-process
test
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
c47345f6ec
Fix jupyter-kernel
method names for jupyter-kernel-process
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
db0f3678ac
Revert "Remove tests related to jupyter-kernel-process
, ioloop
, comm
, zmq
, and channels
"
...
This reverts commit 1381d7975d2c47ebcec1359dc24e443aa5af0fa2.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
5857352135
Add the jupyter-kernelspecs
method
...
Replaces both `jupyter-available-kernelspecs` and
`jupyter-server-kernelspecs`.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f2d99b2007
Reintroduce previously broken test
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
fb6611bc5d
Fix test
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
31e1cc68fd
Fix call order in test clean up
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
31d79dfd84
Remove do prefix of kernel action functions
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
c1bff794d0
Add jupyter-reply-message
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
970b4d1c21
Allow some tests to pass
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
3c2cc77348
Remove the callbacks
slot of a jupyter-request
...
Callbacks are added to a request using `jupyter-message-subscribed`.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
bb12d37e05
Fix input_request handling
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
8acb7bc487
Simplify jupyter-wait-until-idle
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
22d2a3f327
Remove the jupyter-send
method...
...
- Add a `message-publisher` slot to `jupyter-request`, set when
sending a request.
- `*-request` functions now return a delayed request value instead of
a request. Update call sites.
- Add the functions `jupyter-messages`, `jupyter-idle`,
`jupyter-message-subscribed` and `jupyter-client-subscribed`.
- Move client subscription to a request's messages to
`jupyter-client-subscribed`.
- Request callbacks are now added via `jupyter-message-subscribed`.
- Reduce usage of callbacks in favor of searching `jupyter-messages`
where appropriate.
- Update tests
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
ac35f52e02
Add :callbacks and :handlers keys to request calls
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
bbb32457a9
Remove requests slot of a client
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
b46cf42aa3
Remove jupyter-last-sent-request
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
422c59ee48
Remove the pending request interface
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a76d772716
(send ... (request ...)) -> (request ...)
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
dfd1d1e02d
Remove the kernel
slot of a client
...
`jupyter-websocket-io` now returns, in addition to an IO function, a
kernel action subscriber. A client now sends messages to the
subscriber to interrupt or shutdown a kernel instead of doing so using
a `kernel` slot.
Also add the `jupyter-kernel-action` convenience function for
evaluating arbitrary code on a client's kernel.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f81a44b865
Comment out failing part of test
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
134167e65e
Remove keyword message types
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
cbd521dc72
Remove jupyter-find-server
...
The same `jupyter-server` instance is always returned for the same URL
by a call to `jupyter-server` so there is no need to find a server
anymore.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f02337c23c
Skip jupyter-connect-repl
test
...
Connecting to a REPL via a JSON file is no longer possible.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a430f4f0e1
Remove jupyter-channels-running-p
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
548b23cba2
test/test-helper.el: Fix client cache cleanup
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
0c0ff8fb0b
Fix wrong usage of jupyter-request
in tests
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f2cc7ef269
Fix Org :dir header arg test
...
Since notebook kernels are being used, the directory switched to needs
to be under the tree accessible by the kernel.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a66e15277d
Actually delete temporary test directory after running tests
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
b0a9258bd7
Fix jupyter-send
calls in tests
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
2cf188d761
Remove zmq dependency
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
67b633d52d
Update jupyter-test-with-kernel-client
to use a notebook kernel
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
b44bd8fff1
Remove more references to kernel managers
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
18027386d4
Update test helpers
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e7c0919fce
Remove tests related to jupyter-kernel-process
, ioloop
, comm
, zmq
, and channels
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e1bf33ea55
Update jupyter-send
calls in tests
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
9d801b72a3
Remove jupyter-connection.el
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e133c34707
Add do prefix to launch,shutdown,interrupt functions of a kernel
...
launch,shutdown,interrupt are now monadic functions.
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
dcf2e2ef6e
Remove jupyter-finalized-object
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
8f9f563afc
Fix test
2023-02-13 20:22:49 -06:00
Nathaniel Nicandro
2d807d8670
Replace uses of jupyter-clients
...
This function is used elsewhere.
2023-02-13 20:22:49 -06:00
Nathaniel Nicandro
b5fac750e3
Remove setting of conn
slot of a client in tests
2023-02-13 20:22:49 -06:00
Nathaniel Nicandro
4393e8adb0
Update tests for jupyter-kernel-process
2023-02-13 20:22:49 -06:00
Nathaniel Nicandro
7a52f6240d
Update jupyter-kernel-process
test
2023-02-13 20:21:14 -06:00