Revert PR 17461 (Optimize getting config item values)#18144
Conversation
This reverts commit 49765f4.
|
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.
|
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
|
I think it makes sense to revert to unblock 7.1, especially as the fix for the problems uncovered does not seem trivial. But I'll let @saimn look before approving. |
|
Thanks for your understanding. I will reopen the issue that the reverted PR closed. |
…144-on-v7.1.x Backport PR #18144 on branch v7.1.x (Revert PR 17461 (Optimize getting config item values))
|
FYI: this broke astroquery docs build astropy/astroquery#3326 |
|
More precisely, this triggered #17546 to break astroquery. What I see downstream for all the type annotation PRs is pure net negative. |
|
@bsipocz - I think you are not commenting on the right PR - this one had nothing to do with typing. I mention it in part since I very much think that if typing is causing down-stream problems, those so keen to introduce it need to know about it and ensure it doesn't happen again. |
|
Yes, I suppose that was a badly executed manual bisect as at first I only compared this one and the previous change, but I only checked that one in its backported version that ended up in 7.0.2. The real breaking PR is the typing one mentioned in my previous comment, rolling back those ConfigItem generator types fixes the docs build... |
|
And I cannot emphasize it enough how frustrating all this typing stuff is, along with random ruff rules, it's not the first time it causes unexpected issues downstream forcing others to clean up the mess. (This particular sphinx one is something I can only workaround but not fix downstream) |
Description
This pull request is to close #18138 to unblock astropy v7.1 release. This reverts commit 49765f4.