-
Notifications
You must be signed in to change notification settings - Fork 78
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
BLD: pin pyqt to 5.x #999
BLD: pin pyqt to 5.x #999
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #999 +/- ##
==========================================
- Coverage 59.21% 59.20% -0.01%
==========================================
Files 105 105
Lines 14054 14054
==========================================
- Hits 8322 8321 -1
- Misses 5732 5733 +1 |
So it pretty much works, according to CI testing. A quick double-check indicates that 5.15 is getting installed there:
On the PCDS side, we have a desire to use 5.15 for our general runtime/data acquisition environment. As we all know at this point, if you want Qt Designer to work with PyDM plugins, you have to pin to another specific version due to conda-forge's removal of a necessary shared library in recent releases. For that, we intend to keep a designer-only environment available that allows screen development to continue. So, if PyDM's I'll mark this as ready for review to get input. Would this PR or the above environment creation methodology be problematic for the accelerator (or other PyDM users)? |
My thoughts are:
Otherwise, I agree with the change. Extraneous upper pins cause more problems than they solve. |
There would be no issue on the accelerator side, we can pin at the environment level as well. And the workaround of just copying over the Maybe a note added to our installation documentation with the command for creating a designer compatible environment would be helpful, especially for other pydm users as well. (I could add as a followup if you'd like)
This sounds like a good idea. I want to take a look at our pipelines already (maybe switching to mamba at least to fix the long build issues, maybe move to github actions entirely). Adding old and new pyqt could be done there as well. Overall though I agree with the change as well, gives users the choice whether to pin or not as needed. |
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.
None of the suggestions block this being done though, so I am good with it
Remove the
<5.15
pin and just ensure we're on PyQt 5.x.This is just a test and may fail miserably. Let's see what happens on CI.