-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NpmSpec Comparison Between Prerelease Versions is Wrong #100
Comments
This looks indeed like a bug; I don't understand why the current tests fail to detect it :/ |
Because you only test '>1.2.3-alpha.3' and '>=1.2.3-alpha.3' cases (GT and GTE). No cases for prerelease versions with LT and LTE. :) |
possibly related: >>> NpmSpec(">=2.0.1-").match(Version("2.0.1-rc1"))
False
>>> NpmSpec(">=2.0.1-0").match(Version("2.0.1-rc1"))
True I believe |
oh and the same issue with |
Here's another example that doesn't seem correct.
The same examples in
|
Any news about this?
|
Version is 2.8.5.
They should be false.
The text was updated successfully, but these errors were encountered: