Page MenuHomePhabricator

[LNT] [WIP] Remove Python2 support
Needs ReviewPublic

Authored by thopre on Oct 16 2019, 9:42 AM.

Details

Summary

This patch removes all the Python 3 compability imports, thus removing
Python 2 support.

I'm putting this patch out there to get the discussion started on when to
remove Python 2 support. This is not to be approved now.

Event Timeline

thopre created this revision.Oct 16 2019, 9:42 AM

FWIW, we are still using python2 everywhere. I think the python3 version needs to stew for a bit so we can find any bugs that might have been introduced.

FWIW, we are still using python2 everywhere. I think the python3 version needs to stew for a bit so we can find any bugs that might have been introduced.

Oh yes absolutely. I don't think tests cover all issues so we'll find more. I'll be using LNT in Python 3 mode as soon as all the patches have landed so hopefully I'll uncover a big portion of those. In terms of timeframe I was thinking end of 2020. While Red Hat will have supported versions with Python 2 for a long time yet I think that's a too long time to wait. Does that sound reasonable?

thopre edited the summary of this revision. (Show Details)Dec 6 2019, 4:34 AM
Andi added a subscriber: Andi.Feb 2 2020, 10:07 AM