-
Notifications
You must be signed in to change notification settings - Fork 26
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
Remove fits metaschema #378
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #378 +/- ##
===========================================
+ Coverage 67.59% 78.17% +10.57%
===========================================
Files 115 115
Lines 5932 5146 -786
===========================================
+ Hits 4010 4023 +13
+ Misses 1922 1123 -799 ☔ View full report in Codecov by Sentry. |
@melanieclarke I can't request you as a reviewer so I'll add a ping here. I'll try to sort out why I can't request you and fix that. |
The random CI failure for py312-xdist that popped up in the latest run is due to conflicting crds reference file downloads, crds not locking and not verifying files: spacetelescope/crds#930 EDIT: I reran that job and it passed. I'm leaving this here as we may still want to consider locking crds for the unit tests as described above. |
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.
This looks fine to me. Can you point me to the asdf 1.1.0 schema, for my education?
Thanks! Here's 1.1.0: https://github.com/asdf-format/asdf-standard/blob/main/resources/schemas/stsci.edu/asdf/asdf-schema-1.1.0.yaml |
Does the replacement of the unused fits metaschema with the asdf metaschema retain some functionality? Is it needed? |
To recap the huddle discussion.
|
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.
🧹 🗑️
The fits metaschema provides no validation for the current schemas (see #261). It also references an old version (1.0.0) of the asdf metaschema.
This PR updates the datamodels schemas to use the new asdf metaschema 1.1.0 instead of the fits metaschema and removes the now unused fits metaschema.
This impact of this change is minimal and restricted to pytest/CI runs for this package. The metaschema is only used when the schema is checked with check_schema.
check_schema
validates a schema against the stated metaschema and is not run in the pipeline (as expected) and is not run directly in this repository. It is only run as part of the pytest asdf plugin which runs in the CI for this package.Regtests running at: https://github.com/spacetelescope/RegressionTests/actions/runs/12917676424
Tasks
docs/
pageno-changelog-entry-needed
)changes/
:echo "changed something" > changes/<PR#>.<changetype>.rst
(see below for change types)jwst
regression tests with this branch installed ("git+https://github.com/<fork>/stdatamodels@<branch>"
)news fragment change types...
changes/<PR#>.feature.rst
: new featurechanges/<PR#>.bugfix.rst
: fixes an issuechanges/<PR#>.doc.rst
: documentation changechanges/<PR#>.removal.rst
: deprecation or removal of public APIchanges/<PR#>.misc.rst
: infrastructure or miscellaneous change