pointpats
pointpats copied to clipboard
Building docs on 3.11 is broken
± make github
make[1]: Entering directory '/home/serge/para/1_projects/code-pysal-pointpats/pointpats/docs'
Running Sphinx v7.2.6
Exception occurred:
File "/home/serge/miniconda3/envs/pointpats/lib/python3.11/dataclasses.py", line 815, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'pybtex.richtext.Text'> for field other is not allowed: use default_factory
Seems also to be related to https://github.com/pysal/spaghetti/issues/731.
I think that’s directly from sphinx? We’re not using dataclass anywhere I don’t think
Building on an environment with 3.10 locally works fine. I think we have the CI setup to do the same, so perhaps we close this?