This is a bit cleaner, since that's where PYQT_VERSION, PYQT_VERSION_STR, and PYQT_CONFIGURATION are actually defined, see:
https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qtcore-module.html?highlight=pyqt_version##PYQT_VERSION
https://www.riverbankcomputing.com/static/Docs/PyQt5/extension_api.html
BUG: 405796