-
Notifications
You must be signed in to change notification settings - Fork 174
(JP-2991) Require asdf-transform-schemas greater than 0.3.0 #7352
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
Conversation
I suspect "asdf-transform" in the dependency is not quite correct - suggestions ? |
It's |
Codecov ReportBase: 79.68% // Head: 79.68% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #7352 +/- ##
=======================================
Coverage 79.68% 79.68%
=======================================
Files 412 412
Lines 37573 37573
=======================================
Hits 29941 29941
Misses 7632 7632
*This pull request uses carry forward flags. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Are you sure it's with underscores? The release code on pypi uses dashes: https://pypi.org/project/asdf-transform-schemas/ And this is what I get from "pip freeze", which also uses dashes: |
Good point. I was going by Nadia's comment from last night. |
However, in python, importing requires the underscores and rejects the dashes... 🤔 I'd guess that we want the underscores here, as it's dealing with the package in a python environment. |
Huh, really? We've got other entries in setup.cfg that use dashes, such as: |
I think both spellings are valid in the setup file. However, when importing a package underscores are necessary. To keep it consistent we can spell it with dashes here. |
So I will go with "asdf-transform-schemas" - are we in agreement ? |
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.
Looks good. Just needs a rebase to fix conflicts (I'm assuming with the change log).
These code coverage errors appear to be unrelated. |
Resolves JP-2991
Closes #
This PR requires the asdf transform version to be at least 0.3.0, by updating setup.cfg. This was prompted by a user unable to open files from MAST using the JWST data models .
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR