Hey folks,
We recently started to use Ansible more and we are using some ansible collection which is not compatible with Python 2.
Are there any plans to switch Ansible to Python 3 in EPEL7 or are there any recommendations what to do in such cases as we have?
On Mon, Mar 2, 2020 at 5:47 AM Igor Gnatenko i.gnatenko.brain@gmail.com wrote:
Hey folks,
We recently started to use Ansible more and we are using some ansible collection which is not compatible with Python 2.
Are there any plans to switch Ansible to Python 3 in EPEL7 or are there any recommendations what to do in such cases as we have?
I suspect both versions would need to be shipped in EPEL7 unless upstream Ansible just switches to Python 3 for EL7 too.
The EL7 python3 stack does not have all the same libraries available. Ansible users have already complained about the lack of libselinux bindings, but thankfully that should be resolved in 7.8.
https://bugs.centos.org/view.php?id=16389 https://bugzilla.redhat.com/show_bug.cgi?id=1719978 https://git.centos.org/rpms/libselinux/blob/c7-beta/f/SPECS/libselinux.spec#...
On Mon, Mar 2, 2020 at 4:47 AM Igor Gnatenko i.gnatenko.brain@gmail.com wrote:
Hey folks,
We recently started to use Ansible more and we are using some ansible collection which is not compatible with Python 2.
Are there any plans to switch Ansible to Python 3 in EPEL7 or are there any recommendations what to do in such cases as we have? -- -Igor Gnatenko _______________________________________________ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject...
On Mon, Mar 2, 2020 at 12:19 PM Carl George carl@redhat.com wrote:
The EL7 python3 stack does not have all the same libraries available. Ansible users have already complained about the lack of libselinux bindings, but thankfully that should be resolved in 7.8.
https://bugs.centos.org/view.php?id=16389 https://bugzilla.redhat.com/show_bug.cgi?id=1719978 https://git.centos.org/rpms/libselinux/blob/c7-beta/f/SPECS/libselinux.spec#...
Missing DNF stack Python 3 modules means that the yum module will be broken in Python 3 too.
-- 真実はいつも一つ!/ Always, there's only one truth!
On Mon, Mar 02, 2020 at 11:46:49AM +0100, Igor Gnatenko wrote:
Hey folks,
We recently started to use Ansible more and we are using some ansible collection which is not compatible with Python 2.
Are there any plans to switch Ansible to Python 3 in EPEL7 or are there any recommendations what to do in such cases as we have?
It's pretty possible to start doing python2 and python3 subpackages (with python2 default). We did this for Fedora for a while when things were changing.
I'll try and see about getting that working in my spare (ha) time.
If someone else would like to work on it and make a PR, please feel free to do so.
kevin
epel-devel@lists.fedoraproject.org