`AsdfSpec` misses expected match
Opened this issue · 0 comments
braingram commented
AsdfSpec` provides unexpected version comparisons (because of it's roots in packaging):
v1 = AsdfVersion('1.7.0.dev')
v2 = AsdfVersion('1.7.0')
assert v1 < v2 # as expected
spec = AsdfSpec('<1.7.0')
assert spec.match(v1) # fails as spec does not consider pre-releases