replace sys.version_info comparsion with sys.version string operations