-
Notifications
You must be signed in to change notification settings - Fork 416
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
Generalize testing version comparison #3271
Conversation
Given all the line length issues, how do we feel about |
I didn't see this before I cleaned up the lint. I don't feel strongly about the name either way! |
Looks like the new "strict" setting requires us to adjust the "fails" criteria for the moist_lapse fail test. Also, let's go with the shorter names. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really liking where this has gotten to in terms of relying on the metadata. Definitely a nice tool to have. Just some minor things to adjust and this can go in.
Need to also rebase this on main to deal with the conflict (due to |
Simplify one more time down to a single version comparison helper that parses a package spec string and compares that spec to the currently installed package.
eae8657
to
9859e93
Compare
Add validation to requested package spec to fail if the spec is out of date and irrelevant according to package metadata.
9859e93
to
3ec60ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit and this is good to go.
Co-authored-by: Ryan May <rmay31@gmail.com>
Expand our testing version comparison helper to support testing conditions for any dependency.