1. 09 Sep, 2019 4 commits
    • Ludovic Courtès's avatar
      kernels: Test "kernel_info_request". · 200be24b
      Ludovic Courtès authored
      * tests/kernels.scm ("run-kernel python3"): Try to get a "status"
      message.
      ("kernel_info_request"): New test.
      200be24b
    • Ludovic Courtès's avatar
      kernels: 'read-message' reads from any of the kernel's sockets. · d88fb653
      Ludovic Courtès authored
      * jupyter/kernels.scm (read-message): Rewrite to use 'zmq-poll'.  Add
      optional 'timeout' parameter.
      * tests/kernels.scm ("execute_request"): Call 'read-message' thrice and
      check all three replies.
      d88fb653
    • Ludovic Courtès's avatar
      kernels: 'run-kernel' no longer requires a UUID parameter. · 22e7d33f
      Ludovic Courtès authored
      * jupyter/kernels.scm (run-kernel): Remove 'uuid' parameter and add
       #:identity parameter.  Do not set ZMQ_IDENTITY on SOCKET-SHELL when
       #:identity is #f.
      * guix-jupyter-container.scm (reply-execute-request): Pass #:identity to
      'run-kernel'.
      * tests/kernels.scm (%kernel-uuid): Remove.
      ("run-kernel python3"): Remove %KERNEL-UUID argument from 'run-kernel'
      call.
      ("execute_request"): Remove #:recipient argument to 'send-message'.
      Remove reference to %KERNEL-UUID.
      22e7d33f
    • Ludovic Courtès's avatar
      kernels: Add test talking to ipykernel. · 6874b76c
      Ludovic Courtès authored
      * tests/kernels.scm: New file.
      * Makefile.am (SCM_TESTS): Add it.
      * environment.scm <native-inputs>: Add JUPYTER, PYTHON-IPYTHON, and
      PYTHON-IPYKERNEL.
      6874b76c