Python version info should be taken from sys.version_info