>>> from griffe.dataclasses import Docstring
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
from griffe.dataclasses import Docstring
ModuleNotFoundError: No module named 'griffe.dataclasses'
I'm guessing an older version of griffe had griffe.dataclasses and so the missing pydanclick[griffe] extra should constrain the griffe version to the working version?
First, the docs say install
pydanclick[griffe]
but that fails:So I manually install
griffe
, but thenpydanclick
parse_attribute_documentation
tries to import this:https://github.com/felix-martel/pydanclick/blob/e0d762f5983804d8716810304db57291a6e5982f/pydanclick/model/docstrings.py#L30-L31
which fails and so griffe is disabled:
I'm guessing an older version of griffe had
griffe.dataclasses
and so the missingpydanclick[griffe]
extra should constrain the griffe version to the working version?