[Buildroot] [PATCH v3 7/9] python-pexpect: fix byte-compilation with Python 2

Samuel Martin s.martin49 at gmail.com
Sun May 1 20:48:15 UTC 2016


Thomas, all,

On Sun, May 1, 2016 at 10:15 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> pexpect contains one file, async.py, that is only meant to be used
> with Python 3. Due to this, it fails to byte-compile with Python 2,
> which will become a problem once we make byte-compilation failures
> fatal failures that abort the build.
>
> As suggested by upstream at
> https://github.com/pexpect/pexpect/issues/290, we simply remove the
> problematic file when building with Python 2.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49 at gmail.com>

Regards

-- 
Samuel



More information about the buildroot mailing list