Implement automatic detection of the Python version being used in the environment. This should work for both local and CI/CD environments. _Originally posted by @nn254324 in https://github.com/nn254324/python---version/issues/2_