Hello community, here is the log from the commit of package spyder3 for openSUSE:Factory checked in at 2019-07-26 12:43:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spyder3 (Old) and /work/SRC/openSUSE:Factory/.spyder3.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spyder3" Fri Jul 26 12:43:11 2019 rev:23 rq:718628 version:3.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/spyder3/spyder3.changes 2019-07-11 13:16:08.954809811 +0200 +++ /work/SRC/openSUSE:Factory/.spyder3.new.4126/spyder3.changes 2019-07-26 12:43:13.333833781 +0200 @@ -1,0 +2,20 @@ +Thu Jul 25 19:51:41 UTC 2019 - Sebastian Wagner <[email protected]> + +- Remove version requirement for python3-pyqtwebengine + - fixes boo#1141974 + +------------------------------------------------------------------- +Mon Jul 15 19:50:59 UTC 2019 - Sebastian Wagner <[email protected]> + +- update to version 3.3.6: + - Issues Closed: + - [Issue 9757](https://github.com/spyder-ide/spyder/issues/9757) - Text in help search bar becomes selected once help is displayed ([PR 9760](https://github.com/spyder-ide/spyder/pull/9760)) + - [Issue 8336](https://github.com/spyder-ide/spyder/issues/8336) - AttributeError in profiler ([PR 9758](https://github.com/spyder-ide/spyder/pull/9758)) + - In this release 2 issues were closed. + - Pull Requests Merged: + - [PR 9760](https://github.com/spyder-ide/spyder/pull/9760) - PR: Backport PR #9552 ([9757](https://github.com/spyder-ide/spyder/issues/9757)) + - [PR 9758](https://github.com/spyder-ide/spyder/pull/9758) - PR: Avoid an error when profdata is None in Profiler ([8336](https://github.com/spyder-ide/spyder/issues/8336)) + - [PR 9718](https://github.com/spyder-ide/spyder/pull/9718) - PR: Fix completion plugins listening to external hosts + - In this release 3 pull requests were closed. + +------------------------------------------------------------------- Old: ---- spyder-3.3.5.tar.gz New: ---- spyder-3.3.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spyder3.spec ++++++ --- /var/tmp/diff_new_pack.dkwmnI/_old 2019-07-26 12:43:14.549833260 +0200 +++ /var/tmp/diff_new_pack.dkwmnI/_new 2019-07-26 12:43:14.549833260 +0200 @@ -19,7 +19,7 @@ %bcond_with test %define X_display ":98" Name: spyder3 -Version: 3.3.5 +Version: 3.3.6 Release: 0 Url: https://www.spyder-ide.org/ Summary: The Scientific Python Development Environment @@ -90,7 +90,7 @@ Requires: python3-pyzmq Requires: python3-qt5 >= 5.2 Requires: python3-qtconsole >= 4.2.0 -Requires: python3-qtwebengine-qt5 < 5.13 +Requires: python3-qtwebengine-qt5 Requires: python3-rope >= 0.10.5 Requires: python3-spyder-kernels >= 0.5.0 Recommends: python3-Pillow ++++++ spyder-3.3.5.tar.gz -> spyder-3.3.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-3.3.5/CHANGELOG.md new/spyder-3.3.6/CHANGELOG.md --- old/spyder-3.3.5/CHANGELOG.md 2019-06-27 17:30:38.000000000 +0200 +++ new/spyder-3.3.6/CHANGELOG.md 2019-07-14 12:40:48.000000000 +0200 @@ -1,5 +1,26 @@ # History of changes +## Version 3.3.6 (2019-07-14) + +### Issues Closed + +* [Issue 9757](https://github.com/spyder-ide/spyder/issues/9757) - Text in help search bar becomes selected once help is displayed ([PR 9760](https://github.com/spyder-ide/spyder/pull/9760)) +* [Issue 8336](https://github.com/spyder-ide/spyder/issues/8336) - AttributeError in profiler ([PR 9758](https://github.com/spyder-ide/spyder/pull/9758)) + +In this release 2 issues were closed. + +### Pull Requests Merged + +* [PR 9760](https://github.com/spyder-ide/spyder/pull/9760) - PR: Backport PR #9552 ([9757](https://github.com/spyder-ide/spyder/issues/9757)) +* [PR 9758](https://github.com/spyder-ide/spyder/pull/9758) - PR: Avoid an error when profdata is None in Profiler ([8336](https://github.com/spyder-ide/spyder/issues/8336)) +* [PR 9718](https://github.com/spyder-ide/spyder/pull/9718) - PR: Fix completion plugins listening to external hosts + +In this release 3 pull requests were closed. + + +---- + + ## Version 3.3.5 (2019-06-27) ### New features diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-3.3.5/PKG-INFO new/spyder-3.3.6/PKG-INFO --- old/spyder-3.3.5/PKG-INFO 2019-06-27 17:32:07.000000000 +0200 +++ new/spyder-3.3.6/PKG-INFO 2019-07-14 12:49:52.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: spyder -Version: 3.3.5 +Version: 3.3.6 Summary: The Scientific Python Development Environment Home-page: https://www.spyder-ide.org/ Author: The Spyder Project Contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-3.3.5/spyder/__init__.py new/spyder-3.3.6/spyder/__init__.py --- old/spyder-3.3.5/spyder/__init__.py 2019-06-27 17:31:23.000000000 +0200 +++ new/spyder-3.3.6/spyder/__init__.py 2019-07-14 12:49:07.000000000 +0200 @@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE. """ -version_info = (3, 3, 5) +version_info = (3, 3, 6) __version__ = '.'.join(map(str, version_info)) __license__ = __doc__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-3.3.5/spyder/app/tests/test_mainwindow.py new/spyder-3.3.6/spyder/app/tests/test_mainwindow.py --- old/spyder-3.3.5/spyder/app/tests/test_mainwindow.py 2019-06-27 17:16:58.000000000 +0200 +++ new/spyder-3.3.6/spyder/app/tests/test_mainwindow.py 2019-07-14 12:36:01.000000000 +0200 @@ -298,12 +298,14 @@ qtbot.waitUntil(lambda: check_text(webpage, "NumPy"), timeout=6000) # Get help - numpy.arange - qtbot.keyClick(help_plugin.combo, Qt.Key_Right) qtbot.keyClicks(help_plugin.combo, '.arange', delay=100) # Check that a expected text is part of the page qtbot.waitUntil(lambda: check_text(webpage, "arange"), timeout=6000) + # Clear combo + help_plugin.combo.set_current_text('') + # Get help - np qtbot.keyClicks(help_plugin.combo, 'np', delay=100) @@ -311,7 +313,6 @@ qtbot.waitUntil(lambda: check_text(webpage, "NumPy"), timeout=6000) # Get help - np.arange - qtbot.keyClick(help_plugin.combo, Qt.Key_Right) qtbot.keyClicks(help_plugin.combo, '.arange', delay=100) # Check that a expected text is part of the page diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-3.3.5/spyder/plugins/help.py new/spyder-3.3.6/spyder/plugins/help.py --- old/spyder-3.3.5/spyder/plugins/help.py 2019-06-27 17:16:58.000000000 +0200 +++ new/spyder-3.3.6/spyder/plugins/help.py 2019-07-14 12:36:01.000000000 +0200 @@ -102,6 +102,9 @@ # A new item has just been selected if valid: self.selected() + # See spyder-ide/spyder#9542. + # Backport of PR spyder-ide/spyder#9552 + self.lineEdit().cursorWordForward(False) else: self.valid.emit(False, False) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-3.3.5/spyder/utils/introspection/plugin_client.py new/spyder-3.3.6/spyder/utils/introspection/plugin_client.py --- old/spyder-3.3.5/spyder/utils/introspection/plugin_client.py 2019-06-27 17:16:58.000000000 +0200 +++ new/spyder-3.3.6/spyder/utils/introspection/plugin_client.py 2019-07-14 12:36:02.000000000 +0200 @@ -23,6 +23,7 @@ # Heartbeat timer in milliseconds HEARTBEAT = 1000 +LOCALHOST = '127.0.0.1' class AsyncClient(QObject): @@ -66,7 +67,8 @@ """ # Set up the zmq port. self.socket = self.context.socket(zmq.PAIR) - self.port = self.socket.bind_to_random_port('tcp://*') + # We are only listening to localhost + self.port = self.socket.bind_to_random_port('tcp://%s' % LOCALHOST) # Set up the process. self.process = QProcess(self) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-3.3.5/spyder_profiler/widgets/profilergui.py new/spyder-3.3.6/spyder_profiler/widgets/profilergui.py --- old/spyder-3.3.5/spyder_profiler/widgets/profilergui.py 2019-06-27 17:16:58.000000000 +0200 +++ new/spyder-3.3.6/spyder_profiler/widgets/profilergui.py 2019-07-14 12:36:02.000000000 +0200 @@ -30,7 +30,7 @@ QTreeWidget, QTreeWidgetItem, QVBoxLayout, QWidget) # Local imports -from spyder.config.base import get_conf_path, get_translation, debug_print +from spyder.config.base import get_conf_path, get_translation from spyder.py3compat import to_text_string from spyder.utils import icon_manager as ima from spyder.utils.qthelpers import (create_toolbutton, get_item_user_text, @@ -466,20 +466,24 @@ def load_data(self, profdatafile): """Load profiler data saved by profile/cProfile module""" import pstats + # Fixes spyder-ide/spyder#6220 try: stats_indi = [pstats.Stats(profdatafile), ] except (OSError, IOError): + self.profdata = None return self.profdata = stats_indi[0] if self.compare_file is not None: + # Fixes spyder-ide/spyder#5587 try: stats_indi.append(pstats.Stats(self.compare_file)) except (OSError, IOError) as e: QMessageBox.critical( self, _("Error"), - _("Error when trying to load profiler results")) - debug_print("Error when calling pstats, {}".format(e)) + _("Error when trying to load profiler results. " + "The error was<br><br>" + "<tt>{0}</tt>").format(e)) self.compare_file = None map(lambda x: x.calc_callees(), stats_indi) self.profdata.calc_callees() @@ -495,12 +499,16 @@ self.setColumnHidden(i, hide) def save_data(self, filename): - """""" + """Save profiler data.""" self.stats1[0].dump_stats(filename) def find_root(self): """Find a function without a caller""" - self.profdata.sort_stats("cumulative") + # Fixes spyder-ide/spyder#8336 + if self.profdata is not None: + self.profdata.sort_stats("cumulative") + else: + return for func in self.profdata.fcn_list: if ('~', 0) != func[0:2] and not func[2].startswith( '<built-in method exec>'): @@ -520,7 +528,7 @@ self.setItemsExpandable(True) self.setSortingEnabled(False) rootkey = self.find_root() # This root contains profiler overhead - if rootkey: + if rootkey is not None: self.populate_tree(self, self.find_callees(rootkey)) self.resizeColumnToContents(0) self.setSortingEnabled(True)
