[OE-core] python 3.4.2 patch

Artur Wroblewski wrobell at pld-linux.org
Wed Nov 5 21:57:46 UTC 2014


On Tue, Nov 4, 2014 at 3:56 PM, Saul Wold <sgw at linux.intel.com> wrote:
> On 11/03/2014 03:51 PM, Artur Wroblewski wrote:
>>
>> Hi,
>>
>> As advised at
>>
>>      https://bugzilla.yoctoproject.org/show_bug.cgi?id=6857
>>
>> I am attaching a patch to replace Python 3.3.x with Python 3.4.2. This
>> also
>> fixes issue with missing basic Python 3.x modules, see
>>
>>      https://bugzilla.yoctoproject.org/show_bug.cgi?id=6831
>>
>> Build tested with git master:
>>
>>      $ tar tvjf
>> tmp/deploy/images/qemux86/core-image-minimal-qemux86.tar.bz2 | grep
>> python3.4 | wc -l
>>      2028
>>
>> Regards,
>>
>> w
>>
>>
>>
> Thanks for working up the patch.
>
> Your patch needs a Signed-off-by: tag and alittle more explaination in the
> commit message as to what you did (removed patches, rebased patches, ...),
> It's also important to note why the LIC_FILES_CHKSUM changed, it might be as
> simple as version or date changes, but we need to flag them in case the
> actual License changed.

Will do.

> Would it make sense to use a PYTHON_MAJMIN in the manifest generator instead
> of hardcoding the python version? This would allow for the manifest.inc
> changeset to be much smaller.

Probably. But I would prefer to minimize the first patch as much as
possible. I understand
that the faster the good quality of Python 3 is achieved the better,
but I would prefer
to do that in several, smaller and hopefully more manageable steps. At
the moment
Python 3.3.3 in Yocto simply does not run (looks like just copy from
Python 2.x just to
make it compile), so I think you can cut me some slack here as my patch makes
Python 3 run in Yocto. On my side I promise more patches in near
future, i.e. more
SRC_URI patches need review, pip integration would be nice and some of
the modules
like decimal need additional work.

Regards,

w



More information about the Openembedded-core mailing list