Skip to content

Conversation

@psavery
Copy link
Collaborator

@psavery psavery commented Dec 15, 2025

A few fixes to issues we encountered after the Python3.14 update.

  1. Add custom cleanup to avoid crash when closing
  2. Ensure boolean is passed to setChecked()

Starting in Qt 6.8, Qt's cleanup system and Python's cleanup
system can interfere with each other and cause a crash. This custom
exiting code that cleans up all Qt objects ensures that won't happen.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
If it is a numpy boolean type, an error will occur. Ensure we convert
it to a Python boolean.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
@psavery psavery requested a review from saransh13 December 15, 2025 16:41
Copy link
Member

@saransh13 saransh13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@psavery psavery merged commit b05da0a into master Jan 5, 2026
10 checks passed
@psavery psavery deleted the python-update-fixes branch January 5, 2026 14:51
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.

3 participants