Skip to content
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

Merged
merged 2 commits into from
Nov 15, 2019
Merged

Conversation

nden
Copy link
Contributor

@nden nden commented Nov 15, 2019

Fixes #702

This PR replaces SpecItem with SimpleSpec (both from semantic_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?

@olebole
Copy link
Contributor

olebole commented Nov 15, 2019

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.
And, I very like the good cooperation with you! That is great and much fun!!!

@nden nden requested a review from perrygreenfield November 15, 2019 20:42
@nden
Copy link
Contributor Author

nden commented Nov 15, 2019

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.

@nden nden added this to the 2.5.0 milestone Nov 15, 2019
@@ -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
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok. 👍

@nden nden merged commit c1373db into asdf-format:master Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

semantic_version.SpecItem is deprecated
4 participants