Ansible's plans regarding Python 2 EOL

290 views
Skip to first unread message

Andrew Feller

unread,
Sep 25, 2019, 9:05:46 AM9/25/19
to Ansible Project
We've all seen the warnings about Python 2 support ceasing on January 1st, 2020 from various projects including pip for months now.  I hoped Ansible blog would have officially and proactively addressed the topic as this may require significant work for Ansible customers and the Ansible project over and above the early, minimal Python 3 support documentation including Ansible package distribution requiring python 2.x and potential migration guides for various Linux distributions if not Red Hat family at the least; past threads highlight tradeoffs over package versus pip installation.

Does anyone have more information than what is cited above?

Matt Martz

unread,
Sep 25, 2019, 1:04:35 PM9/25/19
to ansible...@googlegroups.com
Nothing is changing from the Ansible perspective, which is why nothing has been said. Ansible modules will still be required to support Python 2.6+ and controller code will still be required to support Python 2.7+.

This will likely continue until the EOL of Linux distributions that use Python 2, such as RHEL7.

Red Hat will continue supporting Python 2 for RHEL7 until June 2024 iirc.

We may decide to drop python 2 support on the controller before RHEL7 EOL, but should we make such a decision it will be announced at that time.

On Wed, Sep 25, 2019 at 9:05 AM Andrew Feller <afe...@bandwidth.com> wrote:
We've all seen the warnings about Python 2 support ceasing on January 1st, 2020 from various projects including pip for months now.  I hoped Ansible blog would have officially and proactively addressed the topic as this may require significant work for Ansible customers and the Ansible project over and above the early, minimal Python 3 support documentation including Ansible package distribution requiring python 2.x and potential migration guides for various Linux distributions if not Red Hat family at the least; past threads highlight tradeoffs over package versus pip installation.

Does anyone have more information than what is cited above?

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3fd978ce-4f51-42ef-abed-c25504a9926f%40googlegroups.com.
--
Matt Martz
@sivel
sivel.net
Reply all
Reply to author
Forward
0 new messages