All Python source files must successfully compile using all supported Python versions.
The list of supported Python versions is dependent on the version of
ansible-core that you are using.
Make sure you consult the version of the documentation which matches your
Controller code, including plugins in Ansible Collections, must support the following Python versions:
Code which runs on targets (
module_utils) must support all controller supported Python versions,
as well as the additional Python versions supported only on targets:
Ansible Collections can be configured to support a subset of the target-only Python versions.