Bug 13264 - Refactor recipetool/devtool to support python3 (only)
Summary: Refactor recipetool/devtool to support python3 (only)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.8
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.8 M1
Assignee: Maciej Pijanowski
QA Contact:
URL:
Whiteboard:
: 13083 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-03 22:37 UTC by Tim Orling
Modified: 2019-06-20 10:56 UTC (History)
3 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 Tim Orling 2019-04-03 22:37:59 UTC
Currently, recipetool (and therefore devtool) only knows how to create python2 recipes. To make it more useful and avoid obsolescence, port to python3 (dropping python2 support).
Comment 1 Christopher Larson 2019-04-11 17:59:28 UTC
I'm interested in working on this, or assisting in this work, but I need to check into resource availability at work to determine whether I'll have time within this Yocto development timeframe. Will comment again when I make that determination.
Comment 2 Maciej Pijanowski 2019-06-07 07:41:40 UTC
I've already submitted a patch to the ML. I've just looked through the 
create_buildsys_python.py and replaced python to python2 or renamed the classes
whenever necessary. Let me know if you think something else has to be done.

I've correctly created python3 recipe using this patch, as described in the 
git message. No python2 dependencies were pulled in.
Comment 3 Maciej Pijanowski 2019-06-10 18:26:30 UTC
Second patch revision (added tests): http://lists.openembedded.org/pipermail/openembedded-core/2019-June/283402.html
Comment 5 Paul Eggleton 2019-06-20 10:56:34 UTC
*** Bug 13083 has been marked as a duplicate of this bug. ***