-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Crash when importing QtCore with PySide 6.8 #494
Comments
Hey @maflAT, thanks for reporting. This seems similar to issue #480, in the sense that PySide 6.8 seems to have broken star imports again (i.e. imports of the form Since Qtpy is simply a wrapper around PyQt and PySide, there's nothing we can do about it. Instead, please report this problem in the Qt bug tracker and kindly ask them to run our test suite before releasing a new minor version to avoid this problem in the future. |
Note that the crash is a CPython crash, i.e. an access violation (exit code 0xC0000005) on windows, i.e.;
crashes with 0xC0000005 and;
exits normally with exit code 0. See attached test.bat file. This bat file outputs;
|
My guess is that the 6.8.0.1 from pypi resolved things they released it today. On conda-forge we also released a backport though we called it Upstream seems to have added a test for star imports too. |
In the fact the bug report I originally opened refers to 6.8.0.1 as having the fix: |
With PySide 6.8.0 installed, qtpy will crash without raising an Exception when importing QtCore from qtpy.
The crash happens in "./qtpy/QtCore.py", line 128:
from PySide6.QtCore import *
.The text was updated successfully, but these errors were encountered: