You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the merge of #1396, builds started to fail with errors about undefined references, which was normal because some labels were removed that indeed had references pointing to them. (This was fixed in #1433.) The problem is that this was not caught before the merge, even though the GitHub merge queue was used to merge the PR. The merge queue is supposed to check the result of merging the PR branch into master (as opposed to just checking the PR branch).
I did some digging into this mystery and it seems to me that this was caused by this oddity in our conf.py:
So... what happened is that while the PR was not merged, the references :ref:`declaring-build-dependencies` was resolved to to be an Intersphinx reference to the deployment https://packaging.python.org ! And then, after the PR got merged, the targets were removed by the deployment and the references logically became dangling.
After the merge of #1396, builds started to fail with errors about undefined references, which was normal because some labels were removed that indeed had references pointing to them. (This was fixed in #1433.) The problem is that this was not caught before the merge, even though the GitHub merge queue was used to merge the PR. The merge queue is supposed to check the result of merging the PR branch into master (as opposed to just checking the PR branch).
I did some digging into this mystery and it seems to me that this was caused by this oddity in our
conf.py
:So... what happened is that while the PR was not merged, the references
:ref:`declaring-build-dependencies`
was resolved to to be an Intersphinx reference to the deployment https://packaging.python.org ! And then, after the PR got merged, the targets were removed by the deployment and the references logically became dangling.You can see this on the PR preview of #1396:
https://python-packaging-user-guide--1396.org.readthedocs.build/en/1396/guides/modernize-setup-py-project/
Here I'm hovering on the first link, which points to inside the PR preview.
And here I hover on the second link, which points to https://packaging.python.org instead, with a tooltip indicating an external link.
I'm going to open a PR to remove that entry in the Intersphinx mapping.
The text was updated successfully, but these errors were encountered: