Python 2 is EOL relatively soon (~2 years) and Python 3 has been around quite a while. With 2.7 being very closely compatible with Python 3.x, there's little reason to not support Python 3 and even less reason to hard-fail when running under a Python 3.x interpreter.
Also, distros like Fedora are currently discussing their approach to Python 2's EOL. Molecule's hard stance on Python 2-only makes it very difficult to include it into a mainstream distro.
Molecule installation method (one of):
Ansible installation method (one of):
Molecule should not fail when running with python 3
ERROR: Python version '3.6.5' not supported. Molecule only supports python version = 2.7.
Already done. It's slated for 2.13 release of Molecule. Molecule was hard locked to 2.7 due to Ansible releases since 2.2 breaking in various ways with 3.6 compatibility issues.
Ansible 2.5 is the first release I have gotten to pass all Molecule 3.6 functional tests.
Most helpful comment
Already done. It's slated for 2.13 release of Molecule. Molecule was hard locked to 2.7 due to Ansible releases since 2.2 breaking in various ways with 3.6 compatibility issues.
Ansible 2.5 is the first release I have gotten to pass all Molecule 3.6 functional tests.