Hide Forgot
boost-python3 ships /usr/lib64/libboost_python39.so.1.73.0 but it does not rquire Python 3.9: $ repoquery --repo=koji --requires boost-python3 libc.so.6(GLIBC_2.14)(64bit) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libpthread.so.0()(64bit) librt.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) As such, packages that BR boost-python3 will happily install the Python 3.9 boost package in Python 3.10 environment. I think that boost-python3 should require Python 3.9, WDYT?
Note that, as boost-python does not run the Python interpreter, it should not require it. The idea is that the caller of the Boost:Python library will bring their own Python library, usually part of the Python interpreter. That way, the Boost:Python library can be used from many different Python programs, including the interpreters. But maybe I missed your point? Some references, as when the issue was raised a few months ago (in May 2020): * Many packages unnecessarily link to libpython: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IAIUO5XU54FQM64TDXWF4YMHHWGQFNXT/ * libarcus Pull Request - Stop linking the Python module to libpython (on Python 3.8+): https://src.fedoraproject.org/rpms/libarcus/pull-request/8 * Changes/PythonStaticSpeedup: https://fedoraproject.org/wiki/Changes/PythonStaticSpeedup * Changes/PythonNoSemanticInterpositionSpeedup: https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup * https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-the-c-api * https://bugs.python.org/issue21536
It could require it without linking to it though.
The issue is that if you have boost-python3 (for 3.9) and python3-devel (3.10) installed, you cannot really do anything.
(In reply to Miro Hrončok from comment #3) > The issue is that if you have boost-python3 (for 3.9) and python3-devel > (3.10) installed, you cannot really do anything. You are right (obviously), thanks! @Jonathan, will you add that require in the RPM specification file?
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.