Fix prerelease detection for `>` and `<`
Fixes https://github.com/pypa/packaging/issues/788
And adds an explicit test for != based on https://github.com/pypa/packaging/issues/776#issuecomment-1900515985
Feedback would be appreciated.
And adds an explicit test for
!=
Is this for another PR? I don’t see the change here.
And adds an explicit test for
!=Is this for another PR? I don’t see the change here.
It's in this PR, it's in the change to tests/test_specifiers.py
I tried to merge branch with 'main' to make sure this PR was still good, but forgot I don't have automatic CI rights, if someone could approve CI run I'd be appreciative.
Anything blocking this? Do I need to do anything for a changelog entry here?
#788 (comment) has some examples. We probably should have some tests for those.
Added specifier tests to match.
The specifics of this came up today in https://github.com/astral-sh/uv/issues/6640
It reminded me to check this PR, it seems there was a transient CI error, I added some more tests (and after correcting them) the transient CI error vanished.
I'm going to give @pradyunsg a chance to (dis)agree to the semantic change before I merge.
Thanks, @notatallshaw !