def __gt__(self, other):
if self.name != other.name:<EOL><INDENT>raise ValueError(f"<STR_LIT>")<EOL><DEDENT>return self.semantic_version > other.semantic_version<EOL>
Compare same packages based on their semantic version.