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

PR: Wrap pysideuic and pyside2uic imports since they could be unavailable #246

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

dalthviz
Copy link
Member

Fixes #245

@dalthviz dalthviz added this to the v1.11.1 milestone Sep 10, 2021
@dalthviz dalthviz self-assigned this Sep 10, 2021
@ccordoba12 ccordoba12 changed the title PR: Wrapp pysideuic and pyside2uic imports since they could be unavailable PR: Wrap pysideuic and pyside2uic imports since they could be unavailable Sep 11, 2021
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dalthviz, I left a minor comment for you to maintain compatibility with Python 2. Otherwise looks good to me.

qtpy/uic.py Outdated Show resolved Hide resolved
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dalthviz!

@ccordoba12 ccordoba12 merged commit ef34e10 into spyder-ide:master Sep 13, 2021
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.

Importing qtpy.uic raises an exception
2 participants