-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
readthedocs broken #559
Comments
PS: I think @dhermes or @theacodes is required for adding PR builds & changing the "latest" target branch. |
I can confirm I have admin on the RTD project. |
I checked, readthedocs runs |
So far I have explicitly set the default branch to |
If you want to activate PR readthedocs builds I can make a PR with that fix. |
Will do (though I'm going to turn it off after it's fixed, it's a big use of resources for not much return IMO). IMO we should also check in a DERP I missed https://github.com/theacodes/nox/blob/386659e446aacdd681b5e1f25db6a2c03180a287/.readthedocs.yml |
PR builds are now enabled UPDATE 3:39pm Central: I have disabled this again |
There is one, that's what's setting 3.10. I find PR builds quite helpful, as you can preview the changes to the docs, and it also avoids broken documentation builds (which tend to be be very quiet), and in this case, it takes 32 seconds. But up to you. I'm making the PR. |
I see there is a GHA docs build, but you can't preview it, and it doesn't do the 'pre-install' that readthedocs tends to break things with. |
#560 didn't fix it, re-opening "Running Sphinx v4.3.2" https://readthedocs.org/projects/nox/builds/15742871/ still fails
|
The stable docs on RTD still point to an old release (2021.10.1) instead of the latest release, 2022.1.7. The cause for the broken docs build has been fixed on The thread at #561 (comment) discussed two methods to fix this:
Personally, I'd prefer the first method as it seems less overhead and well within the purpose of post releases. I don't think there's a need to do anything beyond pushing the git tag. The second approach offers flexibility and avoids a release, but it also means we'll need to either maintain the stable branch in the future, or rollback the RTD config after the rebuild. @theacodes Would you be happy with this approach? |
I'm also +1 with pushing a |
There's a third method: just point rtd stable at main, click rebuild, then put it back to releases only. |
Also good :) |
@theacodes @dhermes friendly bump |
Hello all, Heads up: I'll push the Please give a shout if you have any objections. I don't have access to Read the Docs, so this is the only viable option right now to get our docs up-to-date. OT: pip 22.0 (2022-01-29) officially switched to Nox for automation 🎉 |
|
@cjolowicz Let me just add you to the RTD project. Update: done; I added https://readthedocs.org/profiles/cjolowicz/ |
Unless I'm missing something, you can't actually point So back to the original plan: Pushing a Drop a comment if you have a better idea. Alternatives I've considered:
Footnotes
|
You can push a tag without doing a PyPI release? |
Our CI publishes to PyPI when a tag is pushed: |
@cjolowicz +1 for the post1 release from me |
Make sure it doesn’t include #526 ;) |
Stable docs are up-to-date now. 2022.1.7.post1 only includes the two docs fixes that came after 2022.1.7. Interestingly, the PyPI release did not happen. The version number in |
Haha, nice. :) |
Describe the bug
The docs are broken, the "stable" release did not build after the recent release (missing from changelog), with:
See https://readthedocs.org/projects/nox/builds/
This should be fixable by setting a minimum version on some of the docs dependencies (why are those mixed with the test dependencies?) - readthedocs installs old versions of things by default, and then it's a no-op if you don't force an upgrade. Why they install a version of (something that uses HTML) that doesn't support Python 3.9+, I'm not sure, but forcing sphinx>=4 or something like that will likely fix the problem. Downgrading to Python 3.8 for the docs would fix it, too, but that's the wrong way to initially try to fix it.
I would highly recommend enabling PR readthedocs builds (in the readthedocs settings), they are very handy for catching bugs in the docs builds.
Also, it looks like "latest" hasn't built in a year or more, I'm guessing it was never changed to
main
frommaster
, perhaps? It makes "latest" much older than "stable".The text was updated successfully, but these errors were encountered: