-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Python 3.11 doc links actually point to 3.12 docs #92588
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
Comments
Thanks for reporting. Actually, at least per my testing, it seems like this is a bigger issue than just what is mentioned above, as it seems like the real problem is that when Python 3.11 was branched at feature freeze/beta realease, the multi-version deployment configuration was apparently not updated, such that the I'm not familiar with the specific multi-version tooling being used here (I use Sphinx-Multiversion on the repos I maintain, which makes this easy and self-contained as it is all orchestrated within the Sphinx build process itself without any external infra, and automatically uses the repo's tags/branches matching the configured pattern). After a bit of searching, I can't seem to find where this configuration actually lives on this repo, so it might be either somewhere else I didn't check, or handled externally on the hosting side (RTD/Python.org/PSF infra). Not 100% sure who to ask about this, but I'm guessing @Mariatta or @ewdurbin would know....? |
@JulienPalard PTAL |
Taking a look. |
Got it! It happened yesterday due to #92532 happening during the creation of the 3.11 branch, a very unfortunate concurrence of rare events:
With no human intervention:
What I should have done:
Thanks for reporting @deeppunster! I'll close the issue when it gets resolved. I think it a fix has to be added to the code it's more to check for stuck builds than for branch swaps at build time, as the probability of having a branch swap during a stuck build is pretty low (build got stuck only once). |
Great. thanks for the detailed writeup @JulienPalard
Wait, it takes > 9 hours (!!!) to build the docs? Is there a reason it takes so incredibly long? On my ancient 10 year old laptop running only a single one process and no optimization I can build the docs from scratch in a couple minutes. I understand there's multiple translations x multiple output formats x multiple versions, but that still seems kind excessive, especially for just updating the standard HTML builder given that's how the overwhelming majority of users are likely to access them. Despite their infra being several times slower and less efficient than my hand-tuned builds running on GHA and Netlify, RTD still manage to build fairly large docs sites with many versions and multiple translations and output formats in a matter of minutes, on very low-cost shared infra rather than a dedicated server. Is there some reason it takes so long? |
PDF builds.
HTML only or html+txt+epub+pdf? |
This is resolved, I'm closing the issue. The 3.12 is not built yet, so the 3.12 links are currently 404ing, but they should land soon. |
Seems like the en 3.12 build just finished in the past few minutes, though the other languages aren't built yet... I'll continue our other discussion on the Docs Community discord, to avoid dragging this thread further off topic. |
Documentation - Documentation links for 3.11 actually point to 3.12 documentation
Details
The link on this page for the documentation points to this link, but the documentation actually shown is for Python 3.12.0a0. Further, if I click on the link labeled "Python 3.11 (in development)" in the left sidebar, it just points back to the page already showing.
If this is not reproducible or you need more info, please let me know. Also, if this is the wrong repository to report this issue, please let me know the correct repository.
Thanks,
Travis
The text was updated successfully, but these errors were encountered: