From owner-freebsd-python@freebsd.org Mon Jan 4 00:05:08 2021 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CCDA14C44DD for ; Mon, 4 Jan 2021 00:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8G905F7wz3F5l for ; Mon, 4 Jan 2021 00:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B21C14C46B1; Mon, 4 Jan 2021 00:05:08 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1E2D4C4649 for ; Mon, 4 Jan 2021 00:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D8G904b4qz3F3q for ; Mon, 4 Jan 2021 00:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8DD5A10E88 for ; Mon, 4 Jan 2021 00:05:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1040587w029565 for ; Mon, 4 Jan 2021 00:05:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 104058ct029564 for python@FreeBSD.org; Mon, 4 Jan 2021 00:05:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 252395] devel/py-jedi: update to 0.18 breaks devel/ipython autocompletion Date: Mon, 04 Jan 2021 00:05:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rsmith@xs4all.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2021 00:05:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252395 Bug ID: 252395 Summary: devel/py-jedi: update to 0.18 breaks devel/ipython autocompletion Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/ipython/ipython/pull/12751 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: rsmith@xs4all.nl CC: python@FreeBSD.org, skreuzer@FreeBSD.org CC: python@FreeBSD.org, skreuzer@FreeBSD.org After #252325 was closed, I ran into the fact that autocompletion in IPytho= n no longer worked. For example: elysium:~> ipython In [1]: cd tmp=20 Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/IPython/terminal/ptutils.p= y", line 113, in get_completions yield from self._get_completions(body, offset, cursor_position, self.ipy_completer) File "/usr/local/lib/python3.9/site-packages/IPython/terminal/ptutils.p= y", line 129, in _get_completions for c in completions: File "/usr/local/lib/python3.9/site-packages/IPython/core/completer.py", line 438, in _deduplicate_completions completions =3D list(completions) File "/usr/local/lib/python3.9/site-packages/IPython/core/completer.py", line 1818, in completions for c in self._completions(text, offset, _timeout=3Dself.jedi_compute_type_timeout/1000): File "/usr/local/lib/python3.9/site-packages/IPython/core/completer.py", line 1861, in _completions matched_text, matches, matches_origin, jedi_matches =3D self._compl= ete( File "/usr/local/lib/python3.9/site-packages/IPython/core/completer.py", line 2029, in _complete completions =3D self._jedi_matches( File "/usr/local/lib/python3.9/site-packages/IPython/core/completer.py", line 1373, in _jedi_matches interpreter =3D jedi.Interpreter( File "/usr/local/lib/python3.9/site-packages/jedi/api/__init__.py", line 725, in __init__ super().__init__(code, environment=3Denvironment, TypeError: __init__() got an unexpected keyword argument 'column' Looking at the github repo for IPython, I found that there was a pull-reque= st related to this: https://github.com/ipython/ipython/pull/12751 In essence, this modifies dependency for py-jedi as follows: jedi>=3D0.16,<0.18.0 Apparently, there has been a change in the py-jedi API. The master branch for IPython was fixed, but this fix has not been backport= ed to the 7.x branch. So it seems to me that a rollback to 0.17 is in order until this is fixed in IPython. --=20 You are receiving this mail because: You are on the CC list for the bug.=