deprecate `AsdfSpec` and `format_tag`
braingram opened this issue · comments
AsdfSpec
(based off of SimpleSpec
from semantic_version) is effectively unused.
It is referenced once in format_tag
:
Lines 20 to 21 in aedf156
format_tag
has only a single use in asdf
:asdf/asdf/_tests/test_schema.py
Line 841 in aedf156
where a spec is not provided.
The format_tag
use can be replaced by an f-string.
One motivation for deprecating AsdfSpec
is that it provides unexpected version comparisons: see #1772