only check major and minor python version in cache