Error building docs while using Python 3.10

96 views
Skip to first unread message

José Carvalho

unread,
Oct 18, 2022, 12:01:54 PM10/18/22
to Dataverse Dev
Hi,

As an "heads-up", working on a documentation PR and while building the Sphynx docs I stumbled into an error:

"...from types import Union as types_Union
ImportError: cannot import name 'Union' from 'types' (/usr/lib64/python3.10/types.py)
"

I found that the Sphynx version (3.5.4) depicted in the requirements.txt file is not compatible with Python 3.10 versions:

Regards,

José

Philip Durbin

unread,
Nov 18, 2022, 3:59:29 PM11/18/22
to datave...@googlegroups.com
Thanks José!

As I mentioned at https://github.com/IQSS/dataverse/issues/9074#issuecomment-1289175823 for now I'm just using Python 3.9 as a workaround. I appreciate the pull request!

Thanks,

Phil

--
You received this message because you are subscribed to the Google Groups "Dataverse Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-dev/09a0ac1e-5ce1-485b-aaab-b4c5a912d1f1n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages