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
6.1 breaks sphinx-argparse-cli #11091
Comments
If you have the reST source that generated the error it would be useful to add as a regression test to Sphinx. A |
Getting the same error when building readthedocs: https://readthedocs.org/projects/pastas/builds/19084935/
|
I only get it in the context of code generated by sphinx-argparse-cli https://github.com/tox-dev/sphinx-argparse-cli/blob/main/roots/test-basic/index.rst, so no minimal repro from me 😢 |
Added this as a fairly basic test: literal_block = nodes.literal_block('', '')
list_item = nodes.list_item('', literal_block)
bullet_list = nodes.bullet_list('', list_item)
assert literal_block.source is None
assert list_item.source is None
assert bullet_list.source is None
apply_source_workaround(literal_block)
assert literal_block.source is None
assert list_item.source is None
assert bullet_list.source is None A |
Fixed in Sphinx 6.1.1, released at 5pm today. A |
Describe the bug
#11061 raises a hard error for missing nodes, but then #4193 workaround now does not work if the source cannot be found:
How to Reproduce
Clone and run the test suite for https://github.com/tox-dev/sphinx-argparse-cli
Environment Information
Sphinx extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: