[ROS2] UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead
lars@larsmachine:~/teach_ws$ colcon build
Starting >>> topic_package /usr/local/lib/python3.8/dist-packages/setuptools/dist.py:714: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead warnings.warn(
/usr/local/lib/python3.8/dist-packages/setuptools/dist.py:714: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead warnings.warn(
--- stderr: topic_package
/usr/local/lib/python3.8/dist-packages/setuptools/dist.py:714: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
warnings.warn(
/usr/local/lib/python3.8/dist-packages/setuptools/dist.py:714: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead warnings.warn(
Finished <<< topic_package [0.53s]
Summary: 1 package finished [0.64s] 1 package had stderr output: topic_package
Problem Discription
I get this UserWarning everytime I build my workspace. Seems to be a problem with python3... This error is occuring for every building process of each package, since I've installed some debian packages for a YOLO package...
The building process still works, but in my usual workspace with >10 packages these error warnings are quite annoying. By changing "install-scripts" and "build-type" in the setup.cfg file to "install_scripts" and "build_type" the warning doesn't occur anymore. I'm using ubuntu 20.04, ros2-foxy and python 3.810.
I already tried unsuccessfully to uncomment this warning in the dist.py.