From 00ddbbdeb24d96d33a5162b78da7753bb8761ede Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Thu, 30 Jun 2022 20:47:46 +0200 Subject: [PATCH] Deprecate Python 2.6 (#388) * Deprecate Python 2.6 support. * Document deprecations in README. --- README.md | 4 ++++ changelogs/fragments/python-2.6.yml | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 changelogs/fragments/python-2.6.yml diff --git a/README.md b/README.md index 4374d98f..cc906b62 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,14 @@ Please note that this collection does **not** support Windows targets. The conne Tested with the current Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12 and ansible-core 2.13 releases and the current development version of ansible-core. Ansible versions before 2.9.10 are not supported. +Please note that support for Ansible 2.9 and ansible-base 2.10 has been deprecated and will be dropped from community.docker 3.0.0 on. + ## External requirements Most modules and plugins require the [Docker SDK for Python](https://pypi.org/project/docker/). For Python 2.6 support, use [the deprecated docker-py library](https://pypi.org/project/docker-py/) instead. +Please note that Python 2.6 support has been deprecated and will be dropped from community.docker 3.0.0 on. + Both libraries cannot be installed at the same time. If you accidentally did install them simultaneously, you have to uninstall *both* before re-installing one of them. ## Included content diff --git a/changelogs/fragments/python-2.6.yml b/changelogs/fragments/python-2.6.yml new file mode 100644 index 00000000..280f684f --- /dev/null +++ b/changelogs/fragments/python-2.6.yml @@ -0,0 +1,4 @@ +deprecated_features: + - "Support for Python 2.6 is deprecated and will be removed in the next major release (community.docker 3.0.0). + Some modules might still work with Python 2.6, but we will no longer try to ensure compatibility + (https://github.com/ansible-collections/community.docker/pull/388)."