Date: Mon, 7 May 2012 23:40:50 GMT From: Rob Messick <robmessick@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/167699: devel/ipython: WITH_PYTHON=3.2, dies on import of pexpect Message-ID: <201205072340.q47NeoTT070622@red.freebsd.org> Resent-Message-ID: <201205072350.q47NoAFB086199@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 167699 >Category: ports >Synopsis: devel/ipython: WITH_PYTHON=3.2, dies on import of pexpect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 07 23:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Rob Messick >Release: 9.0-RELEASE >Organization: >Environment: FreeBSD do-4.bayphoto.local 9.0-RELEASE FreeBSD 9.0-RELEASE #3: Tue Dec 27 14:14:29 PST 2011 root@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC amd64 >Description: After installing devel/ipython with PYTHON_VERSION=3+, executing iPython yields the following exception: # ipython3 Traceback (most recent call last): File "/usr/local/bin/ipython3", line 9, in <module> load_entry_point('ipython==0.12', 'console_scripts', 'ipython3')() File "/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/pkg_resources.py", line 337, in load_entry_point File "/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/pkg_resources.py", line 2284, in load_entry_point File "/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/pkg_resources.py", line 1994, in load File "/usr/local/lib/python3.2/site-packages/ipython-0.12-py3.2.egg/IPython/__init__.py", line 43, in <module> from .config.loader import Config File "/usr/local/lib/python3.2/site-packages/ipython-0.12-py3.2.egg/IPython/config/loader.py", line 27, in <module> from IPython.utils.path import filefind, get_ipython_dir File "/usr/local/lib/python3.2/site-packages/ipython-0.12-py3.2.egg/IPython/utils/path.py", line 24, in <module> from IPython.utils.process import system File "/usr/local/lib/python3.2/site-packages/ipython-0.12-py3.2.egg/IPython/utils/process.py", line 27, in <module> from ._process_posix import _find_cmd, system, getoutput, arg_split File "/usr/local/lib/python3.2/site-packages/ipython-0.12-py3.2.egg/IPython/utils/_process_posix.py", line 22, in <module> from IPython.external import pexpect File "/usr/local/lib/python3.2/site-packages/ipython-0.12-py3.2.egg/IPython/external/pexpect/__init__.py", line 2, in <module> import pexpect File "/usr/local/lib/python3.2/site-packages/pexpect.py", line 82 except ImportError, e: >How-To-Repeat: 1. In make.conf, set PYTHON_VERSION=3.2 2. # cd /usr/ports/devel/ipython && make install clean 3. # ipython3 >Fix: iPython3 uses pexpect-u as opposed to pexpect (misc/py-pexpect). It is possible to pip install prior to installing the devel/ipython port. There needs to be a py-pexpect-u port and ipython should depend on it if compiled with PYTHON_VERSION=3+ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205072340.q47NeoTT070622>