1. 07 Jan, 2020 1 commit
  2. 09 Dec, 2019 1 commit
  3. 14 Oct, 2019 1 commit
  4. 11 Oct, 2019 1 commit
  5. 10 Oct, 2019 2 commits
  6. 09 Oct, 2019 3 commits
  7. 08 Oct, 2019 7 commits
  8. 07 Oct, 2019 1 commit
  9. 04 Oct, 2019 1 commit
    • Ludovic Courtès's avatar
      Move kernel-in-container execution to (guix jupyter kernel). · 99f5b5b4
      Ludovic Courtès authored
      * guix-jupyter-kernel.scm (session-id): Remove.
      (create-environment): Call 'spawn-kernel/container' instead of
      'start-container', and remove 'name' argument.
      (%network-file-systems, module-to-import?, start-container): Move to...
      * guix/jupyter/kernel.scm: ... here.
      (start-container): Rename to...
      (spawn-kernel/container): ... this.  Remove 'name' parameter.  Call
      'make-container-root-directory' to create the root directory of the
      container.
      (make-container-root-directory): New procedure.
      99f5b5b4
  10. 03 Oct, 2019 4 commits
    • Ludovic Courtès's avatar
      Add ";;guix pin" magic. · d981e1a5
      Ludovic Courtès authored
      * guix-jupyter-kernel.scm (channels->shtml, reply-for-channels)
      (reply-for-channel-failure): New procedures.
      (reply-execute-request): Handle ";;guix pin".
      (reply-complete-request): Complete ";;guix pin".
      * guix-kernel-demo.ipynb: Add ";;guix pin" example.
      d981e1a5
    • Ludovic Courtès's avatar
      environment: 'specification->manifest-entry' properly matches the empty list. · aa57c901
      Ludovic Courtès authored
      * guix/jupyter/environment.scm (specification->manifest-entry): Change
      first clause to the empty list.
      aa57c901
    • Ludovic Courtès's avatar
      Make the current inferior a <proxy-state> property. · 7e4ae57f
      Ludovic Courtès authored
      * guix-jupyter-kernel.scm (%inferior-property): New variable.
      (proxy-state-inferior, set-proxy-state-inferior)
      (ensure-proxy-state-inferior): New procedures.
      (%inferior): Remove.
      (create-environment): Call 'proxy-state-inferior' instead of refering to
      %INFERIOR.
      (reply-execute-request): Call 'ensure-proxy-state-inferior' before
      calling 'create-environment'.
      (reply-complete-request): Call 'ensure-proxy-state-inferior' before
      calling 'inferior-available-packages'.  Return the new state.
      7e4ae57f
    • Ludovic Courtès's avatar
      Handle 'inspect_request' messages. · aedb7e6f
      Ludovic Courtès authored
      * guix-jupyter-kernel.scm (environment-from-magic): New procedure, moved
      from...
      (reply-complete-request)[environment-from-magic]: ... here.  Remove.
      (reply-inspect-request): New procedure.
      (dispatch-route): Add it.
      aedb7e6f
  11. 01 Oct, 2019 2 commits
  12. 30 Sep, 2019 4 commits
  13. 27 Sep, 2019 3 commits
  14. 26 Sep, 2019 3 commits
    • Ludovic Courtès's avatar
      messages: Add <execute-input>. · a038906c
      Ludovic Courtès authored
      * jupyter/messages.scm (<execute-input>): New record type.
      a038906c
    • Ludovic Courtès's avatar
      messages: Add <execute-request>. · 591d5814
      Ludovic Courtès authored
      * jupyter/messages.scm (<execute-request>): New record type.
      * guix-jupyter-kernel.scm (reply-execute-request): Use it.
      * tests/kernels.scm ("execute_request"): Likewise.
      591d5814
    • Ludovic Courtès's avatar
      messages: Add <kernel-status>. · b23ee453
      Ludovic Courtès authored
      * jupyter/messages.scm (<kernel-status>): New record type.
      * jupyter/kernels.scm (pub): Expect a <kernel-status> record and use
      'kernel-status->json'.
      (pub-busy, pub-idle): Pass a <kernel-status> record.
      * tests/kernels.scm ("run-kernel python3")
      ("kernel_info_request", "execute_request"): Use 'json->kernel-status'
      instead of alists.
      b23ee453
  15. 24 Sep, 2019 6 commits