BerkeleyAutomation / FogROS2

An Adaptive and Extensible Platform for Cloud and Fog Robotics Using ROS 2

Home Page:https://berkeleyautomation.github.io/FogROS2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

colcon build warnings on Ubuntu 22.04

jeffi opened this issue · comments

Describe the bug
colcon generates warnings during builds on Ubuntu 22.04. See screenshot.

To Reproduce

cd ~/fog_ws
colcon build --merge-install

Expected behavior
No warnings.

Screenshots

$ colcon build --merge-install
Starting >>> fogros2 
Starting >>> fogros2_examples
--- stderr: fogros2_examples                                                
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< fogros2_examples [2.28s]
--- stderr: fogros2                   
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
---
Finished <<< fogros2 [2.32s]

Summary: 2 packages finished [2.67s]
  2 packages had stderr output: fogros2 fogros2_examples

https://answers.ros.org/question/396439/setuptoolsdeprecationwarning-setuppy-install-is-deprecated-use-build-and-pip-and-other-standards-based-tools/
It seems the solution is to downgrade python from 3.10 to 3.8. Should we close this issue since the issue is not on our side?

@KeplerC the python versioning only makes sense for Ubuntu 20.04 where Python 3.8 is the default install. However, in 22.04, Python 3.10 will be the default. Looks like colcon is tracking this issue already though: colcon/colcon-core#454

Close this issue as it is tracked in elsewhere.

image

I am new to this ..can you help me out! Thanks in advance