enthought / enthought/pyface

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

Open
#1,283 1 comment 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.