use sys.version_info instead of python_version_tuple