Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ipykernel for openSUSE:Factory checked in at 2021-12-25 20:16:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ipykernel (Old) and /work/SRC/openSUSE:Factory/.python-ipykernel.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipykernel" Sat Dec 25 20:16:27 2021 rev:18 rq:941537 version:6.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ipykernel/python-ipykernel.changes 2021-09-26 21:48:59.574799535 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipykernel.new.2520/python-ipykernel.changes 2021-12-25 20:16:31.717243890 +0100 @@ -1,0 +2,10 @@ +Sun Dec 19 19:59:00 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 6.4.2 + * Enabled rich rendering of variables in the debugger #787 + (@JohanMabille) + * Remove setting of the eventloop function in the InProcessKernel + #781 (@rayosborn) + * Add python version classifiers #783 (@emuccino) + +------------------------------------------------------------------- Old: ---- ipykernel-6.4.1.tar.gz New: ---- ipykernel-6.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ipykernel.spec ++++++ --- /var/tmp/diff_new_pack.QCyC9h/_old 2021-12-25 20:16:33.225245118 +0100 +++ /var/tmp/diff_new_pack.QCyC9h/_new 2021-12-25 20:16:33.225245118 +0100 @@ -20,7 +20,8 @@ %define skip_python2 1 %define skip_python36 1 Name: python-ipykernel -Version: 6.4.1 +# Note: Don't update to > 6.4 until you can update traitlets 4, which is required for python36 +Version: 6.4.2 Release: 0 Summary: IPython Kernel for Jupyter License: BSD-3-Clause @@ -30,10 +31,8 @@ BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: hicolor-icon-theme BuildRequires: jupyter-jupyter_core-filesystem BuildRequires: python-rpm-macros -Requires: hicolor-icon-theme Requires: jupyter-jupyter-client Requires: python-debugpy >= 1.0 Requires: python-ipython >= 7.23.1 ++++++ ipykernel-6.4.1.tar.gz -> ipykernel-6.4.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipykernel-6.4.1/CHANGELOG.md new/ipykernel-6.4.2/CHANGELOG.md --- old/ipykernel-6.4.1/CHANGELOG.md 2021-09-10 15:06:28.000000000 +0200 +++ new/ipykernel-6.4.2/CHANGELOG.md 2021-10-20 03:14:39.000000000 +0200 @@ -4,6 +4,30 @@ <!-- <START NEW CHANGELOG ENTRY> --> +## 6.4.2 + +([Full Changelog](https://github.com/ipython/ipykernel/compare/v6.4.1...231fd3c65f8a15e9e015546c0a6846e22df9ba2a)) + +### Enhancements made + +- Enabled rich rendering of variables in the debugger [#787](https://github.com/ipython/ipykernel/pull/787) ([@JohanMabille](https://github.com/JohanMabille)) + +### Bugs fixed + +- Remove setting of the eventloop function in the InProcessKernel [#781](https://github.com/ipython/ipykernel/pull/781) ([@rayosborn](https://github.com/rayosborn)) + +### Maintenance and upkeep improvements + +- Add python version classifiers [#783](https://github.com/ipython/ipykernel/pull/783) ([@emuccino](https://github.com/emuccino)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/ipython/ipykernel/graphs/contributors?from=2021-09-10&to=2021-10-19&type=c)) + +[@emuccino](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Aemuccino+updated%3A2021-09-10..2021-10-19&type=Issues) | [@JohanMabille](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3AJohanMabille+updated%3A2021-09-10..2021-10-19&type=Issues) | [@rayosborn](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Arayosborn+updated%3A2021-09-10..2021-10-19&type=Issues) + +<!-- <END NEW CHANGELOG ENTRY> --> + ## 6.4.1 ([Full Changelog](https://github.com/ipython/ipykernel/compare/v6.4.0...4da7623c1ae733f32c0792d70e7af283a7b19d22)) @@ -18,8 +42,6 @@ [@minrk](https://github.com/search?q=repo%3Aipython%2Fipykernel+involves%3Aminrk+updated%3A2021-09-09..2021-09-10&type=Issues) -<!-- <END NEW CHANGELOG ENTRY> --> - ## 6.4.0 ([Full Changelog](https://github.com/ipython/ipykernel/compare/v6.3.1...1ba6b48a97877ff7a564af32c531618efb7d2a57)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipykernel-6.4.1/PKG-INFO new/ipykernel-6.4.2/PKG-INFO --- old/ipykernel-6.4.1/PKG-INFO 2021-09-10 15:06:58.263110400 +0200 +++ new/ipykernel-6.4.2/PKG-INFO 2021-10-20 03:15:16.932088600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: ipykernel -Version: 6.4.1 +Version: 6.4.2 Summary: IPython Kernel for Jupyter Home-page: https://ipython.org Author: IPython Development Team @@ -16,6 +16,9 @@ Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Requires-Python: >=3.7 Description-Content-Type: text/markdown Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipykernel-6.4.1/ipykernel/_version.py new/ipykernel-6.4.2/ipykernel/_version.py --- old/ipykernel-6.4.1/ipykernel/_version.py 2021-09-10 15:06:45.000000000 +0200 +++ new/ipykernel-6.4.2/ipykernel/_version.py 2021-10-20 03:14:59.000000000 +0200 @@ -4,7 +4,7 @@ import re # Version string must appear intact for tbump versioning -__version__ = '6.4.1' +__version__ = '6.4.2' # Build up version_info tuple for backwards compatibility pattern = r'(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipykernel-6.4.1/ipykernel/debugger.py new/ipykernel-6.4.2/ipykernel/debugger.py --- old/ipykernel-6.4.1/ipykernel/debugger.py 2021-09-10 15:06:28.000000000 +0200 +++ new/ipykernel-6.4.2/ipykernel/debugger.py 2021-10-20 03:14:39.000000000 +0200 @@ -493,7 +493,8 @@ 'tmpFilePrefix': get_tmp_directory() + '/', 'tmpFileSuffix': '.py', 'breakpoints': breakpoint_list, - 'stoppedThreads': self.stopped_threads + 'stoppedThreads': self.stopped_threads, + 'richRendering': True } } return reply @@ -509,7 +510,24 @@ return self._build_variables_response(message, variables) async def richInspectVariables(self, message): + reply = { + 'type': 'response', + 'sequence_seq': message['seq'], + 'success': False, + 'command': message['command'] + } + var_name = message['arguments']['variableName'] + valid_name = str.isidentifier(var_name) + if not valid_name: + reply['body'] = { + 'data': {}, + 'metadata': {} + } + if var_name == 'special variables' or var_name == 'function variables': + reply['success'] = True + return reply + var_repr_data = var_name + '_repr_data' var_repr_metadata = var_name + '_repr_metadata' @@ -536,13 +554,6 @@ } await self._forward_message(request) - reply = { - 'type': 'response', - 'sequence_seq': message['seq'], - 'success': False, - 'command': message['command'] - } - repr_data = globals()[var_repr_data] repr_metadata = globals()[var_repr_metadata] body = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipykernel-6.4.1/ipykernel/inprocess/ipkernel.py new/ipykernel-6.4.2/ipykernel/inprocess/ipkernel.py --- old/ipykernel-6.4.1/ipykernel/inprocess/ipkernel.py 2021-09-10 15:06:28.000000000 +0200 +++ new/ipykernel-6.4.2/ipykernel/inprocess/ipkernel.py 2021-10-20 03:14:39.000000000 +0200 @@ -175,13 +175,10 @@ def enable_gui(self, gui=None): """Enable GUI integration for the kernel.""" - from ipykernel.eventloops import enable_gui if not gui: gui = self.kernel.gui - enable_gui(gui, kernel=self.kernel) self.active_eventloop = gui - def enable_matplotlib(self, gui=None): """Enable matplotlib integration for the kernel.""" if not gui: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipykernel-6.4.1/ipykernel.egg-info/PKG-INFO new/ipykernel-6.4.2/ipykernel.egg-info/PKG-INFO --- old/ipykernel-6.4.1/ipykernel.egg-info/PKG-INFO 2021-09-10 15:06:58.000000000 +0200 +++ new/ipykernel-6.4.2/ipykernel.egg-info/PKG-INFO 2021-10-20 03:15:16.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: ipykernel -Version: 6.4.1 +Version: 6.4.2 Summary: IPython Kernel for Jupyter Home-page: https://ipython.org Author: IPython Development Team @@ -16,6 +16,9 @@ Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 Requires-Python: >=3.7 Description-Content-Type: text/markdown Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipykernel-6.4.1/pyproject.toml new/ipykernel-6.4.2/pyproject.toml --- old/ipykernel-6.4.1/pyproject.toml 2021-09-10 15:06:45.000000000 +0200 +++ new/ipykernel-6.4.2/pyproject.toml 2021-10-20 03:14:59.000000000 +0200 @@ -16,7 +16,7 @@ skip = ["check-links"] [tool.tbump.version] -current = "6.4.1" +current = "6.4.2" regex = ''' (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) ((?P<channel>a|b|rc|.dev)(?P<release>\d+))? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipykernel-6.4.1/setup.py new/ipykernel-6.4.2/setup.py --- old/ipykernel-6.4.1/setup.py 2021-09-10 15:06:28.000000000 +0200 +++ new/ipykernel-6.4.2/setup.py 2021-10-20 03:14:39.000000000 +0200 @@ -89,6 +89,9 @@ 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9' ], )