Ask Your Question
0

[ROS2] UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead

asked 2021-09-12 11:08:19 -0500

smlajoos gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-10-11 10:36:55 -0500

kolasha gravatar image

Hey Lars, thank you for the contribution.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-09-12 11:08:19 -0500

Seen: 935 times

Last updated: Sep 12 '21