-
Notifications
You must be signed in to change notification settings - Fork 26
Update to support changing ref file patternProperties to explicit #577
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
base: main
Are you sure you want to change the base?
Update to support changing ref file patternProperties to explicit #577
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #577 +/- ##
==========================================
- Coverage 97.56% 95.54% -2.02%
==========================================
Files 30 41 +11
Lines 2788 4314 +1526
==========================================
+ Hits 2720 4122 +1402
- Misses 68 192 +124 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
666169e to
fe44512
Compare
d6d074c to
b9cbcbf
Compare
b9cbcbf to
34eb4ae
Compare
38c7737 to
6944c90
Compare
braingram
left a comment
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 version checks don't work with dev versions and make unsafe assumptions about asdf.
| # See Issue https://github.com/asdf-format/asdf/issues/1977 | ||
| if Version(asdf.__version__) < Version("5.1.0"): |
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.
| # See Issue https://github.com/asdf-format/asdf/issues/1977 | |
| if Version(asdf.__version__) < Version("5.1.0"): | |
| # See Issue https://github.com/asdf-format/asdf/issues/1977 | |
| if Version(asdf.__version__) < Version("5.1.0"): |
This assumes a fix will be in asdf 5.1.0 which is not a safe assumption. I will follow up on the issue.
| if TYPE_CHECKING: | ||
| from typing import Any | ||
|
|
||
| if Version(asdf.__version__) < Version("5.0.0"): |
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.
| if Version(asdf.__version__) < Version("5.0.0"): | |
| if Version(asdf.__version__) < Version("5.0.0"): |
This fails for dev asdf version strings:
>> Version("5.1.1.dev0+g0e7c50c73.d20251013")
ValueError: Invalid version string: '5.1.1.dev0+g0e7c50c73.d20251013'
This PR is the downstream change for spacetelescope/rad#712.
Tasks
roman_datamodelstests.docs/page.no-changelog-entry-needed.)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see below for change types).romancalregression test (https://github.com/spacetelescope/RegressionTests/actions/workflows/romancal.yml) with this branch installed ("git+https://github.com/<fork>/rad@<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