Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Ansible 2.9 & 2.10 #245

Merged
merged 4 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,13 @@ The PostgreSQL modules rely on the [Psycopg2](https://www.psycopg.org/docs/) Pos

## Tested with ansible-core

Tested with the following Ansible releases:
- 2.11
- 2.12
- 2.13
- devel
- current development version

Ansible-core versions before 2.11.0 are not supported. In particular, ansible-base 2.10 and Ansible 2.9 are not supported.
jchancojr marked this conversation as resolved.
Show resolved Hide resolved

Our AZP CI includes testing with the following docker images / PostgreSQL versions:

Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/remove-2.9-2.10-compatability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
major_changes:
- The community.postgresql collection no longer supports Ansible 2.9 and ansible-base 2.10. While we take no active measures to prevent usage, we will remove compatibility code and other compatibility measures that will effectively prevent using most content from this collection with Ansible 2.9, and some content of this collection with ansible-base 2.10. Both Ansible 2.9 and ansible-base 2.10 will very soon be End of Life and if you are still using them, you should consider upgrading to ansible-core 2.11 or later as soon as possible (https://github.com/ansible-collections/community.postgresql/pull/245).
jchancojr marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion plugins/module_utils/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type

# Once we drop support for Ansible 2.9, ansible-base 2.10, and ansible-core 2.11, we can
# Once we drop support for Ansible 2.11, we can
# remove the _version.py file, and replace the following import by
#
# from ansible.module_utils.compat.version import LooseVersion
Expand Down