Skip to contentSkip to conversation

python2 removal

meta-virtualization Bruce Ashfield 1 participant 1 message Jan 22, 2020 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

FYI: The first pass is done, and I just pushed the following commits:

7f6f7a4 conf: remove unneeded preferred versions
d4b8bad xorg-xserver: make changes conditional on xen distro feature 56c3ce9 initscripts: make DISTRO_FEATURE safe
d10d310 python: make DISTRO_FEATURE safe
1d47e25 libibverbs: import frmo meta-cloud-services 8f6ebd2 python: update bbappend to python3.x
2c3206b xen: trivial: allow parsing in python3 only oe-core 407b822 libvirt: make python3 safe
7e9c4e6 ceph: update and make python3 safe
2ffc7a5 gunicorn: uprev and make python3 ready
a1e3f5c singularity: update for python3 support
67b237d criu: python3 update
52e67d4 python: update support packages to python3 cceef93 python: drop blinker specific version and python2 recipe dc7ac8d python: drop python-backports-lzma
e57a346 devtools: drop python2 variant of python-sphinx c3d92d9 docker: drop python2 variants

I uprev'd some packages, dropped others and made some brute force modifications to get things to parse.

I've smoke tested an image that runs docker, and was able to pull and execute containers, so the changes are at least minimally sane.

I'm still holding feature merges until the rest of the python3 changes are done, but if people have a package they are working on, feel free to follow up so we won't duplicate efforts.

Bruce

Quoted 24 lines · Bruce Ashfield via Lists.Yoctoproject.Org

Hi all,

Just a heads up that I'm working through the fallout of python2 being removed from oe-core.

As a first pass, the goal is to make meta-virt parse/build with only python3 components that already exist. I'll simply drop recipes that are python2 only, and then

a) create a list of recipes to be updated that folks are welcome to help with
b) eventually create a python2 dependency sublayer if we find something that we can't live without, but also doesn't easily update to python3 .. hopefully we won't need (b).

Cheers,

Bruce

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II