Skip to content

MAINT: add compatibility with traitsui qt renaming#1033

Merged
homosapien-lcy merged 1 commit into
mainfrom
traits_ui_qt_fix
Apr 17, 2023
Merged

MAINT: add compatibility with traitsui qt renaming#1033
homosapien-lcy merged 1 commit into
mainfrom
traits_ui_qt_fix

Conversation

@homosapien-lcy
Copy link
Copy Markdown
Contributor

@homosapien-lcy homosapien-lcy commented Apr 17, 2023

Recently, a lot of enthought open source packages such as enable, traitsui and pyface are changing the name of the qt folder name from qt4 to qt. This causes ModuleNotFoundErrors. Thus it would be necessary to add compatibility imports to handle these errors. This PR adds compatibility imports to solve the import error in enable/enable/examples/demo/enable/brush_draw. closes #1032

@homosapien-lcy homosapien-lcy changed the title MAINT: add compatibility with pyface 8.0.0 MAINT: add compatibility with traitsui qt renaming Apr 17, 2023
@corranwebster
Copy link
Copy Markdown
Contributor

We need to turn off tests on EDM + MacOS - they will never succeed, and NumPy is not optional for Kiva.

@homosapien-lcy homosapien-lcy merged commit 5088b72 into main Apr 17, 2023
@homosapien-lcy homosapien-lcy deleted the traits_ui_qt_fix branch April 17, 2023 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'traitsui.qt4.color_editor'

2 participants