Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building docs on 3.11 is broken #125

Open
sjsrey opened this issue Sep 27, 2023 · 3 comments
Open

Building docs on 3.11 is broken #125

sjsrey opened this issue Sep 27, 2023 · 3 comments

Comments

@sjsrey
Copy link
Member

sjsrey commented Sep 27, 2023

± 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
Copy link
Member

Seems also to be related to pysal/spaghetti#731.

@knaaptime
Copy link
Member

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

@sjsrey
Copy link
Member Author

sjsrey commented Sep 29, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants