-
-
Notifications
You must be signed in to change notification settings - Fork 2k
TST: Rename devinfra, add Sphinx RC workflow #19092
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
Conversation
as bsipocz requested so it is less confusing
|
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.
|
bsipocz
left a comment
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.
Looks good, but let's double check the actual CI and jobs as I may not picked up on everything.
[ci skip] Co-authored-by: Brigitta Sipőcz <b.sipocz@gmail.com>
Of course! |
6fe865a to
840ab20
Compare
|
OK, so this works now except it doesn't work as sphinx-design upper pins... |
Is there a way to convince them to remove the pins? If not, we might have to build it from source, or force Sphinx to reinstall after downgrade. Ideas welcome! |
I even had hard time removing the pins for the ones I do maintain in that ecosystem, so I don't really think it's a realistic expectation, but I suppose we could just hack out ways around it with the reinstall the pre-release in the command phase when everything else is already set. Or just stop using sphinx-design 🤷♀️ |
|
Re: sphinx-design -- It was suggested by pydata-sphinx-theme (e.g., https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/web-components.html) and I see that numpy also uses it. Is there an equivalent replacement? |
and add description for docdeps
to see if helps with avoiding re-downgrade
|
Honestly, the infra stack is worse than a house of cards, somehow a lot of not-exactly-well-maintained packages got added as dependencies. To be clear that is not a criticism of those small infrastructure package but for those who made the decisions of pulling them in here as dependencies. -- switching to sphinx9 should not be difficult at all once we have made sphinx-automodapi and sphinx-astropy compatible but now instead we depend on a lot of third party packages that haven't made a release in 1+ year and/or even upper pin versions. |
|
Tsk tsk. Now I wonder if this workflow is worth the maintenance... |
8b4bd7b to
39afabd
Compare
I don't think that the main issue is with the workflow but with the fact that after some real and good efforts your infrastructure flowchart/drawing has not been taken seriously any more and a lot more packages and approaches got added to it making everything both more obscure as well as expose it to more risk of third party maintenance pattern. |
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
bsipocz
left a comment
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.
OK, this one is beaten to a pulp and now working as expected, so I go ahead and merge it.
There are 114 warnings in the sphinx build but fixing any DOC content is beyond scope of an infra PR; so I would suggest looking into those separately.
https://github.com/astropy/astropy/actions/runs/20470212355/job/58823559988?pr=19092#step:10:4593
|
CI passed in second-to-last commit, so I go ahead with the merge as is. |
|
Thanks for all your help and carrying over the finish line! As for the doc build warnings... We will worry about it if they hit RTD. I cannot tell if it is because we messed with the installs or if they are real problems to fix. Maybe they will magically go away when all the upstream stuff unpin each other. |
|
I don't think it's related to any of the small packages we hit and got all these papercut from but actual changes that will indeed affect RTD, too. |
|
Here is the log with
https://github.com/astropy/astropy/actions/runs/20471544623/job/58827826248 |
|
Oh wait, if I scroll up, there are more. Does not say where it is coming from, but this bunch appears after "reading sources... whatsnew/index" 🤷♀️
This one is more specific: I think the WCSBase is generated using magic from mdboom from a long time ago: astropy/astropy/wcs/setup_package.py Line 115 in 6c0e50d
|
Description
This pull request is to address confusing naming of "devinfra" and add workflow to test against Sphinx RC on demand, because now Sphinx developer pings us during its RC period but the RC period is very short.
Fixes #19078