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

Incompatible with sphinx 7.2 #21

Open
natsukium opened this issue Dec 31, 2023 · 0 comments · May be fixed by #22
Open

Incompatible with sphinx 7.2 #21

natsukium opened this issue Dec 31, 2023 · 0 comments · May be fixed by #22

Comments

@natsukium
Copy link

When I run the test with sphinx 7.2.0, I get the following error.
It seems to work fine up to 7.1.2.

Error in test test_all_members (repoze.sphinx.tests.test_autointerface.TestAutoInterface.test_all_members)
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
    yield
  File "/usr/local/lib/python3.11/unittest/case.py", line 623, in run
    self._callTestMethod(testMethod)
  File "/usr/local/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
    if method() is not None:
  File "/usr/local/lib/python3.11/site-packages/repoze/sphinx/tests/test_autointerface.py", line 118, in test_all_members
    all_results = self.assertResultContains('   .. method:: smoothTheDinglebop(schleem)')
  File "/usr/local/lib/python3.11/site-packages/repoze/sphinx/tests/test_autointerface.py", line 103, in assertResultContains
    inst.generate(**kw)
  File "/usr/local/lib/python3.11/site-packages/sphinx/ext/autodoc/__init__.py", line 1886, in generate
    return super().generate(more_content=more_content,
  File "/usr/local/lib/python3.11/site-packages/sphinx/ext/autodoc/__init__.py", line 940, in generate
    self.add_directive_header(sig)
  File "/usr/local/lib/python3.11/site-packages/repoze/sphinx/autointerface.py", line 35, in add_directive_header
    autodoc.Documenter.add_directive_header(self, sig)
  File "/usr/local/lib/python3.11/site-packages/sphinx/ext/autodoc/__init__.py", line 538, in add_directive_header
    if self.options.no_index or self.options.noindex:
AttributeError: 'Options' object has no attribute 'no_index'
natsukium added a commit to natsukium/nixpkgs that referenced this issue Dec 31, 2023
natsukium added a commit to natsukium/nixpkgs that referenced this issue Jan 3, 2024
@jamesjer jamesjer linked a pull request Jan 29, 2024 that will close this issue
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 a pull request may close this issue.

1 participant