Bug 13439

Summary: u-boot uses python2
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Kevin Hao <kexin.hao>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: akuster, meta.mr.watcher, meta.watcher, randy.macleod, tom.rini
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 13640    

Description Ross Burton 2019-07-11 16:41:37 UTC
The u-boot build uses both Python 3 (via DEPENDS=swig-native) and Python 2 (via DEPENDS=python-native and PYTHON2=nativepython).  Does u-boot really need both?  Can we just do a build with Python 3?

Context is that Python 2 is EOL next year and we'd like to remove all users of it from oe-core sooner rather than later.
Comment 1 Randy MacLeod 2019-11-21 15:56:17 UTC
u-boot will remove python2 in their January release. Move this to M2.
Comment 2 Armin Kuster 2019-12-04 16:01:46 UTC
2020-01-rc1 was committed to master.

https://git.openembedded.org/openembedded-core/commit/?id=8c164bb34b777db2cc3ed723d8397ce6fa040aac

Can this be closed?
Comment 3 Ross Burton 2019-12-04 17:52:28 UTC
Yes.