$ rpm -q python3-pyqtchart python3-pyqtchart-5.12-1.fc31.x86_64 >>> from PyQt5.QtChart import QChart, QLineSeries, QValueAxis Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: libQt5Charts.so.5: cannot open shared object file: No such file or directory $ rpm -ql python3-pyqtchart | grep so$ /usr/lib64/python3.7/site-packages/PyQt5/QtChart.so $ rpm -q --requires python3-pyqtchart python(abi) = 3.7 python3-qt5 rpmlib... While on my Fedora 30: $ rpm -q --requires python3-pyqtchart-5.11.1-4.fc30.x86_64 libGL.so.1()(64bit) libQt5Charts.so.5()(64bit) libQt5Charts.so.5(Qt_5)(64bit) libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Core.so.5(Qt_5.11)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) python(abi) = 3.7 python3-qt5 rpmlib... I belive this is a regression that was wrongfully covered by https://src.fedoraproject.org/rpms/python-pyqtchart/c/a796712eb0ec2bc877875584f057793161e11ca5?branch=master - temporarily disabling the debug_package - in fact, the package did not link properly. Installing qt5-qtcharts manually workarounds the issue. I'm going to add the dependency manually to unblock bz1731655, but this should be solved properly.
Rex, any idea what could have caused this?
Make sure your *.so files are executable, otherwise rpm won't autodetect library dependencies. See python-qt5 example, https://src.fedoraproject.org/rpms/python-qt5/blob/master/f/python-qt5.spec#_327
Any idea why they suddenly stopped being executable?
I don't know the cause unfortunately
Thanks for the pointer anyway.