Repository navigation
Replace OrderedDict with dict in nddata module - #15623
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
|
Thanks! I cannot decide if this needs a change log or not, so deferring to subpackage maintainers. |
|
I'd say it does not need a changelog. |
|
I cannot tell if RTD failure is related or not. But if not, it might be resolved by the time this gets out of draft. |
|
I don't know why the RTD check failed. Am I missing something? @pllim |
bmorris3
left a comment
There was a problem hiding this comment.
Looks good. I believe the rtd failure is unrelated.
|
Yup, RTD failure was caused by scipy doc SSL cert, which has been fixed upstream since. Thanks, merging! |
Description
Following the discussion in issue #10888, this Pull Request is to replace the usage of
OrderedDictwithdictin thenddatamodule. This change is motivated by the fact that, starting from Python 3.7, the standard dictionary (dict) maintains the order of elements, renderingOrderedDictunnecessary.I have made the necessary replacements and ensured that all functionalities continue to work as expected. Additionally, I have updated the tests to reflect this change.
Fixes one of #10888 tasks.