pointpats icon indicating copy to clipboard operation
pointpats copied to clipboard

Building docs on 3.11 is broken

Open sjsrey opened this issue 2 years ago • 3 comments

± 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

Related?

sjsrey avatar Sep 27 '23 17:09 sjsrey

Seems also to be related to https://github.com/pysal/spaghetti/issues/731.

jGaboardi avatar Sep 27 '23 17:09 jGaboardi

I think that’s directly from sphinx? We’re not using dataclass anywhere I don’t think

knaaptime avatar Sep 27 '23 17:09 knaaptime

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?

sjsrey avatar Sep 29 '23 17:09 sjsrey