Summary: | dev-python/ipykernel-4.6.1-r2 with python3_7 - SyntaxError: invalid syntax ( in def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False): ) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guillaume Seren <guillaumeseren> |
Component: | Current packages | Assignee: | Matthew Thode ( prometheanfire ) <prometheanfire> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build_python3_7.log |
And the issue is the same ob te 5.1.0 version, just like on this issue: https://bugs.gentoo.org/687948 Hi Matthew, I see that you have added Python 3.7 support to ipykernel 4.6.1-r2 and 5.1.0, but not 4.8.2. What is the rationale behind that, and could you please help on this bug? Simply missed it, we could add py37 or stabilize 5.1.0 (which needs deps stabilized) or add it to 4.8.2. (In reply to Matthew Thode ( prometheanfire ) from comment #3) > Simply missed it, we could add py37 or stabilize 5.1.0 (which needs deps > stabilized) or add it to 4.8.2. Mattew, I am wondering if you could reproduce the bug reported here. (In reply to Benda Xu from comment #4) > (In reply to Matthew Thode ( prometheanfire ) from comment #3) > > Simply missed it, we could add py37 or stabilize 5.1.0 (which needs deps > > stabilized) or add it to 4.8.2. > > Mattew, I am wondering if you could reproduce the bug reported here. Sorry Matthew for mis-spelling. I've installed it here, What version of pexpect do you have? I have 4.6.0 installed Old version removed. Please reopen if you can reproduce with the current version. Hello, I think it is solved now, so this issues can be closed. Thank you all for feedback. |
Created attachment 580218 [details] build_python3_7.log Hey there, I have been trying to add the support for python3_7 on my system, and I get this issue on ipykernel, see the traceback (complete log attached): ``` * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 33 Traceback (most recent call last): File "setup.py", line 91, in <module> from ipykernel.kernelspec import write_kernel_spec, make_ipkernel_cmd, KERNEL_NAME File "/var/tmp/portage/dev-python/ipykernel-4.6.1-r2/work/ipykernel-4.6.1/ipykernel/__init__.py", line 2, in <module> from .connect import * File "/var/tmp/portage/dev-python/ipykernel-4.6.1-r2/work/ipykernel-4.6.1/ipykernel/connect.py", line 13, in <module> from IPython.core.profiledir import ProfileDir File "/usr/lib/python3.7/site-packages/IPython/__init__.py", line 48, in <module> from .core.application import Application File "/usr/lib/python3.7/site-packages/IPython/core/application.py", line 25, in <module> from IPython.core import release, crashhandler File "/usr/lib/python3.7/site-packages/IPython/core/crashhandler.py", line 28, in <module> from IPython.core import ultratb File "/usr/lib/python3.7/site-packages/IPython/core/ultratb.py", line 124, in <module> from IPython.utils import path as util_path File "/usr/lib/python3.7/site-packages/IPython/utils/path.py", line 18, in <module> from IPython.utils.process import system File "/usr/lib/python3.7/site-packages/IPython/utils/process.py", line 19, in <module> from ._process_posix import system, getoutput, arg_split, check_pid File "/usr/lib/python3.7/site-packages/IPython/utils/_process_posix.py", line 24, in <module> import pexpect File "/usr/lib/python3.7/site-packages/pexpect/__init__.py", line 75, in <module> from .pty_spawn import spawn, spawnu File "/usr/lib/python3.7/site-packages/pexpect/pty_spawn.py", line 14, in <module> from .spawnbase import SpawnBase File "/usr/lib/python3.7/site-packages/pexpect/spawnbase.py", line 224 def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False): ^ SyntaxError: invalid syntax ``` I am trying to install the 5.1.0 to see if it fixe the issue. Guillaume.