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
Ansible doesn’t warn about a supposedly soon-to-be removed feature.
ACTUAL RESULTS
Ansible throws this warning:
[DEPRECATION WARNING]: The `ansible.module_utils.compat.selectors` module is deprecated. This feature will be removed in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
The text was updated successfully, but these errors were encountered:
The compat module was stripped down here: ansible/ansible@d2ba76c The reason is that ansible-core dropped Python 2.7 support. This collection still supports Python 2.7, so we'll likely have to vendor the old code to avoid triggering that deprecation warning.
Or alternatively only import that module util for Python < 3, since then it's clear that an ansible-core version is used that still fully supports the compat module.
SUMMARY
The
docker_container_exec
module throws a deprecation warning regardingansible.module_utils.compat.selectors
.ISSUE TYPE
COMPONENT NAME
docker_container_exec
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 22.04 target
STEPS TO REPRODUCE
EXPECTED RESULTS
Ansible doesn’t warn about a supposedly soon-to-be removed feature.
ACTUAL RESULTS
Ansible throws this warning:
The text was updated successfully, but these errors were encountered: