-
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
replace SpecItem with SimpleSpec #715
Conversation
I don't need support for <2.8. If one would backport asdf (to Debian Buster f.e.), they would just need to backport semantic-version as well, which is acceptable. So, I am in favour for this PR. |
Note: The only valid test here is the one with astrodev (passing). The rest fail because they use the public release of astropy and references to new models are missing. |
@@ -31,7 +31,7 @@ package_dir = | |||
asdf.reference_files = asdf-standard/reference_files | |||
include_package_data = True | |||
install_requires = | |||
semantic_version>=2.3.1,<=2.6.0 | |||
semantic_version>=2.8 |
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.
Could this be relaxed to 2.7, when SimpleSpec
was introduced? Or were functional changes made in 2.8 that we need?
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.
2.7 was a short lived release, looked like it wasn't stable.
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.
Ah ok. 👍
Fixes #702
This PR replaces
SpecItem
withSimpleSpec
(both fromsemantic_version
).It also fixes the semantic_version to >= 2.8 . This is a backwards incompatible change in
semantic_version
so if we need to support earlier versions more changes will be needed.@olebole Do you think support for earlier versions is needed?