-
Notifications
You must be signed in to change notification settings - Fork 481
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
added upgraded sip qt to setup #579
Conversation
Did you I am not sure about Sip (it is not a dependency of pyqt5 and I do not have it installed on my windows where the client works), but I do not think we should add pyqt5-sip as our dependency, this will break things the next time pyqt5 is updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment. I do not think this change is required. What version where you running before, can we reproduce the behavior?
Hi, I've did the install of -e already after first uninstalling previous install of cflib and cfclient. Problem that on my machine it didn't install the right qt-sip. I was running cfclient 2021.04 before. |
I think the key is this error:
but pyqt5~=5.15.0 has PyQt5sip >=12.8 as requirement, while it should be 12.9. So I do think we should do at least PyQt5-sip>=12.9.0 |
I just verified when I downgraded my PyQt5sip to 12.8, then I was able to recreate the error |
Btw, I had the same thing happening with Ubuntu so this is not a windows error. So since the setup.py of our version for pyqt5 is wrong, so we should probably enforce that constraint of pyqt5-sip always being same or higher than 12.9? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Great finding!
This fixes the error I had when opening the client in latest version:
After I updated the following:
it all went better again. So I updated setup.py to contain: