[Buildroot] [PATCH 1/1] package/libsoup: needs host-python3

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Sep 1 13:53:29 UTC 2018


Hello,

On Thu, 30 Aug 2018 13:14:30 +0300, Asaf Kahlon wrote:

> Maybe this specific script can run even with python2, but I don't think patchting the
> "/usr/bin/env python3" line would be the right solution, especially considering
> the fact that they already have python3-only code in recent commits.

I disagree: the tld-parser.py script was changed from python to python3
with no reason other than "hey, let's use Python 3", and the script
works fine with Python 2. Plus in newer versions of libsoup, the script
has been removed entirely, and libsoup relies on a separate library to
provide TLD information.

So for now, I've committed a change that simply reverts the script to
use "python".

Thanks for your initial research on this topic!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list