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).
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.
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.
Second patch revision (added tests): http://lists.openembedded.org/pipermail/openembedded-core/2019-June/283402.html
Already merged: https://github.com/openembedded/openembedded-core/commit/d8b2f58974482b3b1ccc65c5f93104d0d7ba87bc
*** Bug 13083 has been marked as a duplicate of this bug. ***