FreeIPA master is now Python 3 only. Let's remove workarounds, hacks, and other code that was necessary for Python 2 support.
`object
six.*type
master:
I suppose this can be closed?
Ignore this comment. There are still six.PY3 things around.
six.PY3
Is there any reason why some six usage remained? If not I would try and give it a go to remove them.
six
Some places (like upgrade code or DCERPC handling) should be lest with six for longer -- we want to keep possibility to backport to 4.6 branch which is Python 2 for some of the complex code we have.
No, please don't close the ticket yet. There is still a lot of Python 2 code besides six in master, for example u"" string and imports of Python 2 package names with try: import oldname except ImportError: import newname.
u""
try: import oldname except ImportError: import newname
Hello folks, I know this is quite old issue, but I'll give it a go. Do you know what's the current state of Python 2 in freeipa? We would like to get rid of python-six in RHEL 11. Would you be ok, if I try to remove all the six usage?
python-six
I think it makes sense to start removing six from IPA (FreeIPA 4.9+ is running on RHEL8 or later already). Feel free to contribute a PR.
Metadata Update from @abbra: - Issue set to the milestone: None (was: FreeIPA 4.8)
Metadata Update from @dhanina: - Issue assigned to dhanina