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. |
dopplershift
left a comment
There was a problem hiding this comment.
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
dopplershift
left a comment
There was a problem hiding this comment.
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.