def METHOD_NAME(self):
    if Version(self.version) < "7.0":
        return {
            "gcc": "7",
            "clang": "6",
            "apple-clang": "10"
        }
    else:
        return {
            "gcc": "7" if Version(self.version) < "7.5.0" else "8",
            "clang": "6",
            "apple-clang": "10"
        }