[Python-modules-commits] [jupyter-core] 01/06: Import jupyter-core_4.2.1.orig.tar.gz
Gordon Ball
chronitis-guest at moszumanska.debian.org
Sun Dec 4 12:29:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository jupyter-core.
commit 5ca812cce6e66ca755f64c6f00912004fe24d711
Author: Gordon Ball <gordon at chronitis.net>
Date: Sun Dec 4 12:15:47 2016 +0100
Import jupyter-core_4.2.1.orig.tar.gz
---
docs/changelog.rst | 9 +++++++++
docs/index.rst | 2 +-
jupyter_core/command.py | 6 +++---
jupyter_core/troubleshoot.py | 2 +-
jupyter_core/version.py | 2 +-
5 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 4612d40..b0899bf 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -4,6 +4,15 @@ Changes in jupyter-core
4.2
---
+4.2.1
+~~~~~
+
+`on
+GitHub <https://github.com/jupyter/jupyter_core/releases/tag/4.2.1>`__
+
+- Fix error message on Windows when subcommand not found.
+- Correctly display PATH in ``jupyter troubleshoot`` on Windows.
+
4.2.0
~~~~~
diff --git a/docs/index.rst b/docs/index.rst
index 1c6930b..0c03dfc 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -3,7 +3,7 @@ jupyter_core |version|
This documentation only describes the public API in the ``jupyter_core``
package. For overview information about using Jupyter, see the `main Jupyter
-docs <http://jupyter.readthedocs.org/en/latest/>`__.
+docs <https://jupyter.readthedocs.io/en/latest/>`__.
Contents:
diff --git a/jupyter_core/command.py b/jupyter_core/command.py
index 585db19..c8372f3 100644
--- a/jupyter_core/command.py
+++ b/jupyter_core/command.py
@@ -99,10 +99,10 @@ def _execvp(cmd, argv):
from shutil import which
except ImportError:
from .utils.shutil_which import which
- cmd = which(cmd)
- if cmd is None:
+ cmd_path = which(cmd)
+ if cmd_path is None:
raise OSError('%r not found' % cmd, errno.ENOENT)
- p = Popen([cmd] + argv[1:])
+ p = Popen([cmd_path] + argv[1:])
# Don't raise KeyboardInterrupt in the parent process.
# Set this after spawning, to avoid subprocess inheriting handler.
import signal
diff --git a/jupyter_core/troubleshoot.py b/jupyter_core/troubleshoot.py
index 4ad03b4..6e909a6 100755
--- a/jupyter_core/troubleshoot.py
+++ b/jupyter_core/troubleshoot.py
@@ -59,7 +59,7 @@ def main():
environment_data = get_data()
print('$PATH:')
- for directory in environment_data['path'].split(':'):
+ for directory in environment_data['path'].split(os.pathsep):
print('\t' + directory)
print('\n' + 'sys.path:')
diff --git a/jupyter_core/version.py b/jupyter_core/version.py
index 269fea0..9ab0a50 100644
--- a/jupyter_core/version.py
+++ b/jupyter_core/version.py
@@ -1,6 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
-version_info = (4, 2, 0)
+version_info = (4, 2, 1)
__version__ = '.'.join(map(str, version_info))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jupyter-core.git
More information about the Python-modules-commits
mailing list