Skip to content

Can’t build sphinx doc with py3.10 #231

@alarig

Description

@alarig

Hello,

Python 3.10 throws an error about napoleon sphinx:

python3.10 -m sphinx.cmd.build -b html -d docs/_build/doctrees docs docs/_build/html
Running Sphinx v4.5.0

Extension error:
Could not import extension sphinxcontrib.napoleon (exception: cannot import name 'Callable' from 'collections' (/usr/lib/python3.10/collections/__init__.py))

The build config use the old sphinxcontrib.napoleon external extension, it’s has been merge into sphinx 1.3 (upstream is now at 5.0)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions