One advantage of that, is that scripts will fail at runtime and warn you that 'package: ...' is not found on the python path. It uses pkg_resources to find those dependencies. Right now, it seems it finds everything except ament_cmake_python packages (e.g. rclpy) and message ...
$ ros2 pkg create --build-type ament_cmake_python test_interfaces outputs: usage: ros2 pkg create [-h] [--package-format {2,3}] [--description DESCRIPTION] [--license LICENSE] [--destination-directory DESTINATION_DIRECTORY] [--build-type {cmake,ament_cmake,ament_python}] [--dependenc...
I've come across some concerning behavior when you install python3.12-dev on Ubuntu 22.04. It breaks ament_cmake_python due to the removal of distutils! I was hoping to work with a friend who uses MacOS and we had some python3.12 specific issues, so naturally, I just added it to my ...