You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit removes all dependencies on the 'asible.module_util.six'
module and fixes deprecated imports as defined by the ansible-core
release version 2.20.
This changes render ansible-freeipa collection incompatible with
Python 2.
Changes include:
* Remove six module imports from all modules and roles
- Removed 'from ansible.module_utils import six' statements
- Removed 'from ansible.module_utils.six.moves' imports
* Replace and remove Python version checks (six.PY3 and six.PY2)
* Replace unicode usage with to_text or str
* Ensure text conversion routines imports are consistent and are
imported from Ansible common.text.converters
* Update standard library imports
- Changed 'six.moves.urllib.parse' to 'urllib.parse'
- Changed 'six.moves.configparser' to 'ConfigParser'
- Import 'Mapping' from 'collections.abc'
* Remove Python 2 specific code
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
0 commit comments