This PR adds the package name and version for the package providing the manifest used to create an extension that was used to write the file. For example, writing out a file with this PR produces a history:
This will be beneficial for tracking what software was used for the many asdf extensions that use manifests from other packages (like gwcs and asdf-wcs-schemas, roman_datamodels and rad, etc...).
This new manifest_software is also checked during AsdfFile._check_extension.
Finally, the warning class used during _check_extension was changed from the generic AsdfWarning to a more specific AsdfPackageVersionWarning (which inherits from AsdfWarning).
Fixes #1740
Checklist:
[ ] pre-commit checks ran successfully
[ ] tests ran successfully
[ ] for a public change, a changelog entry was added
[ ] for a public change, documentation was updated
Description
This PR adds the package name and version for the package providing the manifest used to create an extension that was used to write the file. For example, writing out a file with this PR produces a
history
:This will be beneficial for tracking what software was used for the many asdf extensions that use manifests from other packages (like
gwcs
andasdf-wcs-schemas
,roman_datamodels
andrad
, etc...).This new
manifest_software
is also checked duringAsdfFile._check_extension
.Finally, the warning class used during
_check_extension
was changed from the genericAsdfWarning
to a more specificAsdfPackageVersionWarning
(which inherits fromAsdfWarning
).Fixes #1740
Checklist: