numpy## component dependencies to honor
python version suffixes on components named by the caller. Although
upstream Boost did not add version suffixes prior to version 1.67, it is
commonly done by distros. Honor suffixes specified by project code.
Projects must take responsibility for naming distro-specific component
suffixes for versions prior to 1.67.
Originally reported here: https://bugs.archlinux.org/task/58472
In Boost versions 1.66 and 1.65, Boost NumPy 3 has a dependency to Boost Python 2. This makes it impossible to import compiled modules in Python 3.
Note regarding the changes: When there is no version suffix requested (e.g., only
numpy is requested, not
component_python_version should be an empty string, and therefore the dependency should be properly set to
This fixes the issue (at least on Arch Linux).