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
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://email@example.com/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
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.