Bug 13641

Summary: Remove python2 from HOSTTOOLS
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 3.1   
Target Milestone: 3.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Bug Depends on: 13645    
Bug Blocks: 13640    

Description Armin Kuster 2019-11-21 15:56:01 UTC

    
Comment 1 Randy MacLeod 2019-11-21 16:00:26 UTC
If you need help, create sub defects and we'll get people to work on them.
Comment 2 Ross Burton 2019-11-21 17:42:15 UTC
Not convinced that we're ready to build without Py2 on the host.  I have a branch disable hosttools for python2* but this doesn't detect recipes that end up calling /usr/bin/python directly.

Will do a container thing and test.
Comment 3 Ross Burton 2019-11-21 21:48:25 UTC
python-native fails to build without a python on the host.  It tries to use the host python3 but the script isn't py3-safe.  I believe patching python2 would be relatively simple.
Comment 4 Ross Burton 2019-12-12 16:23:49 UTC
Merged in 5f8f16b17f66966ae91aeabc23e97de5ecd17447.