Closed danthony06 closed 1 month ago
Pure python dependencies break with rosdep on Python versions newer than 3.10, which impacts ROS 2 Jazzy and Rolling. See the discussion below for details.
https://discourse.ros.org/t/rosdep-for-pip-is-broken-on-jazzy/38981/8 https://github.com/ros-infrastructure/rosdep/blob/f6857691e9a23e3a3f39e55189195dc3e4bf0770/doc/pip_and_pep_668.rst
This PR addresses the problem by setting the environment variable PIP_BREAK_SYSTEM_PACKAGES when the Python version is newer than 3.10. It resolves issue https://github.com/ros-industrial/industrial_ci/issues/881.
PIP_BREAK_SYSTEM_PACKAGES
Pure python dependencies break with rosdep on Python versions newer than 3.10, which impacts ROS 2 Jazzy and Rolling. See the discussion below for details.
https://discourse.ros.org/t/rosdep-for-pip-is-broken-on-jazzy/38981/8 https://github.com/ros-infrastructure/rosdep/blob/f6857691e9a23e3a3f39e55189195dc3e4bf0770/doc/pip_and_pep_668.rst
This PR addresses the problem by setting the environment variable
PIP_BREAK_SYSTEM_PACKAGES
when the Python version is newer than 3.10. It resolves issue https://github.com/ros-industrial/industrial_ci/issues/881.