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: Don't warn about bindings change if user did not specify a binding #176

Merged
merged 3 commits into from
Mar 5, 2019

Conversation

ignamv
Copy link

@ignamv ignamv commented Dec 3, 2018

No description provided.

@ccordoba12
Copy link
Member

What's the purpose of this PR? Please be more specific.

@ignamv
Copy link
Author

ignamv commented Dec 3, 2018

If the user doesn't specify a binding, qtpy tries to use pyqt5. If pyqt5 is not found and pyside is used, qtpy produces a warning. I believe this warning should only happen if the user explicitly requested a specific binding. If no binding was specified, it's safe to say he doesn't care which binding is used. Also, it is arbitrary to throw a warning with pyside and not with pyqt5 (since neither was requested by the user).

@ccordoba12 ccordoba12 added this to the v1.6.1 milestone Jan 26, 2019
@ccordoba12 ccordoba12 changed the title If user did not specify a binding, do not warn him about the binding used PR: Don't warn about binding used If user did not specify a binding Jan 26, 2019
@ccordoba12 ccordoba12 changed the title PR: Don't warn about binding used If user did not specify a binding PR: Don't warn about binding used if user did not specify a binding Mar 5, 2019
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 for contribution @ignamv!! (and sorry for the late reply).

I modified your work a little bit to work with any binding previously set by users.

@ccordoba12
Copy link
Member

Note: The Circle failures are unrelated to this.

@ccordoba12 ccordoba12 changed the title PR: Don't warn about binding used if user did not specify a binding PR: Don't warn about bindings change if user did not specify a binding Mar 5, 2019
@ccordoba12 ccordoba12 merged commit 203be8a into spyder-ide:master Mar 5, 2019
@ignamv
Copy link
Author

ignamv commented Mar 5, 2019 via email

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.

2 participants