On ma, 03 syys 2018, Timo Aaltonen via FreeIPA-devel wrote:
On 03.09.2018 14:50, Christian Heimes wrote:
> Further more, Debian and Ubuntu need to use Python 3.6 or newer instead
> of Python 2.7. As far as I know, Samba is holding back FreeIPA on these
> distributions.
Right, the root reason is this:
https://github.com/samba-team/samba/pull/110
same issue with src:talloc, so if there's anyone at RH who could help to
fix this issue upstream then that would be great.
This is *not* a root reason for us
not using Python 3 in Samba. A real
reason is that Samba AD DC code cannot be run with Python 3 yet at all,
as well as majority of the Samba test suite.
We have a long term effort across Red Hat, SUSE, and Catalyst to move
Samba code fully to Python 3. We are in the process of improving both
Python code in Samba and migrating Samba's build system to Python 3.
In Fedora we are building Samba components required by FreeIPA for
Python 3 and Python 2 at the same time. We are utilizing these Python 3
modules in FreeIPA without issues for several releases already. So there
is no limiting factor on providing parallel installation of Python 3 and
Python 2 of Samba for the sake of FreeIPA use of the Python 3 parts.
When FreeIPA would remove Python 2 code itself, this will not affect
Samba in any capacity. Python 2 is still required by Samba AD builds but
since Samba AD does not require anything from FreeIPA, there is no
problem with us removing Python 2 subpackages.
--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland