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
Add pyerfa as core dep and fix imports (fixes devdeps) #7397
Conversation
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.
You have to add pyerfa
as a test dependency (even though it should always be there because of astropy
).
Given that, you might as well also make the long overdue change of specifying pyerfa
as a core dependency and fix the two funny-looking imports in #4343.
("long overdue" because we could have "fixed" those imports once Astropy 4.2 became the minimum dependency) |
Done. |
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.
The new dependency should get a changelog entry. Also I'm not sure about backporting a new dependency... can we just ignore the warning on 5.x?
Hmm, I would say that since pyefra has been a core dependency of astropy for years now, the fact we are adding to ours I don't think changes anything. I can add the ignore warning to those releases. I will leave this choice up to you and Albert. |
While My inclination is to go ahead with the backport, because it cleans up the code, but I do think there should be a changelog ( |
Rebaesd and added changelog. |
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.
Can you do me a favor and add it to sunpy-dev-env.yml
as well?
Ah I forgot! Sorry. |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
[5.1] Add pyerfa as core dep and fix imports (fixes devdeps) #7397
[5.0] Add pyerfa as core dep and fix imports (fixes devdeps) #7397
Import has now changed.