Hello community,
here is the log from the commit of package python-qtconsole for
openSUSE:Factory checked in at 2020-07-01 14:27:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qtconsole (Old)
and /work/SRC/openSUSE:Factory/.python-qtconsole.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qtconsole"
Wed Jul 1 14:27:18 2020 rev:10 rq:818057 version:4.7.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qtconsole/python-qtconsole.changes
2020-05-26 17:22:00.660321875 +0200
+++
/work/SRC/openSUSE:Factory/.python-qtconsole.new.3060/python-qtconsole.changes
2020-07-01 14:27:26.562906704 +0200
@@ -1,0 +2,6 @@
+Wed Jul 1 08:54:06 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 4.7.5
+ * Print input if there is no prompt.
+
+-------------------------------------------------------------------
Old:
----
qtconsole-4.7.4.tar.gz
New:
----
qtconsole-4.7.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-qtconsole.spec ++++++
--- /var/tmp/diff_new_pack.IUNMz7/_old 2020-07-01 14:27:27.642910053 +0200
+++ /var/tmp/diff_new_pack.IUNMz7/_new 2020-07-01 14:27:27.642910053 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-qtconsole
-Version: 4.7.4
+Version: 4.7.5
Release: 0
Summary: Jupyter Qt console
License: BSD-3-Clause
++++++ qtconsole-4.7.4.tar.gz -> qtconsole-4.7.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.4/PKG-INFO new/qtconsole-4.7.5/PKG-INFO
--- old/qtconsole-4.7.4/PKG-INFO 2020-05-13 17:03:19.000000000 +0200
+++ new/qtconsole-4.7.5/PKG-INFO 2020-06-22 18:43:00.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: qtconsole
-Version: 4.7.4
+Version: 4.7.5
Summary: Jupyter Qt console
Home-page: http://jupyter.org
Author: Jupyter Development Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.4/docs/source/changelog.rst
new/qtconsole-4.7.5/docs/source/changelog.rst
--- old/qtconsole-4.7.4/docs/source/changelog.rst 2020-05-13
16:58:39.000000000 +0200
+++ new/qtconsole-4.7.5/docs/source/changelog.rst 2020-06-22
18:39:16.000000000 +0200
@@ -8,6 +8,17 @@
4.7
~~~
+.. _4.7.5:
+
+4.7.5
+-----
+
+`4.7.5 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.5>`__
+
+* Print input if there is no prompt.
+
+.. _4.7.4:
+
4.7.4
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.4/qtconsole/_version.py
new/qtconsole-4.7.5/qtconsole/_version.py
--- old/qtconsole-4.7.4/qtconsole/_version.py 2020-05-13 17:01:51.000000000
+0200
+++ new/qtconsole-4.7.5/qtconsole/_version.py 2020-06-22 18:40:40.000000000
+0200
@@ -1,2 +1,2 @@
-version_info = (4, 7, 4)
+version_info = (4, 7, 5)
__version__ = '.'.join(map(str, version_info))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.4/qtconsole/jupyter_widget.py
new/qtconsole-4.7.5/qtconsole/jupyter_widget.py
--- old/qtconsole-4.7.4/qtconsole/jupyter_widget.py 2020-03-25
17:22:00.000000000 +0100
+++ new/qtconsole-4.7.5/qtconsole/jupyter_widget.py 2020-06-22
18:28:02.000000000 +0200
@@ -226,11 +226,11 @@
last_cell = cell
self._set_history(items)
- def _insert_other_input(self, cursor, content):
+ def _insert_other_input(self, cursor, content, remote=True):
"""Insert function for input from other frontends"""
n = content.get('execution_count', 0)
- prompt = self._make_in_prompt(n, remote=True)
- cont_prompt = self._make_continuation_prompt(self._prompt, remote=True)
+ prompt = self._make_in_prompt(n, remote=remote)
+ cont_prompt = self._make_continuation_prompt(self._prompt,
remote=remote)
cursor.insertText('\n')
for i, line in enumerate(content['code'].strip().split('\n')):
if i == 0:
@@ -246,7 +246,12 @@
"""Handle an execute_input message"""
self.log.debug("execute_input: %s", msg.get('content', ''))
if self.include_output(msg):
- self._append_custom(self._insert_other_input, msg['content'],
before_prompt=True)
+ self._append_custom(
+ self._insert_other_input, msg['content'], before_prompt=True)
+ elif not self._prompt:
+ self._append_custom(
+ self._insert_other_input, msg['content'],
+ before_prompt=True, remote=False)
def _handle_execute_result(self, msg):
"""Handle an execute_result message"""
@@ -385,6 +390,9 @@
def _update_prompt(self, new_prompt_number):
"""Replace the last displayed prompt with a new one."""
+ if self._previous_prompt_obj is None:
+ return
+
block = self._previous_prompt_obj.block
# Make sure the prompt block has not been erased.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.4/qtconsole.egg-info/PKG-INFO
new/qtconsole-4.7.5/qtconsole.egg-info/PKG-INFO
--- old/qtconsole-4.7.4/qtconsole.egg-info/PKG-INFO 2020-05-13
17:03:17.000000000 +0200
+++ new/qtconsole-4.7.5/qtconsole.egg-info/PKG-INFO 2020-06-22
18:42:58.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: qtconsole
-Version: 4.7.4
+Version: 4.7.5
Summary: Jupyter Qt console
Home-page: http://jupyter.org
Author: Jupyter Development Team