pysal / pointpats

Planar Point Pattern Analysis in PySAL
https://pysal.org/pointpats/
BSD 3-Clause "New" or "Revised" License
80 stars 26 forks source link

Building docs on 3.11 is broken #125

Open sjsrey opened 10 months ago

sjsrey commented 10 months ago
± 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?

jGaboardi commented 10 months ago

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

knaaptime commented 10 months ago

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

sjsrey commented 10 months ago

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?