Skip to content

Commit e5fb7d2

Browse files
authored
Merge pull request #320 from jupyter/auto-backport-of-pr-315
Backport PR #315 on branch 5.x
2 parents 0f13a70 + d1f9529 commit e5fb7d2

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

docs/changelog.rst

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,48 @@
44
Changes in Jupyter Client
55
=========================
66

7+
5.2
8+
===
9+
10+
`5.2 on GitHub <https://github.com/jupyter/jupyter_client/milestones/5.2>`__
11+
12+
- Define Jupyter protocol version 5.3:
13+
14+
- Kernels can now opt to be interrupted by a message sent on the control channel
15+
instead of a system signal. See :ref:`kernelspecs` and :ref:`msging_interrupt`
16+
(:ghpull:`294`).
17+
18+
- New ``jupyter kernel`` command to launch an installed kernel by name
19+
(:ghpull:`240`).
20+
- Kernelspecs where the command starts with e.g. ``python3`` or
21+
``python3.6``—matching the version ``jupyter_client`` is running on—are now
22+
launched with the same Python executable as the launching process (:ghpull:`306`).
23+
This extends the special handling of ``python`` added in 5.0.
24+
- Command line arguments specified by a kernelspec can now include
25+
``{resource_dir}``, which will be substituted with the kernelspec resource
26+
directory path when the kernel is launched (:ghpull:`289`).
27+
- Kernelspecs now have an optional ``metadata`` field to hold arbitrary metadata
28+
about kernels—see :ref:`kernelspecs` (:ghpull:`274`).
29+
- Make the ``KernelRestarter`` class used by a ``KernelManager`` configurable
30+
(:ghpull:`290`).
31+
- When killing a kernel on Unix, kill its process group (:ghpull:`314`).
32+
- If a kernel dies soon after starting, reassign random ports before restarting
33+
it, in case one of the previously chosen ports has been bound by another
34+
process (:ghpull:`279`).
35+
- Avoid unnecessary filesystem operations when finding a kernelspec with
36+
:meth:`.KernelSpecManager.get_kernel_spec` (:ghpull:`311`).
37+
- :meth:`.KernelSpecManager.get_all_specs` will no longer raise an exception on
38+
encountering an invalid ``kernel.json`` file. It will raise a warning and
39+
continue (:ghpull:`310`).
40+
- Check for non-contiguous buffers before trying to send them through ZMQ
41+
(:ghpull:`258`).
42+
- Compatibility with upcoming Tornado version 5.0 (:ghpull:`304`).
43+
- Simplify setup code by always using setuptools (:ghpull:`284`).
44+
- Soften warnings when setting the sticky bit on runtime files fails
45+
(:ghpull:`286`).
46+
- Various corrections and improvements to documentation.
47+
48+
749
5.1
850
===
951

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
'sphinx.ext.autodoc',
3535
'sphinx.ext.intersphinx',
3636
'sphinx.ext.napoleon',
37+
'sphinxcontrib_github_alt',
3738
]
3839

3940
# Add any paths that contain templates here, relative to this directory.
@@ -55,6 +56,8 @@
5556
copyright = '2015, Jupyter Development Team'
5657
author = 'Jupyter Development Team'
5758

59+
github_project_url = "https://github.com/jupyter/jupyter_client"
60+
5861
# The version info for the project you're documenting, acts as replacement for
5962
# |version| and |release|, also used in various other places throughout the
6063
# built documents.

docs/environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ dependencies:
88
- jupyter_core
99
- sphinx>=1.3.6
1010
- sphinx_rtd_theme
11+
- pip:
12+
- sphinxcontrib_github_alt

0 commit comments

Comments
 (0)