#!/usr/bin/env python
"""Show python and pip versions."""

import os
import sys

try:
    import pip
except ImportError:
    pip = None

print('.'.join(u'%s' % i for i in sys.version_info))

if pip:
    print('pip %s from %s' % (pip.__version__, os.path.dirname(pip.__file__)))

#!/usr/bin/env python
"""Show python and pip versions."""

import os
import sys

try:
    import pip
except ImportError:
    pip = None

print(sys.version)

if pip:
    print('pip %s from %s' % (pip.__version__, os.path.dirname(pip.__file__)))

Revert "Relax ansible-test python version checking."
Revert "Relax ansible-test python version checking."

This reverts commit d6cc3c41874b64e346639549fd18d8c41be0db8b.
