Re: Intent to orphan Python 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, 4 Apr 2018, 21:28 Adam Williamson, <adamwill@xxxxxxxxxxxxxxxxx> wrote:
On Wed, 2018-04-04 at 10:51 -0700, Kevin Fenzi wrote:
> On 04/04/2018 10:46 AM, Kevin Fenzi wrote:
> > On 04/04/2018 09:21 AM, James Hogarth wrote:
> >
> > ...snip...
> >
> > > Can we please get some consistency here?
> > >
> > > I noted today that firewalld has dropped python2-firewall but of course
> > > ansible isn't switching to py3 for the controller (and therefore local)
> > > until F29 and not all python modules are py3 compatible yet... and of
> > > course we ship firewalld as our firewall in fedora.
> > >
> > > This means that in F28 you can't just `yum  install ansible
> > > python-firewall` and do ansible localhost -m firewalld and have it work.
> >
> > Yeah, you would need to set ansible_python_interpreter for localhost,
> > which you could add to your command line with -e...
> > -e 'ansible_python_interpreter=/usr/bin/python3'
>
> Or, actually:
>
> yum install ansible-python3 python-firewall
> ansible localhost -m firewalld
>
> (since ansible-python3 defaults to python3 for the control host/localhost)

This rather begs the question of whether there are any modules which
only work *with python 2*, though...
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

The ansible guys might know... or might not really tbh which is why the current documentation upstream still declares it a technology preview. 

The test coverage is growing there but not massively comprehensive... and tbh I expect the greater problem will be random galaxy stuff or local plugins and modules people have written. 

It's going to be a very disruptive change in F29 as it is... to the extent I might start directing people to use the upstream ansible repos directly if they don't change there. 

I'm honestly looking to the py2 drop in F30 as a necessary evil but one I'm looking at with intense trepidation. 

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux