-
Notifications
You must be signed in to change notification settings - Fork 60
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
ignore_version_mismatch doesn't appear to be used? #1811
Comments
Thanks for opening the issue. What's the error you're seeing? Also what package versions are you using (a full |
Thanks also for pointing out that this setting is unused. I opened an issue to track it's removal. I is a left-over from the legacy extension API that was removed in asdf 3.0.0. |
@braingram - well no error message as such, just that I would like to actually ignore the version mismatch issues. What is the recommended way to do that now if that option is deprecated? |
What's the warning message? |
|
which is frustrating because in fact I am using the development version of asdf-astropy which is more recent than 0.6.1. |
Thanks! I think that also means the main branch of asdf-astropy could use a newer (0.6.2) dev tag. I'll give that a look. One way to ignore these warnings would be to: import asdf
import warnings
warnings.simplefilter("ignore", category=asdf.exceptions.AsdfPackageVersionWarning)
# your code here |
I added a 0.6.2.dev tag to asdf-astropy so I think pulling the tags should also fix the issue. |
Thanks! Weirdly I thought setuptools-scm was smart enough to use the next version for the start of the version string. I'll need to take a look! |
Let me know if you run into any issues. I'm going to close this issue but feel free to re-open it. Also, thanks again for opening the issue! |
I am getting warnings about mismatched schema versions regardless of whether
ignore_version_mismatch
is set or not inopen
. It doesn't look like this setting is actually used anywhere in the asdf package?The text was updated successfully, but these errors were encountered: