mottosso / Qt.py

Minimal Python 2 & 3 shim around all Qt bindings - PySide, PySide2, PyQt4 and PyQt5.
MIT License
896 stars 252 forks source link

Use importlib on Python > 3.11 in tests #396

Closed dvzrv closed 4 months ago

dvzrv commented 4 months ago

As the imp module is removed with Python 3.12, use importlib instead.

https://docs.python.org/dev/whatsnew/3.12.html#imp

Fixes: https://github.com/mottosso/Qt.py/issues/395

CLAassistant commented 4 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

dvzrv commented 4 months ago

Sorry, but is this a joke? A CLA?

dvzrv commented 4 months ago

Feel free to reuse this code, but this is unfortunately not something I will continue contributing to further. :wave: