Skip to content

Either make QtSvg an optional dependency, or add it to the pyproject.toml extras #1283

@mdickinson

Description

@mdickinson

Pyface with the PySide6 backend currently requires QtSvg: it's imported from unconditionally in pyface.ui.qt.resource_manager. However, recent versions of PySide6 on EDM don't include QtSvg as a dependency, leading to failures.

We should either list QtSvg as an explicit dependency in the optional-dependencies part of pyproject.toml, or update the resource_manager code to make QtSvg optional (it would be easy to make the import local to the place it's needed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions