mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 05:43:06 +00:00
Unvendor distutils.version (#371)
* Unvendor distutils.version. * Fix version. * Assume the collection requires ansible-core 2.12+. This is valid since this only get merged for 3.0.0, which will drop support for quite a few more ansible-core versions. * Mark for re-export.
This commit is contained in:
@@ -12,9 +12,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
|
||||
# remove the _version.py file, and replace the following import by
|
||||
#
|
||||
# from ansible.module_utils.compat.version import LooseVersion
|
||||
from ansible.module_utils.compat.version import LooseVersion
|
||||
|
||||
from ._version import LooseVersion # noqa: F401, pylint: disable=unused-import
|
||||
|
||||
__all__ = ("LooseVersion",)
|
||||
|
||||
Reference in New Issue
Block a user