Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1896713 - boost-python3 does not require Python 3.Y
Summary: boost-python3 does not require Python 3.Y
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Jonathan Wakely
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3.10
TreeView+ depends on / blocked
Reported: 2020-11-11 11:00 UTC by Miro Hrončok
Modified: 2021-06-07 22:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description Miro Hrončok 2020-11-11 11:00:05 UTC
boost-python3 ships /usr/lib64/ 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?

Comment 1 Denis Arnaud 2020-11-11 16:36:23 UTC
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:
* libarcus Pull Request - Stop linking the Python module to libpython (on Python 3.8+):
* Changes/PythonStaticSpeedup:
* Changes/PythonNoSemanticInterpositionSpeedup:

Comment 2 Jonathan Wakely 2020-11-11 19:39:23 UTC
It could require it without linking to it though.

Comment 3 Miro Hrončok 2020-11-12 09:58:47 UTC
The issue is that if you have boost-python3 (for 3.9) and python3-devel (3.10) installed, you cannot really do anything.

Comment 4 Denis Arnaud 2020-11-12 17:40:01 UTC
(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?

Comment 5 Ben Cotton 2021-02-09 16:55:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 6 Miro Hrončok 2021-06-04 20:15:14 UTC
This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla.

The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide.

You can either build the package in the side tag, with:

    $ fedpkg build --target=f35-python

Or you can the build and we will eventually build it for you.

Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away.


See also

If you have general questions about the rebuild, please use this mailing list thread:

Comment 7 Miro Hrončok 2021-06-07 22:59:42 UTC
The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build.

Note You need to log in before you can comment on or make changes to this bug.