Hello community,
here is the log from the commit of package python-jupyter_console for
openSUSE:Factory checked in at 2020-01-29 13:18:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_console.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_console"
Wed Jan 29 13:18:52 2020 rev:12 rq:768082 version:6.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2019-11-29 15:58:07.552930071 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.26092/python-jupyter_console.changes
2020-01-29 13:19:46.634212680 +0100
@@ -1,0 +2,13 @@
+Tue Jan 28 15:52:47 UTC 2020 - Todd R <[email protected]>
+
+- Update to 6.1.0
+ * switch bumpversion to nbformat-style
+ * Remove Python 2 compatibility code.
+ * Add support for prompt-toolkit v3
+ * removed extra lines from the banner
+- Drop documentation.
+ These are mostly a relic of when the tests needed to be in a
+ separate package, and since the docs are no longer versioned
+ upstream keeping them synced with the main package is difficult.
+
+-------------------------------------------------------------------
Old:
----
jupyter-console.pdf
jupyter_console-6.0.0.tar.gz
New:
----
jupyter_console-6.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_console.spec ++++++
--- /var/tmp/diff_new_pack.00zdUg/_old 2020-01-29 13:19:48.082213420 +0100
+++ /var/tmp/diff_new_pack.00zdUg/_new 2020-01-29 13:19:48.086213422 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_console
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jupyter_console
-Version: 6.0.0
-%define doc_ver 6.0.0
+Version: 6.1.0
Release: 0
Summary: Jupyter terminal console
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/jupyter/jupyter_console
Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
-Source1:
https://media.readthedocs.org/pdf/jupyter-console/v%{doc_ver}/jupyter-console.pdf
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -58,6 +56,8 @@
%package -n jupyter-jupyter_console
Summary: Jupyter terminal console
Requires: python3-jupyter_console = %{version}
+Provides: jupyter-jupyter_console-doc = %{version}
+Obsoletes: jupyter-jupyter_console-doc < %{version}
%description -n jupyter-jupyter_console
A terminal-based console frontend for Jupter kernels.
@@ -65,23 +65,8 @@
This package provides the jupyter components.
-%package -n jupyter-jupyter_console-doc
-Summary: Documentation for jupyter-jupyter_console
-Group: Documentation/Other
-Provides: python-jupyter_console-doc = %{version}
-Obsoletes: python-jupyter_console-doc < %{version}
-Provides: %{python_module jupyter_console-doc = %{version}}
-Obsoletes: %{python_module jupyter_console-doc < %{version}}
-
-%description -n jupyter-jupyter_console-doc
-A terminal-based console frontend for Jupter kernels.
-This code is based on the single-process IPython terminal.
-
-This package provides the help files.
-
%prep
%setup -q -n jupyter_console-%{version}
-cp %{SOURCE1} .
%build
%python_build
@@ -100,10 +85,5 @@
%files -n jupyter-jupyter_console
%license COPYING.md
-%{_bindir}/jupyter-console
-
-%files -n jupyter-jupyter_console-doc
-%license COPYING.md
-%doc jupyter-console.pdf
%changelog
++++++ jupyter_console-6.0.0.tar.gz -> jupyter_console-6.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.0.0/MANIFEST.in
new/jupyter_console-6.1.0/MANIFEST.in
--- old/jupyter_console-6.0.0/MANIFEST.in 1970-01-01 01:00:00.000000000
+0100
+++ new/jupyter_console-6.1.0/MANIFEST.in 2020-01-16 00:32:32.000000000
+0100
@@ -0,0 +1,22 @@
+include COPYING.md
+include CONTRIBUTING.md
+include README.md
+
+# Documentation
+graft docs
+exclude docs/\#*
+
+# Examples
+graft examples
+
+# docs subdirs we want to skip
+prune docs/build
+prune docs/gh-pages
+prune docs/dist
+
+# Patterns to exclude from any directory
+global-exclude *~
+global-exclude *.pyc
+global-exclude *.pyo
+global-exclude .git
+global-exclude .ipynb_checkpoints
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.0.0/PKG-INFO
new/jupyter_console-6.1.0/PKG-INFO
--- old/jupyter_console-6.0.0/PKG-INFO 2018-10-03 02:38:31.000000000 +0200
+++ new/jupyter_console-6.1.0/PKG-INFO 2020-01-16 23:11:15.000000000 +0100
@@ -1,19 +1,21 @@
-Metadata-Version: 1.1
-Name: jupyter_console
-Version: 6.0.0
-Summary: Jupyter terminal console
-Home-page: https://jupyter.org
-Author: Jupyter Development Team
-Author-email: [email protected]
-License: BSD
-Description: An IPython-like terminal frontend for Jupyter kernels in any
language.
-Keywords: Interactive,Interpreter,Shell,Web
-Platform: Linux
-Platform: Mac OS X
-Platform: Windows
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: System Administrators
-Classifier: Intended Audience :: Science/Research
-Classifier: License :: OSI Approved :: BSD License
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 3
+Metadata-Version: 2.1
+Name: jupyter_console
+Version: 6.1.0
+Summary: Jupyter terminal console
+Home-page: https://jupyter.org
+Author: Jupyter Development Team
+Author-email: [email protected]
+License: BSD
+Description: An IPython-like terminal frontend for Jupyter kernels in any
language.
+Keywords: Interactive,Interpreter,Shell,Web
+Platform: Linux
+Platform: Mac OS X
+Platform: Windows
+Classifier: Intended Audience :: Developers
+Classifier: Intended Audience :: System Administrators
+Classifier: Intended Audience :: Science/Research
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 3
+Requires-Python: >=3.5
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.0.0/jupyter_console/_version.py
new/jupyter_console-6.1.0/jupyter_console/_version.py
--- old/jupyter_console-6.0.0/jupyter_console/_version.py 2018-10-03
02:38:27.000000000 +0200
+++ new/jupyter_console-6.1.0/jupyter_console/_version.py 2020-01-16
23:09:54.000000000 +0100
@@ -5,6 +5,6 @@
See PEP 440 https://www.python.org/dev/peps/pep-0440/
"""
-version_info = (6, 0, 0)
+version_info = (6, 1, 0)
__version__ = '.'.join(map(str, version_info[:3])) + ''.join(version_info[3:])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.0.0/jupyter_console/app.py
new/jupyter_console-6.1.0/jupyter_console/app.py
--- old/jupyter_console-6.0.0/jupyter_console/app.py 2018-10-03
02:28:05.000000000 +0200
+++ new/jupyter_console-6.1.0/jupyter_console/app.py 2020-01-16
00:32:32.000000000 +0100
@@ -147,7 +147,7 @@
"""optionally display the banner"""
self.shell.show_banner()
# Make sure there is a space below the banner.
- if self.log_level <= logging.INFO: print()
+ #if self.log_level <= logging.INFO: print()
def start(self):
# JupyterApp.start dispatches on NoStart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.0.0/jupyter_console/ptshell.py
new/jupyter_console-6.1.0/jupyter_console/ptshell.py
--- old/jupyter_console-6.0.0/jupyter_console/ptshell.py 2018-10-03
02:28:05.000000000 +0200
+++ new/jupyter_console-6.1.0/jupyter_console/ptshell.py 2020-01-16
00:32:32.000000000 +0100
@@ -6,20 +6,15 @@
from getpass import getpass
from io import BytesIO
import os
+from queue import Empty
import signal
import subprocess
import sys
import time
from warnings import warn
-try:
- from queue import Empty # Py 3
-except ImportError:
- from Queue import Empty # Py 2
-
from zmq import ZMQError
from IPython.core import page
-from IPython.utils.py3compat import cast_unicode_py2, input
from ipython_genutils.tempdir import NamedFileInTemporaryDirectory
from traitlets import (Bool, Integer, Float, Unicode, List, Dict, Enum,
Instance, Any)
@@ -349,14 +344,14 @@
def show_banner(self):
print(self.banner.format(version=__version__,
- kernel_banner=self.kernel_info.get('banner', '')))
+ kernel_banner=self.kernel_info.get('banner',
'')),end='',flush=True)
def init_prompt_toolkit_cli(self):
if self.simple_prompt or ('JUPYTER_CONSOLE_TEST' in os.environ):
# Simple restricted interface for tests so we can find prompts with
# pexpect. Multi-line input not supported.
def prompt():
- return cast_unicode_py2(input('In [%d]: ' %
self.execution_count))
+ return input('In [%d]: ' % self.execution_count)
self.prompt_for_code = prompt
self.print_out_prompt = \
lambda: print('Out[%d]: ' % self.execution_count, end='')
@@ -406,7 +401,7 @@
for _, _, cell in
self.history_manager.get_tail(self.history_load_length,
include_latest=True):
# Ignore blank lines and consecutive duplicates
- cell = cast_unicode_py2(cell.rstrip())
+ cell = cell.rstrip()
if cell and (cell != last_cell):
history.append_string(cell)
@@ -516,7 +511,7 @@
# We can't set the buffer here, because it will be reset just after
# this. Adding a callable to pre_run_callables does what we need
# after the buffer is reset.
- s = cast_unicode_py2(self.next_input)
+ s = self.next_input
def set_doc():
self.pt_cli.app.buffer.document = Document(s)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.0.0/jupyter_console/tests/writetofile.py
new/jupyter_console-6.1.0/jupyter_console/tests/writetofile.py
--- old/jupyter_console-6.0.0/jupyter_console/tests/writetofile.py
2018-10-03 02:28:05.000000000 +0200
+++ new/jupyter_console-6.1.0/jupyter_console/tests/writetofile.py
2020-01-16 00:32:32.000000000 +0100
@@ -19,14 +19,10 @@
if __name__ == '__main__':
import sys
- from ipython_genutils.py3compat import PY3
(inpath, outpath) = sys.argv[1:]
if inpath == '-':
- if PY3:
- infile = sys.stdin.buffer
- else:
- infile = sys.stdin
+ infile = sys.stdin.buffer
else:
infile = open(inpath, 'rb')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.0.0/jupyter_console.egg-info/PKG-INFO
new/jupyter_console-6.1.0/jupyter_console.egg-info/PKG-INFO
--- old/jupyter_console-6.0.0/jupyter_console.egg-info/PKG-INFO 1970-01-01
01:00:00.000000000 +0100
+++ new/jupyter_console-6.1.0/jupyter_console.egg-info/PKG-INFO 2020-01-16
23:11:15.000000000 +0100
@@ -0,0 +1,21 @@
+Metadata-Version: 2.1
+Name: jupyter-console
+Version: 6.1.0
+Summary: Jupyter terminal console
+Home-page: https://jupyter.org
+Author: Jupyter Development Team
+Author-email: [email protected]
+License: BSD
+Description: An IPython-like terminal frontend for Jupyter kernels in any
language.
+Keywords: Interactive,Interpreter,Shell,Web
+Platform: Linux
+Platform: Mac OS X
+Platform: Windows
+Classifier: Intended Audience :: Developers
+Classifier: Intended Audience :: System Administrators
+Classifier: Intended Audience :: Science/Research
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 3
+Requires-Python: >=3.5
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.0.0/jupyter_console.egg-info/SOURCES.txt
new/jupyter_console-6.1.0/jupyter_console.egg-info/SOURCES.txt
--- old/jupyter_console-6.0.0/jupyter_console.egg-info/SOURCES.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_console-6.1.0/jupyter_console.egg-info/SOURCES.txt
2020-01-16 23:11:15.000000000 +0100
@@ -0,0 +1,32 @@
+CONTRIBUTING.md
+COPYING.md
+MANIFEST.in
+README.md
+setup.cfg
+setup.py
+docs/Makefile
+docs/autogen_config.py
+docs/changelog.rst
+docs/conf.py
+docs/environment.yml
+docs/index.rst
+docs/make.bat
+docs/release.rst
+docs/requirements.txt
+jupyter_console/__init__.py
+jupyter_console/__main__.py
+jupyter_console/_version.py
+jupyter_console/app.py
+jupyter_console/completer.py
+jupyter_console/ptshell.py
+jupyter_console/zmqhistory.py
+jupyter_console.egg-info/PKG-INFO
+jupyter_console.egg-info/SOURCES.txt
+jupyter_console.egg-info/dependency_links.txt
+jupyter_console.egg-info/entry_points.txt
+jupyter_console.egg-info/requires.txt
+jupyter_console.egg-info/top_level.txt
+jupyter_console/tests/__init__.py
+jupyter_console/tests/test_console.py
+jupyter_console/tests/test_image_handler.py
+jupyter_console/tests/writetofile.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.0.0/jupyter_console.egg-info/dependency_links.txt
new/jupyter_console-6.1.0/jupyter_console.egg-info/dependency_links.txt
--- old/jupyter_console-6.0.0/jupyter_console.egg-info/dependency_links.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_console-6.1.0/jupyter_console.egg-info/dependency_links.txt
2020-01-16 23:11:15.000000000 +0100
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.0.0/jupyter_console.egg-info/entry_points.txt
new/jupyter_console-6.1.0/jupyter_console.egg-info/entry_points.txt
--- old/jupyter_console-6.0.0/jupyter_console.egg-info/entry_points.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_console-6.1.0/jupyter_console.egg-info/entry_points.txt
2020-01-16 23:11:15.000000000 +0100
@@ -0,0 +1,3 @@
+[console_scripts]
+jupyter-console = jupyter_console.app:main
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.0.0/jupyter_console.egg-info/requires.txt
new/jupyter_console-6.1.0/jupyter_console.egg-info/requires.txt
--- old/jupyter_console-6.0.0/jupyter_console.egg-info/requires.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_console-6.1.0/jupyter_console.egg-info/requires.txt
2020-01-16 23:11:15.000000000 +0100
@@ -0,0 +1,8 @@
+jupyter_client
+ipython
+ipykernel
+prompt_toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
+pygments
+
+[test:sys_platform != "win32"]
+pexpect
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_console-6.0.0/jupyter_console.egg-info/top_level.txt
new/jupyter_console-6.1.0/jupyter_console.egg-info/top_level.txt
--- old/jupyter_console-6.0.0/jupyter_console.egg-info/top_level.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/jupyter_console-6.1.0/jupyter_console.egg-info/top_level.txt
2020-01-16 23:11:15.000000000 +0100
@@ -0,0 +1 @@
+jupyter_console
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.0.0/scripts/jupyter-console
new/jupyter_console-6.1.0/scripts/jupyter-console
--- old/jupyter_console-6.0.0/scripts/jupyter-console 2018-10-03
02:28:05.000000000 +0200
+++ new/jupyter_console-6.1.0/scripts/jupyter-console 1970-01-01
01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-#!/usr/bin/env python
-from jupyter_console import app
-
-if __name__ == '__main__':
- app.main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.0.0/setup.cfg
new/jupyter_console-6.1.0/setup.cfg
--- old/jupyter_console-6.0.0/setup.cfg 2018-10-03 02:28:05.000000000 +0200
+++ new/jupyter_console-6.1.0/setup.cfg 2020-01-16 23:11:15.000000000 +0100
@@ -1,9 +1,13 @@
[bdist_wheel]
-universal=1
+universal = 1
[flake8]
max-line-length = 99
-;ignore = E128, E124, E251, W503
[metadata]
license_file = COPYING.md
+
+[egg_info]
+tag_build =
+tag_date = 0
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_console-6.0.0/setup.py
new/jupyter_console-6.1.0/setup.py
--- old/jupyter_console-6.0.0/setup.py 2018-10-03 02:28:05.000000000 +0200
+++ new/jupyter_console-6.1.0/setup.py 2020-01-16 00:32:32.000000000 +0100
@@ -98,7 +98,7 @@
'jupyter_client',
'ipython',
'ipykernel', # bless IPython kernel for now
- 'prompt_toolkit>=2.0.0,<2.1.0',
+ 'prompt_toolkit>=2.0.0,<3.1.0,!=3.0.0,!=3.0.1',
'pygments',
]