Skip to content

Fix regression in autodoc.Documenter.parse_name#11613

Merged
AA-Turner merged 4 commits intosphinx-doc:masterfrom
zmc:autodoc-parsename-regression
Aug 20, 2023
Merged

Fix regression in autodoc.Documenter.parse_name#11613
AA-Turner merged 4 commits intosphinx-doc:masterfrom
zmc:autodoc-parsename-regression

Conversation

@zmc
Copy link
Copy Markdown
Contributor

@zmc zmc commented Aug 17, 2023

If the assert statement added in #11523 fails, the build fails and the user only sees assert matched is not None; with this change, they will get a proper warning message containing the name of the offending module, and the build will succeed.

If the assert statement added in sphinx-doc#11523 fails, the build fails and the
user only sees `assert matched is not None`; with this change, they will
get a proper warning message containing the name of the offending
module, and the build will succeed.

Signed-off-by: Zack Cerza <[email protected]>
@kamoltat
Copy link
Copy Markdown

Would love to review but it seems like I don't have the permission to do so

@AA-Turner
Copy link
Copy Markdown
Member

You should be able to review via the files tab? You don't need any permissions.

A

@kamoltat
Copy link
Copy Markdown

You should be able to review via the files tab? You don't need any permissions.

A

ahh I see

@AA-Turner AA-Turner changed the title Fix regression in autodoc.Documenter.parse_name Fix regression in autodoc.Documenter.parse_name Aug 20, 2023
@AA-Turner AA-Turner enabled auto-merge (squash) August 20, 2023 22:30
@AA-Turner AA-Turner linked an issue Aug 20, 2023 that may be closed by this pull request
@AA-Turner AA-Turner merged commit 1e16f21 into sphinx-doc:master Aug 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sphinx.ext.autodoc (7.2.0+) fails with AssertionError

3 participants