Skip to content
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

intersphinx: Reduce log severity for ambiguity detection during inventory loading. #12615

Conversation

jayaddison
Copy link
Contributor

Feature or Bugfix

  • Bugfix

Purpose

  • Some popular Python projects contain ambiguous entries in their Intersphinx objects.inv files -- this generally isn't a problem unless those entities are referenced, but we do warn about it when those inventories are loaded. This changeset reduces noise levels from the log message recorded when (non-duplicate) ambiguity is detected.

Detail

  • When an ambiguous non-duplicate entry is detected during loading of an Intersphinx inventory, log an info-level message instead of a warning-level message.

Relates

@AA-Turner AA-Turner merged commit f081136 into sphinx-doc:master Jul 18, 2024
21 checks passed
@jayaddison jayaddison deleted the issue-12613/intersphinx-loading-reduce-ambiguity-msg-severity branch July 18, 2024 12:20
@jayaddison
Copy link
Contributor Author

Thanks @AA-Turner!

@jaraco
Copy link

jaraco commented Jul 18, 2024

Thanks for the quick turnaround and release! That makes it easy to now remove the workaround downstream.

jaraco added a commit to pypa/setuptools that referenced this pull request Jul 18, 2024
…loses #4474."

This reverts commit aa41ab5.

A fix has been released in 7.4.6 (sphinx-doc/sphinx#12615).
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

multiple definitions for std:label:python--m-build--v
3 participants