Skip to content

Python Domain: Avoid fuzzy match when looing up attrs as type annotations#14391

Open
jenshnielsen wants to merge 1 commit intosphinx-doc:masterfrom
jenshnielsen:fix_14223
Open

Python Domain: Avoid fuzzy match when looing up attrs as type annotations#14391
jenshnielsen wants to merge 1 commit intosphinx-doc:masterfrom
jenshnielsen:fix_14223

Conversation

@jenshnielsen
Copy link
Copy Markdown
Contributor

Purpose

This should prevent matches on class attributes when the type is a buildin such as list, set or type

Hopefully resolves #14223 #14340 #14332

  • If you plan to add tests or documentation after opening this PR,
    please note it here.
  • For user-visible changes, remember to add an entry to CHANGES.rst.
  • Please add your name to AUTHORS.rst if you haven't already!

References

Resolves the issue reported in #14223 #14340 #14332 introduced via #13808

…ions

The should prevent matches on class attributes when the type is a buildin such as list, set or type
@edgarrmondragon
Copy link
Copy Markdown

The CI failures are coming from

mberz added a commit to pyfar/spharpy that referenced this pull request Apr 17, 2026
### Which issue(s) are closed by this pull request?

Closes #318

### Changes proposed in this pull request:

- Constrain Sphinx to versions 8.x.x

This constrain can hopefully relaxed after
sphinx-doc/sphinx#14391 is merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type annotations appearing as invalid cross-reference

2 participants