-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Warning about duplicate definitions in intersphinx mapping #12585
Comments
The warning seems to happen in sphinx 7.4.0 and not 7.3.7, not sure if this is because our (scikit-learn) In case there is something we can do on the scikit-learn side, let us know ... |
Thank you for opening this Max (@maxnoe). This was introduced in 799ae16 (#12329). You can suppress it with The issue with sklearn is that you have both The issue with ipywidgets is that the page has two "Display" headings, one capitalised and one uncapitalised (this is mainly an educated guess as it also depends on how the ipynb file is parsed in to Sphinx): https://github.com/jupyter-widgets/ipywidgets/blob/main/docs/source/examples/Widget%20Layout.ipynb A |
Author of this added warning logic here; apologies for the distraction caused. I think that the The I'll spend some time to figure out whether we can filter out the first case without affecting the second. |
…report/false-positive case sphinx-doc#12585
Note: although not (yet?) reported here, I think these cases would also emit warnings during some Intersphinx refeerence resolution code: sphinx/sphinx/ext/intersphinx/_resolve.py Lines 83 to 87 in c4a7f5b
|
Sphinx 7.4.4 has been released with a fix. A |
Describe the bug
We recently started getting warnings about duplicate definition in intersphinx, from two upstream projects:
Sklearn maintainers suspect this to be a sphinx bug, so I am opening this issue here.
How to Reproduce
and
Environment Information
Sphinx extensions
intersphinx
Additional context
No response
The text was updated successfully, but these errors were encountered: