-
Notifications
You must be signed in to change notification settings - Fork 109
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
Use PySide6 #9586
base: main
Are you sure you want to change the base?
Use PySide6 #9586
Conversation
be4a6dc
to
c7090c4
Compare
CodSpeed Performance ReportMerging #9586 will not alter performanceComparing Summary
|
429fc1e
to
a397c37
Compare
It fails locally on MacOS with python3.12, but I got it working by modifying:
|
When it failed it emitted:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9586 +/- ##
==========================================
+ Coverage 91.71% 91.74% +0.02%
==========================================
Files 426 426
Lines 26529 26541 +12
==========================================
+ Hits 24332 24349 +17
+ Misses 2197 2192 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thank you for the help :) |
09e02d1
to
fcb1ddc
Compare
src/ert/gui/ertwidgets/searchbox.py
Outdated
def keyPressEvent(self, arg__1: QKeyEvent) -> None: | ||
if arg__1 is not None and arg__1.key() == Qt.Key.Key_Escape: |
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.
Why are we checking if it is not None, if the parameter cannot be None?
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.
Very good! I have some questions, see comments :)
b5bb693
to
3d745d7
Compare
79c72af
to
e365616
Compare
Upgrade from qtpy with pyqt5 to PySide6. Using PySide6 directly should give us better typing.
Upgrade from qtpy with pyqt5 to PySide6.
Using PySide6 directly should give us better typing.
git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"'
)When applicable