New PyQ5-qt appeared, causing build problem on macOS?
On our mac builder:
Requirement already satisfied: PyQt5==5.15.3 in /usr/local/lib/python3.7/site-packages (from -r requirements.txt.client (line 10)) (5.15.3)
...
Requirement already satisfied: PyQt5-Qt>=5.15 in /usr/local/lib/python3.7/site-packages (from PyQt5==5.15.3->-r requirements.txt.client (line 10)) (5.15.2)
Not the apparent version mismatch.
PyQt5-Qt seems to be a new project (Feb 2021): https://pypi.org/project/PyQt5-Qt/
The resulting mac builds fail with:
# ./PlomClient-0.5.19-macos.bin
Traceback (most recent call last):
File "plom/scripts/client.py", line 20, in <module>
ImportError: dlopen(/var/folders/fg/6m3nf7p54fscxjrflk29qblw000bbk/T/_MEI9IX4Hz/PyQt5/QtCore.abi3.so, 2): Library not loaded: @loader_path/../QtCore
Referenced from: /var/folders/fg/6m3nf7p54fscxjrflk29qblw000bbk/T/_MEI9IX4Hz/PyQt5/QtCore.abi3.so
Reason: image not found
[77359] Failed to execute script client
Once we downgrade to pyqt5==5.15.2
, then this error goes away. I think, but not %v0.15.2 sure that pyqt5==5.15.2
does not depend on this new library and pyqt5==5.13.3
does:
$ pip3 install pyqt5==5.15.2
Requirement already satisfied: pyqt5==5.15.2 in /usr/local/lib/python3.7/site-packages (5.15.2)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in /usr/local/lib/python3.7/site-packages (from pyqt5==5.15.2) (12.8.1)
macos10136-1:~ glr$ pip3 install pyqt5==5.15.3
Collecting pyqt5==5.15.3
Using cached PyQt5-5.15.3-cp36.cp37.cp38.cp39-abi3-macosx_10_13_intel.whl (7.0 MB)
Collecting PyQt5-Qt>=5.15
Using cached PyQt5_Qt-5.15.2-py3-none-macosx_10_13_intel.whl (40.5 MB)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in /usr/local/lib/python3.7/site-packages (from pyqt5==5.15.3) (12.8.1)
Installing collected packages: PyQt5-Qt, pyqt5
Attempting uninstall: pyqt5
Found existing installation: PyQt5 5.15.2
Uninstalling PyQt5-5.15.2:
Successfully uninstalled PyQt5-5.15.2
Successfully installed PyQt5-Qt-5.15.2 pyqt5-5.15.3
I guess one way or another pyqt5-5.15.3 does not support this old macOS (10.13.6 I think). Not sure where to report upstream