Hello community,
here is the log from the commit of package python-qtconsole for
openSUSE:Factory checked in at 2020-04-05 20:55:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qtconsole (Old)
and /work/SRC/openSUSE:Factory/.python-qtconsole.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qtconsole"
Sun Apr 5 20:55:30 2020 rev:7 rq:791441 version:4.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qtconsole/python-qtconsole.changes
2020-03-17 13:08:02.457702016 +0100
+++
/work/SRC/openSUSE:Factory/.python-qtconsole.new.3248/python-qtconsole.changes
2020-04-05 20:55:31.625312790 +0200
@@ -1,0 +2,7 @@
+Sat Mar 28 16:34:48 UTC 2020 - Arun Persaud <[email protected]>
+
+- update to version 4.7.2:
+ * Set updated prompt as previous prompt object in JupyterWidget.
+ * Fix some Qt incorrect imports.
+
+-------------------------------------------------------------------
Old:
----
qtconsole-4.7.1.tar.gz
New:
----
qtconsole-4.7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-qtconsole.spec ++++++
--- /var/tmp/diff_new_pack.cifdj7/_old 2020-04-05 20:55:32.317313533 +0200
+++ /var/tmp/diff_new_pack.cifdj7/_new 2020-04-05 20:55:32.321313537 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-qtconsole
-Version: 4.7.1
+Version: 4.7.2
Release: 0
Summary: Jupyter Qt console
License: BSD-3-Clause
++++++ qtconsole-4.7.1.tar.gz -> qtconsole-4.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.1/PKG-INFO new/qtconsole-4.7.2/PKG-INFO
--- old/qtconsole-4.7.1/PKG-INFO 2020-03-03 02:25:47.000000000 +0100
+++ new/qtconsole-4.7.2/PKG-INFO 2020-03-25 17:37:20.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: qtconsole
-Version: 4.7.1
+Version: 4.7.2
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.1/docs/source/changelog.rst
new/qtconsole-4.7.2/docs/source/changelog.rst
--- old/qtconsole-4.7.1/docs/source/changelog.rst 2020-03-03
02:23:21.000000000 +0100
+++ new/qtconsole-4.7.2/docs/source/changelog.rst 2020-03-25
17:24:12.000000000 +0100
@@ -8,6 +8,16 @@
4.7
~~~
+.. _4.7.2:
+
+4.7.2
+-----
+
+`4.7.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.2>`__
+
+* Set updated prompt as previous prompt object in JupyterWidget.
+* Fix some Qt incorrect imports.
+
.. _4.7.1:
4.7.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.1/qtconsole/_version.py
new/qtconsole-4.7.2/qtconsole/_version.py
--- old/qtconsole-4.7.1/qtconsole/_version.py 2020-03-03 02:24:56.000000000
+0100
+++ new/qtconsole-4.7.2/qtconsole/_version.py 2020-03-25 17:27:40.000000000
+0100
@@ -1,2 +1,2 @@
-version_info = (4, 7, 1)
+version_info = (4, 7, 2)
__version__ = '.'.join(map(str, version_info))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.1/qtconsole/console_widget.py
new/qtconsole-4.7.2/qtconsole/console_widget.py
--- old/qtconsole-4.7.1/qtconsole/console_widget.py 2020-03-03
02:19:12.000000000 +0100
+++ new/qtconsole-4.7.2/qtconsole/console_widget.py 2020-03-25
17:22:00.000000000 +0100
@@ -13,7 +13,7 @@
from unicodedata import category
import webbrowser
-from qtpy import QtCore, QtGui, QtWidgets
+from qtpy import QtCore, QtGui, QtPrintSupport, QtWidgets
from traitlets.config.configurable import LoggingConfigurable
from qtconsole.rich_text import HtmlExporter
@@ -238,7 +238,7 @@
layout.setContentsMargins(0, 0, 0, 0)
self._control = self._create_control()
if self.paging in ('hsplit', 'vsplit'):
- self._splitter = QtGui.QSplitter()
+ self._splitter = QtWidgets.QSplitter()
if self.paging == 'hsplit':
self._splitter.setOrientation(QtCore.Qt.Horizontal)
else:
@@ -804,8 +804,8 @@
""" Print the contents of the ConsoleWidget to the specified QPrinter.
"""
if (not printer):
- printer = QtGui.QPrinter()
- if(QtGui.QPrintDialog(printer).exec_() != QtGui.QDialog.Accepted):
+ printer = QtPrintSupport.QPrinter()
+ if(QtPrintSupport.QPrintDialog(printer).exec_() !=
QtPrintSupport.QPrintDialog.Accepted):
return
self._control.print_(printer)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.1/qtconsole/jupyter_widget.py
new/qtconsole-4.7.2/qtconsole/jupyter_widget.py
--- old/qtconsole-4.7.1/qtconsole/jupyter_widget.py 2020-01-25
17:50:31.000000000 +0100
+++ new/qtconsole-4.7.2/qtconsole/jupyter_widget.py 2020-03-25
17:22:00.000000000 +0100
@@ -406,6 +406,10 @@
# Update the prompt cursor
self._prompt_cursor.setPosition(cursor.position() - 1)
+ # Store the updated prompt.
+ block = self._control.document().lastBlock()
+ length = len(self._prompt)
+ self._previous_prompt_obj = self._PromptBlock(block, length,
new_prompt_number)
def _show_interpreter_prompt_for_reply(self, msg):
""" Reimplemented for IPython-style prompts.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.1/qtconsole.egg-info/PKG-INFO
new/qtconsole-4.7.2/qtconsole.egg-info/PKG-INFO
--- old/qtconsole-4.7.1/qtconsole.egg-info/PKG-INFO 2020-03-03
02:25:45.000000000 +0100
+++ new/qtconsole-4.7.2/qtconsole.egg-info/PKG-INFO 2020-03-25
17:37:20.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: qtconsole
-Version: 4.7.1
+Version: 4.7.2
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.1/qtconsole.egg-info/requires.txt
new/qtconsole-4.7.2/qtconsole.egg-info/requires.txt
--- old/qtconsole-4.7.1/qtconsole.egg-info/requires.txt 2020-03-03
02:25:45.000000000 +0100
+++ new/qtconsole-4.7.2/qtconsole.egg-info/requires.txt 2020-03-25
17:37:20.000000000 +0100
@@ -5,6 +5,7 @@
pygments
ipykernel>=4.1
qtpy
+pyzmq>=17.1
[doc]
Sphinx>=1.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/qtconsole-4.7.1/setup.py new/qtconsole-4.7.2/setup.py
--- old/qtconsole-4.7.1/setup.py 2020-01-25 17:50:31.000000000 +0100
+++ new/qtconsole-4.7.2/setup.py 2020-03-25 17:22:00.000000000 +0100
@@ -77,6 +77,7 @@
'pygments',
'ipykernel>=4.1', # not a real dependency, but require the reference
kernel
'qtpy',
+ 'pyzmq>=17.1'
],
extras_require = {
'test': ['pytest'],