(self, prospective: Version, spec: str)
| 439 | return not self._compare_equal(prospective, spec) |
| 440 | |
| 441 | def _compare_less_than_equal(self, prospective: Version, spec: str) -> bool: |
| 442 | |
| 443 | # NB: Local version identifiers are NOT permitted in the version |
| 444 | # specifier, so local version labels can be universally removed from |
| 445 | # the prospective version. |
| 446 | return Version(prospective.public) <= Version(spec) |
| 447 | |
| 448 | def _compare_greater_than_equal(self, prospective: Version, spec: str) -> bool: |
| 449 |