From 2059d79b2fecf6d25a6c796b69ab954645ec37d1 Mon Sep 17 00:00:00 2001 From: Nathaniel Nicandro Date: Thu, 28 Mar 2024 16:48:46 -0500 Subject: [PATCH] v1.0 --- CHANGELOG.org | 37 ++++++++++++++++++++++++++++++++++++- MAINTAINERS.org | 4 ++-- jupyter-base.el | 2 +- jupyter.el | 2 +- 4 files changed, 40 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.org b/CHANGELOG.org index f1efe0b3..16165760 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -1,4 +1,39 @@ -* master +* v1.0 + +- The results of executing named Jupyter source blocks can now be + referenced by other source blocks. In other words, referencing a + Jupyter block in the context of noweb expansion, using =org-sbe=, or + as the value of a source block variable works now. + +- Added the customizable variable =jupyter-org-auto-connect= which + determines if a session should automatically be connected to upon + the first insertion into a source block's region. + +- The Jupyter executable used by underlying calls to =jupyter-command= + may now be set using the variable =jupyter-executable=. + +- Virtual environments are supported. If the =VIRTUAL_ENV= environment + variable is set, then the available kernels to launch will be those + under the virtual environment assuming your =exec-path= is set + correctly to contain the Jupyter executable under the virtual + environment. See for + example https://github.com/jorgenschaefer/pyvenv. + +- Added =org-babel-jupyter-language-aliases= which allows you to change + the name of the Org source block for a particular kernel language. + Usually the name of the source block is jupyter-LANG where LANG is + the name of the kernel language. This variable allows you to + specify something else for LANG. + +- Added the =jupyter-use-zmq= variable which determines whether or + not =zmq= based connections are available for use. If this variable + is =nil= then only server based connections can be used and in some + instances a default notebook server is started to manage those + connections, e.g. when calling =jupyter-run-repl=. + +* v0.8.3 + +- Additional bug fixes. - Fixed a regression that appears when executing an =org-mode= source block of a previously created session. A new connection to the diff --git a/MAINTAINERS.org b/MAINTAINERS.org index fdbf71b9..07ed8b5e 100644 --- a/MAINTAINERS.org +++ b/MAINTAINERS.org @@ -6,7 +6,7 @@ changes, etc. Write a few sentences describing the change and how it affects users going forward. #+NAME: changelog -#+HEADER: :var PREV_VERSION="v0.8.2" VERSION="master" +#+HEADER: :var PREV_VERSION="v1.0" VERSION="master" #+BEGIN_SRC shell :results output git log --pretty=format:"%s" ${PREV_VERSION}...${VERSION} #+END_SRC @@ -19,7 +19,7 @@ git log --pretty=format:"%s" ${PREV_VERSION}...${VERSION} - Set the Version header - Set =jupyter-version= in file:jupyter-base.el -#+CALL: update-project-metadata(version="0.8.2") +#+CALL: update-project-metadata(version="1.0") #+NAME: source-files #+begin_src shell diff --git a/jupyter-base.el b/jupyter-base.el index e1ce4c8c..a436e903 100644 --- a/jupyter-base.el +++ b/jupyter-base.el @@ -146,7 +146,7 @@ FORMAT-STRING and ARGS have the same meaning as in `message'." A longer timeout is needed, for example, when retrieving the `jupyter-kernel-info' to allow for the kernel to startup.") -(defconst jupyter-version "0.8.2-dev" +(defconst jupyter-version "1.0" "Current version of Jupyter.") ;;; Macros diff --git a/jupyter.el b/jupyter.el index d3f3b0ae..50f86744 100644 --- a/jupyter.el +++ b/jupyter.el @@ -4,7 +4,7 @@ ;; Author: Nathaniel Nicandro ;; Created: 11 Jan 2018 -;; Version: 0.8.2 +;; Version: 1.0 ;; Package-Requires: ((emacs "26") (cl-lib "0.5") (org "9.1.6") (zmq "0.10.10") (simple-httpd "1.5.0") (websocket "1.9")) ;; URL: https://github.com/emacs-jupyter/jupyter