Deprecate Python 2.6 (#388)

* Deprecate Python 2.6 support.

* Document deprecations in README.
This commit is contained in:
Felix Fontein 2022-06-30 20:47:46 +02:00 committed by GitHub
parent f41d7ac1b8
commit 00ddbbdeb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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)."