commit python-spyder-kernels for openSUSE:Factory
Hello community, here is the log from the commit of package python-spyder-kernels for openSUSE:Factory checked in at 2018-09-26 16:11:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-spyder-kernels (Old) and /work/SRC/openSUSE:Factory/.python-spyder-kernels.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-spyder-kernels" Wed Sep 26 16:11:28 2018 rev:3 rq:636490 version:0.2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-spyder-kernels/python-spyder-kernels.changes 2018-08-18 00:04:39.567175271 +0200 +++ /work/SRC/openSUSE:Factory/.python-spyder-kernels.new/python-spyder-kernels.changes 2018-09-26 16:11:31.651475587 +0200 @@ -1,0 +2,5 @@ +Tue Sep 11 17:30:31 UTC 2018 - Sebastian Wagner <sebix+novell.com@sebix.at> + +- downgrade to version 0.2.6 (boo#1105801). + +------------------------------------------------------------------- Old: ---- spyder-kernels-1.1.0.tar.gz New: ---- spyder-kernels-0.2.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-spyder-kernels.spec ++++++ --- /var/tmp/diff_new_pack.xiZGWm/_old 2018-09-26 16:11:32.095474849 +0200 +++ /var/tmp/diff_new_pack.xiZGWm/_new 2018-09-26 16:11:32.095474849 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-spyder-kernels -Version: 1.1.0 +Version: 0.2.6 Release: 0 Summary: Jupyter kernels for Spyder's console License: MIT ++++++ spyder-kernels-1.1.0.tar.gz -> spyder-kernels-0.2.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-1.1.0/CHANGELOG.md new/spyder-kernels-0.2.6/CHANGELOG.md --- old/spyder-kernels-1.1.0/CHANGELOG.md 2018-08-12 00:11:10.000000000 +0200 +++ new/spyder-kernels-0.2.6/CHANGELOG.md 2018-08-10 00:18:48.000000000 +0200 @@ -1,47 +1,8 @@ # History of changes -## Version 1.1 (2018-08-11) - -### Issues Closed - -* [Issue 14](https://github.com/spyder-ide/spyder-kernels/issues/14) - Startup lines to split with semicolon instead of comma ([PR 15](https://github.com/spyder-ide/spyder-kernels/pull/15)) - -In this release 1 issue was closed. - -### Pull Requests Merged - -* [PR 15](https://github.com/spyder-ide/spyder-kernels/pull/15) - PR: Separate startup run_lines with semicolon instead of comma ([14](https://github.com/spyder-ide/spyder-kernels/issues/14)) - -In this release 1 pull request was closed. - ----- - -## Version 1.0.3 (2018-08-09) - -Sister release for 0.2.6 - ----- - -## Version 1.0.2 (2018-08-09) - -Sister release for 0.2.5 - ----- - -## Version 1.0.1 (2018-06-25) - -Sister release for 0.2.4 - ----- - -## Version 1.0.0 (2018-06-24) - -Initial release for Spyder 4 - ----- - ## Version 0.2.6 (2018-08-09) + ### Pull Requests Merged * [PR 20](https://github.com/spyder-ide/spyder-kernels/pull/20) - PR: Include license file again in tarball diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-1.1.0/PKG-INFO new/spyder-kernels-0.2.6/PKG-INFO --- old/spyder-kernels-1.1.0/PKG-INFO 2018-08-12 00:14:02.000000000 +0200 +++ new/spyder-kernels-0.2.6/PKG-INFO 2018-08-10 00:23:02.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: spyder-kernels -Version: 1.1.0 +Version: 0.2.6 Summary: Jupyter kernels for Spyder's console Home-page: https://github.com/spyder-ide/spyder-kernels Author: Spyder Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-1.1.0/spyder_kernels/_version.py new/spyder-kernels-0.2.6/spyder_kernels/_version.py --- old/spyder-kernels-1.1.0/spyder_kernels/_version.py 2018-08-12 00:13:23.000000000 +0200 +++ new/spyder-kernels-0.2.6/spyder_kernels/_version.py 2018-08-10 00:22:08.000000000 +0200 @@ -8,5 +8,5 @@ """Version File.""" -VERSION_INFO = (1, 1, 0) +VERSION_INFO = (0, 2, 6) __version__ = '.'.join(map(str, VERSION_INFO)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-1.1.0/spyder_kernels/console/kernel.py new/spyder-kernels-0.2.6/spyder_kernels/console/kernel.py --- old/spyder-kernels-1.1.0/spyder_kernels/console/kernel.py 2018-08-10 00:24:41.000000000 +0200 +++ new/spyder-kernels-0.2.6/spyder_kernels/console/kernel.py 2018-08-10 00:17:14.000000000 +0200 @@ -104,7 +104,6 @@ properties[name] = { 'is_list': isinstance(value, (tuple, list)), 'is_dict': isinstance(value, dict), - 'is_set': isinstance(value, set), 'len': self._get_len(value), 'is_array': self._is_array(value), 'is_image': self._is_image(value), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-1.1.0/spyder_kernels/console/start.py new/spyder-kernels-0.2.6/spyder_kernels/console/start.py --- old/spyder-kernels-1.1.0/spyder_kernels/console/start.py 2018-08-12 00:09:00.000000000 +0200 +++ new/spyder-kernels-0.2.6/spyder_kernels/console/start.py 2018-08-07 21:28:05.000000000 +0200 @@ -103,7 +103,7 @@ # Run lines of code at startup run_lines_o = os.environ.get('SPY_RUN_LINES_O') if run_lines_o is not None: - spy_cfg.IPKernelApp.exec_lines = [x.strip() for x in run_lines_o.split(';')] + spy_cfg.IPKernelApp.exec_lines = [x.strip() for x in run_lines_o.split(',')] else: spy_cfg.IPKernelApp.exec_lines = [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-1.1.0/spyder_kernels/utils/nsview.py new/spyder-kernels-0.2.6/spyder_kernels/utils/nsview.py --- old/spyder-kernels-1.1.0/spyder_kernels/utils/nsview.py 2018-08-10 00:24:41.000000000 +0200 +++ new/spyder-kernels-0.2.6/spyder_kernels/utils/nsview.py 2018-08-10 00:17:14.000000000 +0200 @@ -71,9 +71,9 @@ # Pandas support #============================================================================== try: - from pandas import DataFrame, Index, Series + from pandas import DataFrame, DatetimeIndex, Series except: - DataFrame = Index = Series = FakeObject + DataFrame = DatetimeIndex = Series = FakeObject #============================================================================== @@ -115,13 +115,13 @@ def get_size(item): """Return size of an item of arbitrary type""" - if isinstance(item, (list, set, tuple, dict)): + if isinstance(item, (list, tuple, dict)): return len(item) elif isinstance(item, (ndarray, MaskedArray)): return item.shape elif isinstance(item, Image): return item.size - if isinstance(item, (DataFrame, Index, Series)): + if isinstance(item, (DataFrame, DatetimeIndex, Series)): return item.shape else: return 1 @@ -197,7 +197,6 @@ bool: "#ff00ff", NUMERIC_TYPES: SCALAR_COLOR, list: "#ffff00", - set: "#008000", dict: "#00ffff", tuple: "#c0c0c0", TEXT_TYPES: "#800000", @@ -206,7 +205,7 @@ matrix, DataFrame, Series, - Index): ARRAY_COLOR, + DatetimeIndex): ARRAY_COLOR, Image: "#008000", datetime.date: "#808000", datetime.timedelta: "#808000", @@ -278,9 +277,8 @@ def collections_display(value, level): - """Display for collections (i.e. list, set, tuple and dict).""" + """Display for collections (i.e. list, tuple and dict).""" is_dict = isinstance(value, dict) - is_set = isinstance(value, set) # Get elements if is_dict: @@ -291,10 +289,10 @@ # Truncate values truncate = False if level == 1 and len(value) > 10: - elements = islice(elements, 10) if is_dict or is_set else value[:10] + elements = islice(elements, 10) if is_dict else value[:10] truncate = True elif level == 2 and len(value) > 5: - elements = islice(elements, 5) if is_dict or is_set else value[:5] + elements = islice(elements, 5) if is_dict else value[:5] truncate = True # Get display of each element @@ -317,8 +315,6 @@ display = '{' + display + '}' elif isinstance(value, list): display = '[' + display + ']' - elif isinstance(value, set): - display = '{' + display + '}' else: display = '(' + display + ')' @@ -365,7 +361,7 @@ display = default_display(value) else: display = 'Numpy array' - elif any([type(value) == t for t in [list, set, tuple, dict]]): + elif any([type(value) == t for t in [list, tuple, dict]]): display = collections_display(value, level+1) elif isinstance(value, Image): if level == 0: @@ -396,14 +392,14 @@ display = to_text_string(value) if level > 0: display = u"'" + display + u"'" - elif isinstance(value, Index): + elif isinstance(value, DatetimeIndex): if level == 0: try: display = value._summary() except AttributeError: display = value.summary() else: - display = 'Index' + display = 'DatetimeIndex' elif is_binary_string(value): # We don't apply this to classes that extend string types # See issue 5636 @@ -514,8 +510,8 @@ """Return type string of an object.""" if isinstance(item, DataFrame): return "DataFrame" - if isinstance(item, Index): - return type(item).__name__ + if isinstance(item, DatetimeIndex): + return "DatetimeIndex" if isinstance(item, Series): return "Series" found = re.findall(r"<(?:type|class) '(\S*)'>", @@ -615,8 +611,8 @@ in spyder-docs """ from datetime import date, timedelta - editable_types = [int, float, complex, list, set, dict, tuple, date, - timedelta] + list(TEXT_TYPES) + list(INT_TYPES) + editable_types = [int, float, complex, list, dict, tuple, date, timedelta + ] + list(TEXT_TYPES) + list(INT_TYPES) try: from numpy import ndarray, matrix, generic editable_types += [ndarray, matrix, generic] @@ -624,7 +620,7 @@ pass try: from pandas import DataFrame, Series, DatetimeIndex - editable_types += [DataFrame, Series, Index] + editable_types += [DataFrame, Series, DatetimeIndex] except: pass picklable_types = editable_types[:] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-1.1.0/spyder_kernels/utils/tests/test_nsview.py new/spyder-kernels-0.2.6/spyder_kernels/utils/tests/test_nsview.py --- old/spyder-kernels-1.1.0/spyder_kernels/utils/tests/test_nsview.py 2018-08-10 00:24:41.000000000 +0200 +++ new/spyder-kernels-0.2.6/spyder_kernels/utils/tests/test_nsview.py 2018-08-10 00:17:14.000000000 +0200 @@ -177,26 +177,6 @@ assert is_supported(di, filters=supported_types) -def test_set_display(): - """Tests for display of sets.""" - long_set = {i for i in range(100)} - - # Simple set - assert value_to_display({1, 2, 3}) == '{1, 2, 3}' - - # Long set - disp = '{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, ...}' - assert value_to_display(long_set) == disp - - # Short list of sets - disp = '[{0, 1, 2, 3, 4, ...}, {0, 1, 2, 3, 4, ...}, {0, 1, 2, 3, 4, ...}]' - assert value_to_display([long_set] * 3) == disp - - # Long list of sets - disp = '[' + ''.join('{0, 1, 2, 3, 4, ...}, '*10)[:-2] + ']' - assert value_to_display([long_set] * 10) == disp[:70] + ' ...' - - def test_datetime_display(): """Simple tests that dates, datetimes and timedeltas display correctly.""" test_date = datetime.date(2017, 12, 18) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spyder-kernels-1.1.0/spyder_kernels.egg-info/PKG-INFO new/spyder-kernels-0.2.6/spyder_kernels.egg-info/PKG-INFO --- old/spyder-kernels-1.1.0/spyder_kernels.egg-info/PKG-INFO 2018-08-12 00:14:01.000000000 +0200 +++ new/spyder-kernels-0.2.6/spyder_kernels.egg-info/PKG-INFO 2018-08-10 00:23:02.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: spyder-kernels -Version: 1.1.0 +Version: 0.2.6 Summary: Jupyter kernels for Spyder's console Home-page: https://github.com/spyder-ide/spyder-kernels Author: Spyder Development Team
participants (1)
-
root