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

Sphinx 3.4 (test?) compatibility #14

Closed
speedyleion opened this issue Dec 27, 2020 · 0 comments
Closed

Sphinx 3.4 (test?) compatibility #14

speedyleion opened this issue Dec 27, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@speedyleion
Copy link
Owner

It looks like sphinx 3.4 made changes that cause test failures

It looks like only one set of unit tests fail, so it may be that the sphinx test environment changed.
Rolling back to sphinx 3.3 works.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ c:\git\sphinx-c-autodoc\.tox\py37\lib\site-packages\sphinx_c_autodoc\__init__.py:422: in __init__
    super().__init__(directive, name, indent)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <sphinx_c_autodoc.CTypeDocumenter object at 0x000001CE7FAAEF08>
directive = <sphinx.ext.autodoc.directive.DocumenterBridge object at 0x000001CE7FAAECC8>, name = 'my_name', indent = ''

    def __init__(self, directive: "DocumenterBridge", name: str, indent: str = '') -> None:
        self.directive = directive
>       self.config = directive.env.config
E       AttributeError: 'NoneType' object has no attribute 'config'

c:\git\sphinx-c-autodoc\.tox\py37\lib\site-packages\sphinx\ext\autodoc\__init__.py:330: AttributeError
@speedyleion speedyleion added the bug Something isn't working label Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant