Skip to content

Commit

Permalink
Unvendor distutils.version (#271)
Browse files Browse the repository at this point in the history
* Unvendor distutils.version.

* Document breaking change.

* Update comment, add StrictVersion.
  • Loading branch information
felixfontein authored Jul 2, 2022
1 parent 0071b34 commit 21d112b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 396 deletions.
48 changes: 0 additions & 48 deletions PSF-license.txt

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Tested with the current Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansib

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.

This collection does not work with ansible-core before 2.12 (this includes ansible-base and Ansible 2.9) on Python 2.12+.

## 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.
Expand Down
4 changes: 4 additions & 0 deletions changelogs/fragments/271-distutils-vendor-removed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
minor_changes:
- "Remove vendored copy of ``distutils.version`` in favor of vendored copy included with ansible-core 2.12+. For ansible-core 2.11, uses ``distutils.version`` for Python < 3.12. There is no support for ansible-core 2.11 with Python 3.12+ (https://github.com/ansible-collections/community.docker/pull/271)."
breaking_changes:
- "This collection does not work with ansible-core 2.11 on Python 3.12+. Please either upgrade to ansible-core 2.12+, or use Python 3.11 or earlier (https://github.com/ansible-collections/community.docker/pull/271)."
Loading

0 comments on commit 21d112b

Please sign in to comment.