Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay importing toolkit when importing View. #1883

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

prabhuramachandran
Copy link
Member

@prabhuramachandran prabhuramachandran commented Mar 26, 2022

The last traitsui release introduced a regression where doing from traitsui.view import View would end up importing a toolkit backend. This is tested and fixed. I am not sure if this is an appropriate test case but here it is. This is related to enthought/mayavi#1139

The last traitsui release introduced a regression where doing `from
traitsui.view import View` would end up importing a toolkit backend.
This is tested and fixed.
@corranwebster corranwebster merged commit 44459d7 into main Mar 29, 2022
@corranwebster corranwebster deleted the fix-import-regression branch March 29, 2022 08:33
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.

None yet

2 participants