Closed InvincibleRMC closed 3 months ago
Thanks for the PR. I feel pretty strongly that this is a decision each user should be made aware of and opt into by setting this configuration value themselves, even though rosdep will require it.
Disruptive though it is, the Python packaging team and package manager maintainers in operating system distributions have motivations for enacting this change and warning and I do not think it's appropriate for rosdep to squelch the error without communicating the potential impact to users. I've opened #979 which checks for the break-system-packages configuration and attempts to warn the user if it's not enabled.
Currently on python 3.11+ install a pip package crashes rosdep with the following error
In the future https://github.com/ros2/ros2/pull/1524 could support virtual environments as well as updating rosdep to support them after that issue gets resolved. However in the interim I added the
--break-system-packages
to python3.11+.Closes #978