[OE-core] [PATCH v8] python3{,-native}: update to 3.7.0

Burton, Ross ross.burton at intel.com
Fri Nov 2 16:09:08 UTC 2018


On Fri, 2 Nov 2018 at 16:05, Jens Rehsack <sno at netbsd.org> wrote:
>
>
>
> Am 02.11.2018 um 16:57 schrieb Burton, Ross <ross.burton at intel.com>:
>
> It appears that Python 3.6 or 3.7 removed os.errno as an alias for
> errno, as this is failing in wic:
>
> |   File "/home/ross/Yocto/poky/scripts/lib/wic/filemap.py", line 397,
> in _invoke_fiemap
> |     if err.errno == os.errno.EOPNOTSUPP:
> | AttributeError: module 'os' has no attribute 'errno'
>
> Easily fixed, but obviously this wasn't used to build a wic image
> with.  How much testing has this upgrade had?
>
>
> v8 didn't had the same amount of testing as v5 had - I built a lot of images
> using wic with v5 (and run some python3 scripts on target).
> But I can't say which python was used by that test ...
>
> However - I detected I made a mistake somewhere between v3 and v4
> during rebase (which explains why Alejandro is still complaining ...), so
> I decided instead of doing a v9 I go ahead to 3.7.1 update ...
>
> Are there some reasonable tests I can run on legacy code to see what
> needs updates after that?

I'd say a world build of oe-core and execution of the test suite
(python3 -mtest) is a minimum level of testing, throwing meta-python
at it too would be good.

I'm currently running the regression tests so will report back if
anything fails.

Ross



More information about the Openembedded-core mailing list