refactor(widgets) add support for python 3.14#504
Merged
Conversation
- Introduced a new utility function `refresh_widget_style` to streamline the process of refreshing widget styles across various components. - Replaced direct calls to `style().unpolish()` and `style().polish()` with `refresh_widget_style()` in multiple widget classes, enhancing code readability and maintainability. - Updated context menus in taskbar and systray widgets to use the main window as the parent for better behavior. - Removed unnecessary style refresh calls in several widgets, ensuring that style updates are handled consistently through the new utility function. - Removed PqQt6 pinning to allow for the latest compatible version to be installed, improving dependency management. - Add Mica support for Windows 11 in AlertDialog. - Updated the Python version in both `windows-dev.yaml` and `windows.yaml` to 3.14 for consistency. - Enhanced `build.py` to exclude additional binaries during the build process. - Added auto width management in `bar.py` for better layout handling. - Implemented thread cleanup in `systray.py` on application quit. - Introduced a startup delay for worker threads in `update_check.py` to improve application responsiveness.
Kepners
pushed a commit
to Kepners/yasb
that referenced
this pull request
Feb 4, 2026
refactor(widgets) add support for python 3.14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refresh_widget_styleto streamline the process of refreshing widget styles across various components.style().unpolish()andstyle().polish()withrefresh_widget_style()in multiple widget classes, enhancing code readability and maintainability.windows-dev.yamlandwindows.yamlto 3.14 for consistency.build.pyto exclude additional binaries during the build process.bar.pyfor better layout handling.systray.pyon application quit.update_check.pyto improve application responsiveness.