Our most commonly-used Qt bindings, PySide6, issue a DeprecationWarning whenever exec_ is used. For example:
pyface/ui/qt4/confirmation_dialog.py:130: DeprecationWarning: 'exec_' will be removed in the future. Use 'exec' instead.
In the interests of avoiding test noise in downstream packages, it would be nice to avoid these warnings, perhaps by trying exec first (or by doing a hasattr check). Eventually, we should be able to drop the uses of exec_.
Our most commonly-used Qt bindings, PySide6, issue a
DeprecationWarning
wheneverexec_
is used. For example:In the interests of avoiding test noise in downstream packages, it would be nice to avoid these warnings, perhaps by trying
exec
first (or by doing ahasattr
check). Eventually, we should be able to drop the uses ofexec_
.