Bug 13439 - u-boot uses python2
Summary: u-boot uses python2
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: High normal
Target Milestone: 3.1 M2
Assignee: Kevin Hao
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 13640
  Show dependency tree
 
Reported: 2019-07-11 16:41 UTC by Ross Burton
Modified: 2019-12-04 17:52 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.