-
Notifications
You must be signed in to change notification settings - Fork 57
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
Consider upgrading to jsonschema 3.0 #530
Comments
Is there any urgency to do this? (e.g., very useful new functionality or backward incompatible changes?) Otherwise, we would tend to take a slow approach to such things. |
No, there's no urgency. I just wanted to record the issue here as a reminder for future reference. That being said, if it's not difficult to upgrade to 3.0 (once it's stable), then we should, since that's presumably where all bug fixes and improvements will wind up. |
Agreed. We should evaluate it once is it a stable release. |
I came upon this stackoverflow discussion about using |
Yes, it does seem very useful. I believe it is supported as of Draft-07. The Even after that point, moving to Draft-07 may disadvantage other potential implementations of ASDF since JSON Schema support in other languages may not be as advanced. We'll need to have a discussion about how much that really matters, though. |
Somehow 3.0 get picked up by one of my conda install that happened before I installed
Then, I tried
I would say this kind of installation hurdle is not very user-friendly right now. I spent 30 minutes trying to make this work. FYI. |
Can you provide the error message? It shouldn't have been necessary to do the |
"Cannot understand something something 1.3.0" I tried to reproduce it in a clean env but I cannot now. I swear it was happening last night. @ejeschke can be my witness! The fact that |
I can't reproduce it either. I realize it's annoying to have a strict dependency on |
Given the error message snippet you reported, it sounds like you were probably trying to read a file that was recently produced by the JWST pipeline. Unfortunately, since they run against a dev version of ASDF, it means that you won't be able to use a stable version to read their files. So installing from For the record, this issue is unrelated to the version of |
It's worth noting that the |
There's actually a 3.0 release of |
It has been fixed in |
Might still be a problem, see #684 (comment). This is giving me a headache, because Jupyter is asking for |
This is an order-of-installation issue, not a problem in Fixed by #684. |
Currently there's only an alpha release, and it causes some errors that are detected by our unit tests. However, once things become more stable we should consider whether we should upgrade, and if so, what changes will need to be made.
Version 3.0 introduces support for Draft-06. This could potentially allow us to update the ASDF Standard to support Draft-06 as well. However, if we are really serious about providing/supporting multiple implementations of ASDF, we need to look at the lowest common denominator across JSON Schema implementations, which might still be Draft-04.
The text was updated successfully, but these errors were encountered: