-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Emergent error in docs builds #4474
Comments
I checked the release history for the project, but nothing was released recently. Maybe that warning isn't the emergent cause. Mabye it's the "multiple definitions for std:label:python--m-build--v". |
Confirmed - the issue isn't related to sphinxcontrib-towncrier, but instead to the "multiple definitions" in the build docs. Also, the warning only appears on the first build. On a second build, they complete successfully (apparently relying on a cache of intersphinx labels). |
Yeah, I was about to point that out.. One warning is coming from the interpreter and the other from the Sphinx realm. |
Turns out that simply updating the redirecting docs works around the warning/error about multiple definitions, but it reveals a new issue in the updated docs:
|
There doesn't appear to be anything meaningful about installation in the build docs, so that must have just gotten removed. No, that's not it. When I look at the sources in github, there's definitely an installation section. It seems that maybe the But what's even stranger is there is no 1.0.2 tag in the build project. So who knows where that docs build came from. |
Interestingly, there is a 1.0.3 and 1.0.1, and both of those have a So why is |
It's redirecting from pypa-build.rtfd.io to build.pypa.io. It's a different FQDN. |
It's not. It's something else, created in 2015. |
I recommend using intersphinx to inspect what the website exposes right now. I've built a thing for myself that presents that as an html table (and updates every 4 hours): https://webknjaz.github.io/intersphinx-untangled/pypa-build.rtfd.io/. Feel free to use it to figure out the reference you need. |
There's https://build.pypa.io/en/latest/index.html#python--m-build--V and https://build.pypa.io/en/latest/index.html#python--m-build--v. I wonder if Sphinx makes some sort of case-insensitive comparison and errors out because of that. You could try older Sphinx to see if it's a regression. |
Ah.. I see that Sphinx 7.4.4 is supposed to contain a fix for this. |
This refers to sphinx-doc/sphinx#12586 I think - and yep, it does relate to the same warning message. However: I do not think that it will silence the warning in this particular situation; the sphinx-doc/sphinx#12586 reduced the log severity in the case of duplicates (both This case makes me think that perhaps we should also reduce the log-severity even when there is ambiguity found when loading |
PS: For an interim workaround if you do want to upgrade, you can suppress these warnings following some guidance from here (quoting @AA-Turner):
|
…loses #4474." This reverts commit aa41ab5. A fix has been released in 7.4.6 (sphinx-doc/sphinx#12615).
Last week, docs builds were fine, but attempting to make the 71.0.0 release today, docs builds are failing:
I believe the warning treated as error in sphinxcontrib/towncrier was previously reported in sphinx-contrib/sphinxcontrib-towncrier#91, but somehow it's now blocking builds.
The text was updated successfully, but these errors were encountered: