Bug 13549 - Get rid of python2 runtime dependencies for all recipes in oe-core
Summary: Get rid of python2 runtime dependencies for all recipes in oe-core
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.1
Hardware: x86 Multiple
: High enhancement
Target Milestone: 3.1 M2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 13640
  Show dependency tree
 
Reported: 2019-09-25 06:47 UTC by Chen Qi
Modified: 2019-11-21 17:37 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2019-09-25 06:47:18 UTC
Get rid of python2 runtime dependencies for all recipes in oe-core except those that are python2 module recipes.
Comment 1 Ross Burton 2019-09-25 15:51:41 UTC
How are you defining 'python2 runtime'. Do you mean:
1) python2 needed on target
2) python2-native needed to build
3) python2 needed on host to build
Comment 2 Chen Qi 2019-09-26 01:03:20 UTC
Ross, I mean python2 needed on target.
Put another way, python-core should not be a runtime dependency for any package except the python-xxx packages.
Comment 3 Ross Burton 2019-09-26 10:01:33 UTC
I was under the impression that this was done.  What recipes in particular are you thinking of?
Comment 4 Ross Burton 2019-11-21 17:37:43 UTC
For target, this is done already with some caveats:

- u-boot needs python2 to build
- python-setuptools can be moved to meta-python(2)
- packagegroup-self-hosted needs Python 2.

I'd say that this aspect of Python 2 removal is done.