Hello community, here is the log from the commit of package python-ipython for openSUSE:Factory checked in at 2020-09-04 11:01:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ipython (Old) and /work/SRC/openSUSE:Factory/.python-ipython.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipython" Fri Sep 4 11:01:49 2020 rev:13 rq:830695 version:7.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ipython/python-ipython.changes 2020-08-06 17:33:17.473105683 +0200 +++ /work/SRC/openSUSE:Factory/.python-ipython.new.3399/python-ipython.changes 2020-09-04 11:02:49.050742469 +0200 @@ -1,0 +2,11 @@ +Sat Aug 29 16:14:09 UTC 2020 - Arun Persaud <[email protected]> + +- update to version 7.18.0: + * IPython 7.18 is a minor release that mostly contains bugfixes. + + CRLF is now handled by magics my default; solving some issues + due to copy pasting on windows. :ghpull:`12475` + + Requiring pexpect >=4.3 as we are Python 3.7+ only and earlier + version of pexpect will be incompatible. :ghpull:`12510` + + Minimum jedi version is now 0.16. :ghpull:`12488` + +------------------------------------------------------------------- Old: ---- ipython-7.17.0.tar.gz New: ---- ipython-7.18.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ipython.spec ++++++ --- /var/tmp/diff_new_pack.PXg8jO/_old 2020-09-04 11:02:51.074743553 +0200 +++ /var/tmp/diff_new_pack.PXg8jO/_new 2020-09-04 11:02:51.078743555 +0200 @@ -28,7 +28,7 @@ %define skip_python2 1 %bcond_without iptest Name: python-ipython%{psuffix} -Version: 7.17.0 +Version: 7.18.0 Release: 0 Summary: Rich architecture for interactive computing with Python License: BSD-3-Clause @@ -45,8 +45,8 @@ Requires: python-backcall Requires: python-base >= 3.5 Requires: python-decorator -Requires: python-jedi >= 0.10 -Requires: python-pexpect +Requires: python-jedi >= 0.16 +Requires: python-pexpect >= 4.6 Requires: python-pickleshare Requires: python-prompt_toolkit < 3.1 Requires: python-prompt_toolkit >= 2.0 ++++++ ipython-7.17.0.tar.gz -> ipython-7.18.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/IPython/core/completer.py new/ipython-7.18.0/IPython/core/completer.py --- old/ipython-7.17.0/IPython/core/completer.py 2020-08-01 03:31:27.000000000 +0200 +++ new/ipython-7.18.0/IPython/core/completer.py 2020-08-28 21:11:58.000000000 +0200 @@ -988,7 +988,8 @@ """ - return '(%s)'% ', '.join([f for f in (_formatparamchildren(p) for p in completion.params) if f]) + return '(%s)'% ', '.join([f for f in (_formatparamchildren(p) for signature in completion.get_signatures() + for p in signature.defined_names()) if f]) class IPCompleter(Completer): """Extension of the completer class with IPython-specific features""" @@ -1398,7 +1399,7 @@ if not try_jedi: return [] try: - return filter(completion_filter, interpreter.completions()) + return filter(completion_filter, interpreter.complete()) except Exception as e: if self.debug: return [_FakeJediCompletion('Oops Jedi has crashed, please report a bug with the following:\n"""\n%s\ns"""' % (e))] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/IPython/core/inputtransformer2.py new/ipython-7.18.0/IPython/core/inputtransformer2.py --- old/ipython-7.17.0/IPython/core/inputtransformer2.py 2020-08-01 03:31:27.000000000 +0200 +++ new/ipython-7.18.0/IPython/core/inputtransformer2.py 2020-08-28 21:11:58.000000000 +0200 @@ -61,6 +61,9 @@ Used mainly for plain Python prompts (``>>>``), where the continuation prompt ``...`` is a valid Python expression in Python 3, so shouldn't be stripped. + Notes + ----- + If initial_re and prompt_re differ, only initial_re will be tested against the first line. If any prompt is found on the first two lines, @@ -94,7 +97,7 @@ if re.match(r'%%\w+\?', lines[0]): # This case will be handled by help_end return lines - magic_name, _, first_line = lines[0][2:-1].partition(' ') + magic_name, _, first_line = lines[0][2:].rstrip().partition(' ') body = ''.join(lines[1:]) return ['get_ipython().run_cell_magic(%r, %r, %r)\n' % (magic_name, first_line, body)] @@ -152,8 +155,8 @@ multiple lines. """ parts = [lines[start[0]][start[1]:]] + lines[start[0]+1:end_line+1] - return ' '.join([p[:-2] for p in parts[:-1]] # Strip backslash+newline - + [parts[-1][:-1]]) # Strip newline from last line + return ' '.join([p.rstrip()[:-1] for p in parts[:-1]] # Strip backslash+newline + + [parts[-1].rstrip()]) # Strip newline from last line class TokenTransformBase: """Base class for transformations which examine tokens. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/IPython/core/magics/pylab.py new/ipython-7.18.0/IPython/core/magics/pylab.py --- old/ipython-7.17.0/IPython/core/magics/pylab.py 2020-07-24 03:10:13.000000000 +0200 +++ new/ipython-7.18.0/IPython/core/magics/pylab.py 2020-08-28 21:14:24.000000000 +0200 @@ -154,7 +154,7 @@ gui, backend, clobbered = self.shell.enable_pylab(args.gui, import_all=import_all) self._show_matplotlib_backend(args.gui, backend) - print ("Populating the interactive namespace from numpy and matplotlib") + print("Populating the interactive namespace from numpy and matplotlib") if clobbered: warn("pylab import has clobbered these variables: %s" % clobbered + "\n`%matplotlib` prevents importing * from pylab and numpy" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/IPython/core/release.py new/ipython-7.18.0/IPython/core/release.py --- old/ipython-7.17.0/IPython/core/release.py 2020-08-01 03:45:16.000000000 +0200 +++ new/ipython-7.18.0/IPython/core/release.py 2020-08-28 21:35:24.000000000 +0200 @@ -20,7 +20,7 @@ # release. 'dev' as a _version_extra string means this is a development # version _version_major = 7 -_version_minor = 17 +_version_minor = 18 _version_patch = 0 _version_extra = '.dev' # _version_extra = 'b1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/IPython/core/release.pybkp new/ipython-7.18.0/IPython/core/release.pybkp --- old/ipython-7.17.0/IPython/core/release.pybkp 2020-08-01 03:44:57.000000000 +0200 +++ new/ipython-7.18.0/IPython/core/release.pybkp 1970-01-01 01:00:00.000000000 +0100 @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -"""Release data for the IPython project.""" - -#----------------------------------------------------------------------------- -# Copyright (c) 2008, IPython Development Team. -# Copyright (c) 2001, Fernando Perez <[email protected]> -# Copyright (c) 2001, Janko Hauser <[email protected]> -# Copyright (c) 2001, Nathaniel Gray <[email protected]> -# -# Distributed under the terms of the Modified BSD License. -# -# The full license is in the file COPYING.txt, distributed with this software. -#----------------------------------------------------------------------------- - -# Name of the package for release purposes. This is the name which labels -# the tarballs and RPMs made by distutils, so it's best to lowercase it. -name = 'ipython' - -# IPython version information. An empty _version_extra corresponds to a full -# release. 'dev' as a _version_extra string means this is a development -# version -_version_major = 7 -_version_minor = 17 -_version_patch = 0 -_version_extra = '.dev' -# _version_extra = 'b1' -_version_extra = '' # Uncomment this for full releases - -# Construct full version string from these. -_ver = [_version_major, _version_minor, _version_patch] - -__version__ = '.'.join(map(str, _ver)) -if _version_extra: - __version__ = __version__ + _version_extra - -version = __version__ # backwards compatibility name -version_info = (_version_major, _version_minor, _version_patch, _version_extra) - -# Change this when incrementing the kernel protocol version -kernel_protocol_version_info = (5, 0) -kernel_protocol_version = "%i.%i" % kernel_protocol_version_info - -description = "IPython: Productive Interactive Computing" - -long_description = \ -""" -IPython provides a rich toolkit to help you make the most out of using Python -interactively. Its main components are: - -* A powerful interactive Python shell -* A `Jupyter <https://jupyter.org/>`_ kernel to work with Python code in Jupyter - notebooks and other interactive frontends. - -The enhanced interactive Python shells have the following main features: - -* Comprehensive object introspection. - -* Input history, persistent across sessions. - -* Caching of output results during a session with automatically generated - references. - -* Extensible tab completion, with support by default for completion of python - variables and keywords, filenames and function keywords. - -* Extensible system of 'magic' commands for controlling the environment and - performing many tasks related either to IPython or the operating system. - -* A rich configuration system with easy switching between different setups - (simpler than changing $PYTHONSTARTUP environment variables every time). - -* Session logging and reloading. - -* Extensible syntax processing for special purpose situations. - -* Access to the system shell with user-extensible alias system. - -* Easily embeddable in other Python programs and GUIs. - -* Integrated access to the pdb debugger and the Python profiler. - -The latest development version is always available from IPython's `GitHub -site <http://github.com/ipython>`_. -""" - -license = 'BSD' - -authors = {'Fernando' : ('Fernando Perez','[email protected]'), - 'Janko' : ('Janko Hauser','[email protected]'), - 'Nathan' : ('Nathaniel Gray','[email protected]'), - 'Ville' : ('Ville Vainio','[email protected]'), - 'Brian' : ('Brian E Granger', '[email protected]'), - 'Min' : ('Min Ragan-Kelley', '[email protected]'), - 'Thomas' : ('Thomas A. Kluyver', '[email protected]'), - 'Jorgen' : ('Jorgen Stenarson', '[email protected]'), - 'Matthias' : ('Matthias Bussonnier', '[email protected]'), - } - -author = 'The IPython Development Team' - -author_email = '[email protected]' - -url = 'https://ipython.org' - - -platforms = ['Linux','Mac OSX','Windows'] - -keywords = ['Interactive','Interpreter','Shell', 'Embedding'] - -classifiers = [ - 'Framework :: IPython', - 'Intended Audience :: Developers', - 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: BSD License', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3 :: Only', - 'Topic :: System :: Shells' - ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/IPython/core/tests/test_inputtransformer2.py new/ipython-7.18.0/IPython/core/tests/test_inputtransformer2.py --- old/ipython-7.17.0/IPython/core/tests/test_inputtransformer2.py 2020-08-01 02:51:05.000000000 +0200 +++ new/ipython-7.18.0/IPython/core/tests/test_inputtransformer2.py 2020-08-28 21:11:58.000000000 +0200 @@ -31,6 +31,16 @@ get_ipython().run_line_magic('ls', '') """.splitlines(keepends=True)) +CRLF_MAGIC = ([ + "a = f()\n", + "%ls\r\n", + "g()\n" +], (2, 0), [ + "a = f()\n", + "get_ipython().run_line_magic('ls', '')\n", + "g()\n" +]) + MULTILINE_MAGIC_ASSIGN = ("""\ a = f() b = %foo \\ @@ -190,6 +200,7 @@ def test_transform_magic_escape(): check_transform(ipt2.EscapedCommand, MULTILINE_MAGIC) check_transform(ipt2.EscapedCommand, INDENTED_MAGIC) + check_transform(ipt2.EscapedCommand, CRLF_MAGIC) def test_find_autocalls(): for case in [AUTOCALL_QUOTE, AUTOCALL_QUOTE2, AUTOCALL_PAREN]: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/IPython/core/tests/test_inputtransformer2_line.py new/ipython-7.18.0/IPython/core/tests/test_inputtransformer2_line.py --- old/ipython-7.17.0/IPython/core/tests/test_inputtransformer2_line.py 2020-07-24 03:10:13.000000000 +0200 +++ new/ipython-7.18.0/IPython/core/tests/test_inputtransformer2_line.py 2020-08-28 21:11:58.000000000 +0200 @@ -114,3 +114,13 @@ nt.assert_equal( ipt2.leading_empty_lines(sample.splitlines(keepends=True)), expected.splitlines(keepends=True)) + +CRLF_MAGIC = ([ + "%%ls\r\n" +], [ + "get_ipython().run_cell_magic('ls', '', '')\n" +]) + +def test_crlf_magic(): + for sample, expected in [CRLF_MAGIC]: + nt.assert_equal(ipt2.cell_magic(sample), expected) \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/IPython/utils/_sysinfo.py new/ipython-7.18.0/IPython/utils/_sysinfo.py --- old/ipython-7.17.0/IPython/utils/_sysinfo.py 2020-08-01 03:45:16.000000000 +0200 +++ new/ipython-7.18.0/IPython/utils/_sysinfo.py 2020-08-28 21:35:24.000000000 +0200 @@ -1,2 +1,2 @@ # GENERATED BY setup.py -commit = u"05c1664fb" +commit = u"62779a198" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/PKG-INFO new/ipython-7.18.0/PKG-INFO --- old/ipython-7.17.0/PKG-INFO 2020-08-01 03:45:16.000000000 +0200 +++ new/ipython-7.18.0/PKG-INFO 2020-08-28 21:35:24.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: ipython -Version: 7.17.0 +Version: 7.18.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-7.17.0/README.rst new/ipython-7.18.0/README.rst --- old/ipython-7.17.0/README.rst 2020-07-24 03:10:13.000000000 +0200 +++ new/ipython-7.18.0/README.rst 2020-08-28 21:14:01.000000000 +0200 @@ -29,6 +29,8 @@ Starting with IPython 7.10, IPython follows `NEP 29 <https://numpy.org/neps/nep-0029-deprecation_policy.html>`_ +**IPython 7.17+** requires Python version 3.7 and above. + **IPython 7.10+** requires Python version 3.6 and above. **IPython 7.0** requires Python version 3.5 and above. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/docs/source/whatsnew/github-stats-7.rst new/ipython-7.18.0/docs/source/whatsnew/github-stats-7.rst --- old/ipython-7.17.0/docs/source/whatsnew/github-stats-7.rst 2020-08-01 03:40:45.000000000 +0200 +++ new/ipython-7.18.0/docs/source/whatsnew/github-stats-7.rst 2020-08-28 21:34:19.000000000 +0200 @@ -1,6 +1,8 @@ Issues closed in the 7.x development cycle ========================================== +Stats are not collected after version 7.17, all contribution will show up as part of the 8.0 release. + Issues closed in 7.17 --------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/docs/source/whatsnew/version7.rst new/ipython-7.18.0/docs/source/whatsnew/version7.rst --- old/ipython-7.17.0/docs/source/whatsnew/version7.rst 2020-08-01 03:40:45.000000000 +0200 +++ new/ipython-7.18.0/docs/source/whatsnew/version7.rst 2020-08-28 21:34:19.000000000 +0200 @@ -2,6 +2,23 @@ 7.x Series ============ +.. _version 718: + +IPython 7.18 +============ + +IPython 7.18 is a minor release that mostly contains bugfixes. + + - ``CRLF`` is now handled by magics my default; solving some issues due to copy + pasting on windows. :ghpull:`12475` + + - Requiring pexpect ``>=4.3`` as we are Python 3.7+ only and earlier version of + pexpect will be incompatible. :ghpull:`12510` + + - Minimum jedi version is now 0.16. :ghpull:`12488` + + + .. _version 717: IPython 7.17 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipython-7.17.0/setup.py new/ipython-7.18.0/setup.py --- old/ipython-7.17.0/setup.py 2020-08-01 03:31:27.000000000 +0200 +++ new/ipython-7.18.0/setup.py 2020-08-28 21:11:58.000000000 +0200 @@ -187,7 +187,7 @@ install_requires = [ 'setuptools>=18.5', - 'jedi>=0.10', + 'jedi>=0.16', 'decorator', 'pickleshare', 'traitlets>=4.2', @@ -200,19 +200,21 @@ # This is the correct way to specify these, # but requires pip >= 6. pip < 6 ignores these. -extras_require.update({ - ':sys_platform != "win32"': ['pexpect'], - ':sys_platform == "darwin"': ['appnope'], - ':sys_platform == "win32"': ['colorama'], -}) +extras_require.update( + { + ':sys_platform != "win32"': ["pexpect>4.3"], + ':sys_platform == "darwin"': ["appnope"], + ':sys_platform == "win32"': ["colorama"], + } +) # FIXME: re-specify above platform dependencies for pip < 6 # These would result in non-portable bdists. if not any(arg.startswith('bdist') for arg in sys.argv): if sys.platform == 'darwin': install_requires.extend(['appnope']) - if not sys.platform.startswith('win'): - install_requires.append('pexpect') + if not sys.platform.startswith("win"): + install_requires.append("pexpect>4.3") # workaround pypa/setuptools#147, where setuptools misspells # platform_python_implementation as python_implementation
