Open luca-della-vedova opened 4 months ago
Similar problem was encountered in the buildfarm and the solution is to set the envar PIP_BREAK_SYSTEM_PACKAGES.
We should adopt the same in our CI jobs.
Is anyone in the ROS community looking at the current state of the python ecosystem? I've heard rumours that Python is also planning on moving to a rust/cargo like packaging format via the pyproject.toml
. In any case I don't think mixing pip packages with ros2 system packages is good practice in the longer term.
Building on Noble beta / Rolling, Python / pip became a lot more conservative and the following error is returned when trying to install datamodel-code-generator:
Passing
--break-system-packages
works but there is probably a reason this was upgraded to an error, I haven't tried usingpipx
yet.