- Oct 24, 2024
-
-
Ludovic Courtès authored
-
- Oct 23, 2024
-
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm (pin-channels): New procedure, with code formerly in ‘reply-execute-request’. (handle-channel-selection): New procedure. (reply-execute-request): Use ‘pin-channels’. Add support for “;;guix channels” and call ‘handle-channel-selection’. (%magic-commands): Add “channels”. * README.org (Pinning): Document it.
-
- Oct 22, 2024
-
-
Ludovic Courtès authored
* modules/guix/jupyter/magic.scm (delete-magic, magic-run?) (magic-exec?, magic-kernel?, magic-html?, magic-get-kernel-name): Remove. * tests/magic.scm (magic-run, magic-exec, magic-kernel): Remove. Remove the corresponding tests.
-
- Oct 08, 2024
-
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm (manifest->shtml): Add #:ready? and honor it. (reply-for-environment): Add #:display-id and #:ready? and honor them. Send ‘display_data’ or ‘update_display_data’ instead of using ‘reply-shtml’. (create-environment): Define ‘display-id’ and pass it to ‘reply-for-environment’. Add second call to ‘reply-for-environment’. * modules/guix/jupyter/kernel.scm (call-with-build-progress-report): Change last message from “Done!” to “Ready.”
-
Ludovic Courtès authored
* modules/jupyter/guile.scm (%scheme-symbol-char-set): New variable. (symbol-at-point, bindings-with-prefix, reply-complete-request): New procedures. (dispatch-route): Add ‘complete_request’. * tests/guile.scm ("complete_request"): New test.
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm (reply-complete-request): Use the <complete-request> and <complete-reply> types.
-
Ludovic Courtès authored
* modules/jupyter/messages.scm (<complete-request>, <complete-reply>): New data types.
-
Ludovic Courtès authored
This avoids potential conflicts between the (guix) module and the top-level ‘guix.scm’ file. * guix, jupyter: Move to… * modules: … here. * Makefile.am (guixmoddir, jupytermoddir) (guixgodir, jupytergodir, guixmod_DATA, jupytermod_DATA) (mod_DATA, nodist_go_DATA, nodist_guixgo_DATA, nodist_jupytergo_DATA): New variables. (SOURCES): Redefine in terms of these. (SCM_LOG_DRIVER): Use ‘pre-inst-env’. * guile.am (nobase_mod_DATA, nobase_go_DATA, EXTRA_DIST): Remove. (.scm.go): Adjust ‘-L’ flags. * pre-inst-env.in (GUILE_LOAD_PATH, GUILE_LOAD_COMPILED_PATH): Add ‘/modules’. (JUPYTER_PATH): Add $kernel_dir to the front of $JUPYTER_PATH rather than overriding it.
-
- Sep 23, 2024
-
-
Ludovic Courtès authored
* guix.scm: Remove input labels. Rewrite ‘sed-kernel-json’ phase.
-
Ludovic Courtès authored
This follows current upstream recommendations. * environment.scm: Rename to… * guix.scm: … this. Mention ‘guix shell’ rather than ‘guix environment’. * Makefile.am (EXTRA_DIST): Add it. * README.org: Update instructions to use ‘guix shell’ rather than ‘guix environment’. * .gitlab-ci.yml (build): Update.
-
- Sep 16, 2024
-
-
Ludovic Courtès authored
This captures the output and error ports while evaluating user codes and forwards them to Jupyter as “stream” messages. Fixes #7. * jupyter/guile.scm (reply-execute-request)[forward-output] [call-with-output-capture]: New procedures. [with-output-capture]: New macro. Wrap ‘code->execute-reply’ in ‘with-output-capture’. * tests/guile.scm ("execute_request, stdout/stderr"): New test. Reported-by:
George McNinch <gmcninch@gmail.com>
-
Ludovic Courtès authored
* tests/guile.scm (type-predicate): New procedure. ("execute_request", "execute_request, exception"): Remove ‘type-predicate’.
-
- Sep 15, 2024
-
-
Ludovic Courtès authored
* jupyter/messages.scm (<stream>): New record type.
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm (channels->shtml): Add table heading. Use ‘td’, not ‘tc’. (reply-channel-description): Remove introductory sentence.
-
Ludovic Courtès authored
* jupyter/guile.scm (%user-module): Change module name.
-
- Mar 22, 2022
-
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm (link/copy): Gracefully handle EPERM.
-
- Jul 26, 2021
-
-
Ludovic Courtès authored
* VERSION: Bump to 0.2.2.
-
Ludovic Courtès authored
-
Ludovic Courtès authored
Fixes #4. * guix-jupyter-kernel.scm (handle-download): Handle the case where 'url-fetch' returns a plain file.
-
Ludovic Courtès authored
Fixes #3. * jupyter/kernels.scm (call-with-busy-section): New procedure. (with-busy-section): New macro. * guix/jupyter/proxy.scm (proxy-request-handler): Wrap HANDLER call in 'with-busy-section'.
-
Ludovic Courtès authored
This is a followup to bc81615c. * guix-jupyter-kernel.scm (reply-kernel-info-request): Call 'pub-idle' instead of 'send-message' when sending a message to IOpub.
-
- Jul 06, 2021
-
-
Ludovic Courtès authored
Fixes <https://issues.guix.gnu.org/49355>. Reported by Domagoj Stolfa <ds815@gmx.com>. * guix-jupyter-kernel.scm (reply-kernel-info-request): Send a reply on 'kernel-iopub' too.
-
Ludovic Courtès authored
* jupyter/servers.scm: Fix typos in docstrings and comments.
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm <top level>: Add 'setvbuf' calls.
-
- Jan 25, 2021
-
-
Ludovic Courtès authored
* VERSION: Bump to 0.2.1.
-
Ludovic Courtès authored
* guix/jupyter/kernel.scm (make-container-directory): Use 'mkdtemp!' to create temporary as /tmp/guix-jupyter.XXXXXX. This works around a bug preventing multiple users from using Guix-Jupyter on the same machine at the same time. * jupyter/kernels.scm (exec-kernel): Likewise.
- Jan 24, 2021
-
-
Ludovic Courtès authored
* VERSION: Bump to 0.2.0.
-
Ludovic Courtès authored
* README.org: Tweak.
-
Ludovic Courtès authored
* NEWS: New file.
-
Ludovic Courtès authored
This fixes "make distcheck". * Makefile.am (EXTRA_DIST): Add $(TESTS) and 'test-driver.scm'.
-
Ludovic Courtès authored
* configure.ac: Adjust Guile error message.
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm (reply-execute-request): Add 'guard' clause for 'store-protocol-error?'.
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm (create-environment): In the case where several kernels are provided, rename formal parameter from 'file' to 'specs'.
-
Ludovic Courtès authored
This fixes a bug whereby ";;guix pin" would sometimes hang in the 'close-inferior' call in 'set-proxy-state-inferior'. * guix-jupyter-kernel.scm (set-proxy-state-inferior): Send (primitive-exit 0) to PREVIOUS.
-
- Jan 23, 2021
-
-
Ludovic Courtès authored
* jupyter/guile.scm (picture?, picture->ssvg): New procedures. (reply-execute-request): Return SVG if RESULT matches 'picture?'.
-
Ludovic Courtès authored
* jupyter/kernels.scm (sxml->html-string): Rename to... (sxml->xml-string): ... this. (reply-shtml): Adjust accordingly. * guix-jupyter-kernel.scm (reply-for-environment-kernel): Likewise. * guix/jupyter/kernel.scm (build-event-reporter) (call-with-build-progress-report): Likewise.
-
Ludovic Courtès authored
* jupyter/kernels.scm (sxml->html-string): New procedure. (reply-html): Rename to... (reply-shtml): ... this. Expect SHTML instead of HTML and adjust accordingly. Adjust all callers. * guix/jupyter/kernel.scm (sxml->html-string): Remove. * guix-jupyter-kernel.scm (sxml->html-string): Remove.
-
Ludovic Courtès authored
* guix/jupyter/environment.scm (%vcs-web-views): Change URL for Savannah commit logs.
-
Ludovic Courtès authored
* guix-jupyter-kernel.scm (reply-execute-request): Wrap 'create-environment' calls in 'guard' and send a proper HTML reply upon 'package-not-found-error?' and 'output-not-found-error?'. * guix/jupyter/environment.scm (&environment-error) (&package-not-found-error, &output-not-found-error): Export accessors.
-