ansible-collections / community.hashi_vault

Ansible collection for managing and working with HashiCorp Vault.
https://docs.ansible.com/ansible/devel/collections/community/hashi_vault/index.html
GNU General Public License v3.0
81 stars 62 forks source link

Dropping Python 2 & 3.5 Support #81

Closed briantist closed 3 years ago

briantist commented 3 years ago

UPDATE: Python 3.5 support will also be dropped

As clarified in the hvac thread, support for Python 3.5 will also be dropped along with 2.x, and for the same reasons below, this collection won't be able to easily support 3.5.

Python 3.6 will be the minimum version for community.hashi_vault starting in version 2.0.0, keeping parity with hvac.


Python 2 Support Will be Dropped in v2

As of the next major version, v2 (v2.0.0+) release of community.hashi_vault, Python 2 will no longer be directly supported or tested against. At that time the minimum Python version will likely be Python 3.5, or 3.6 (tbd).

Why?

We all know Py2 is EoL and projects are dropping support for it left and right, including Ansible (on the controller, where currently all content in this collection runs). This makes it harder and harder to keep supporting it, to work around CI and testing issues too. But the major driver for this decision is around the hvac library.

All of the content in this collection currently relies on hvac and is expected to indefinitely.

hvac still supports Python2, for now, however:

Even if hvac does not explicitly drop support, it's clear the lack of testing against it is a problem, and given the other difficulty of continuing to support it, I feel announcing the end of support in this collection's next major version is prudent.


This post will be updated with more information as it becomes available.

briantist commented 3 years ago

List of things to check/change

just trying to keep a running list of stuff in place so I don't forget. I'm sure more will turn up.