Skip to content

Current release nominally incompatible with Sphinx >= 5 #12

@sleiner

Description

@sleiner

The current released version of this package (1.2.2) requires Sphinx to be <5,>4. This means it would be incompatible with all Sphinx versions from 5.0 on. In my experience, it works just fine, but it is a problem when using strict dependency managers such as PDM, which (as far as I can tell, rightfully) reports:

% pdm add sphinx-data-viewer
Adding packages to default dependencies: sphinx-data-viewer
🔒 Lock failed
Unable to find a resolution for sphinx
because of the following conflicts:
  sphinx<5,>=4 (from [email protected])
  sphinx<5,>=4 (from [email protected])
  sphinx<5,>=4 (from [email protected])
  sphinx>=7.0.1 (from project)
To fix this, you could loosen the dependency version constraints in pyproject.toml. See https://pdm.fming.dev/latest/usage/dependency/#solve-the-locking-failure for more details.
See /var/folders/vx/hn90mz9j7x1bw6j_msm723h80000gn/T/pdm-lock-lj7c7wo_.log for detailed debug log.
[ResolutionImpossible]: Unable to find a resolution
Add '-v' to see the detailed traceback

Proposed fix

Since 720c7f3, there is no more upper bound on Sphinx. So releasing the current state main would solve the issue :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions