After upgrade to MacOS Sonoma, even simple tests like
def test_repro(qtbot):
pass
hang indefinitely.
The related github issue has been closed, without any suggested workarounds.
Can someone perhaps come up with any workarounds here?
After upgrade to MacOS Sonoma, even simple tests like
def test_repro(qtbot):
pass
hang indefinitely.
The related github issue has been closed, without any suggested workarounds.
Can someone perhaps come up with any workarounds here?
Copyright © 2021 Jogjafile Inc.
While there's an ongoing discussion on the github issue, and the new App Activation API is pointed out as a suspected culprit, what worked for me was to replace
with
in
pytestqt/plugin.py.In my case, I was able to edit it from PyCharm, it was under "External libraries -> Python 3.11 -> site-packages -> pytestqt -> plugin.py".
Not sure if it broke some other important functionality in qtbot, but at least my tests began to pass, and unblocked me in the short run.