Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colcon build warnings on Ubuntu 22.04 #45

Closed
jeffi opened this issue Apr 29, 2022 · 5 comments
Closed

colcon build warnings on Ubuntu 22.04 #45

jeffi opened this issue Apr 29, 2022 · 5 comments

Comments

@jeffi
Copy link
Collaborator

jeffi commented Apr 29, 2022

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
@KeplerC
Copy link
Collaborator

KeplerC commented Apr 29, 2022 via email

@KeplerC
Copy link
Collaborator

KeplerC commented May 2, 2022

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?

@mjd3
Copy link
Collaborator

mjd3 commented May 2, 2022

@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

@KeplerC
Copy link
Collaborator

KeplerC commented May 2, 2022

Close this issue as it is tracked in elsewhere.

@KeplerC KeplerC closed this as completed May 2, 2022
@jeychandar
Copy link

image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants