Skip to content

Currently defined Sphinx version (3.5.4) doesn't support python 3.10 #9074

@j-n-c

Description

@j-n-c

What steps does it take to reproduce the issue?

  • Have python 3.10 installed on host (tested with 3.10.6)
  • Install Sphinx as stated in the documentation
  • Build Sphynx guides
  • When does this issue occur?
    When building Sphynx guides using Python 3.10

  • What happens?
    An error is returned:

from types import Union as types_Union
ImportError: cannot import name 'Union' from 'types' (/usr/lib64/python3.10/types.py)
  • What did you expect to happen?
    The Sphynx docs to be built successfully

Which version of Dataverse are you using?
v5.11.1

Any related open or closed issues to this bug report?

This issue is seconded by issues from in Sphynx repository:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions