Hello community, here is the log from the commit of package python2-jupyter_ipython for openSUSE:Factory checked in at 2018-09-11 17:16:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python2-jupyter_ipython (Old) and /work/SRC/openSUSE:Factory/.python2-jupyter_ipython.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python2-jupyter_ipython" Tue Sep 11 17:16:37 2018 rev:6 rq:634258 version:5.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python2-jupyter_ipython/python2-jupyter_ipython.changes 2018-07-28 12:41:37.380566548 +0200 +++ /work/SRC/openSUSE:Factory/.python2-jupyter_ipython.new/python2-jupyter_ipython.changes 2018-09-11 17:16:43.383463095 +0200 @@ -1,0 +2,6 @@ +Fri Sep 7 16:58:54 UTC 2018 - toddrme2...@gmail.com + +- Update to 5.8.0 + * Update inspecting function/methods for future-proofing. + +------------------------------------------------------------------- Old: ---- ipython-5.7.0.tar.gz New: ---- ipython-5.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python2-jupyter_ipython.spec ++++++ --- /var/tmp/diff_new_pack.hac1Dg/_old 2018-09-11 17:16:43.871462345 +0200 +++ /var/tmp/diff_new_pack.hac1Dg/_new 2018-09-11 17:16:43.875462339 +0200 @@ -37,7 +37,7 @@ %endif Name: python2-jupyter_ipython -Version: 5.7.0 +Version: 5.8.0 Release: 0 Summary: Rich architecture for interactive computing with Python License: BSD-3-Clause ++++++ ipython-5.7.0.tar.gz -> ipython-5.8.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-5.7.0/IPython/core/release.py new/ipython-5.8.0/IPython/core/release.py --- old/ipython-5.7.0/IPython/core/release.py 2018-05-10 20:53:56.000000000 +0200 +++ new/ipython-5.8.0/IPython/core/release.py 2018-07-29 03:04:24.000000000 +0200 @@ -20,7 +20,7 @@ # release. 'dev' as a _version_extra string means this is a development # version _version_major = 5 -_version_minor = 7 +_version_minor = 8 _version_patch = 0 _version_extra = '.dev' # _version_extra = 'rc1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-5.7.0/IPython/utils/_signatures.py new/ipython-5.8.0/IPython/utils/_signatures.py --- old/ipython-5.7.0/IPython/utils/_signatures.py 2018-05-10 20:46:06.000000000 +0200 +++ new/ipython-5.8.0/IPython/utils/_signatures.py 2018-07-29 02:24:17.000000000 +0200 @@ -21,6 +21,7 @@ import functools import re import types +import inspect # patch for single-file @@ -71,7 +72,7 @@ if not callable(obj): raise TypeError('{0!r} is not a callable object'.format(obj)) - if isinstance(obj, types.MethodType): + if inspect.ismethod(obj): if obj.__self__ is None: # Unbound method - treat it as a function (no distinction in Py 3) obj = obj.__func__ @@ -96,7 +97,7 @@ else: return signature(wrapped) - if isinstance(obj, types.FunctionType): + if inspect.isfunction(obj): return Signature.from_function(obj) if isinstance(obj, functools.partial): @@ -511,7 +512,7 @@ def from_function(cls, func): '''Constructs Signature for the given python function''' - if not isinstance(func, types.FunctionType): + if not inspect.isfunction(func): raise TypeError('{0!r} is not a Python function'.format(func)) Parameter = cls._parameter_cls diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-5.7.0/IPython/utils/_sysinfo.py new/ipython-5.8.0/IPython/utils/_sysinfo.py --- old/ipython-5.7.0/IPython/utils/_sysinfo.py 2018-05-10 20:54:38.000000000 +0200 +++ new/ipython-5.8.0/IPython/utils/_sysinfo.py 2018-07-29 03:04:49.000000000 +0200 @@ -1,2 +1,2 @@ # GENERATED BY setup.py -commit = u"a0d6ad545" +commit = u"033ab93c7" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-5.7.0/PKG-INFO new/ipython-5.8.0/PKG-INFO --- old/ipython-5.7.0/PKG-INFO 2018-05-10 20:54:38.000000000 +0200 +++ new/ipython-5.8.0/PKG-INFO 2018-07-29 03:04:49.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: ipython -Version: 5.7.0 +Version: 5.8.0 Summary: IPython: Productive Interactive Computing Home-page: https://ipython.org Author: The IPython Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-5.7.0/docs/source/whatsnew/version5.rst new/ipython-5.8.0/docs/source/whatsnew/version5.rst --- old/ipython-5.7.0/docs/source/whatsnew/version5.rst 2018-05-10 20:47:30.000000000 +0200 +++ new/ipython-5.8.0/docs/source/whatsnew/version5.rst 2018-07-29 02:24:17.000000000 +0200 @@ -2,6 +2,12 @@ 5.x Series ============ +.. _whatsnew580 + +IPython 5.8.0 +============= + +* Update inspecting function/methods for future-proofing. :ghpull:`11139` .. _whatsnew570: