Specifier <
that contains prerelease version does not match on valid prerelease versions
#788
Labels
<
that contains prerelease version does not match on valid prerelease versions
#788
This relates to this part of the spec:
So, for example,
<3.0.0a8
is a prerelease specifier, and therefore falls under "unless the specified version is itself a pre-release", I would expect it to then "Allowing pre-releases that are earlier than, but not equal to a specific pre-release", for example3.0.0a7
.However that does not appear to be the case:
This came up in astral-sh/uv#2646 and I'm aware of the comment #776 (comment), but the spec seems very explicit and even gives an examples that
<
allows prereleases when the version itself is a prerelease.The text was updated successfully, but these errors were encountered: