Skip to content

Commit 67423dc

Browse files
committed
Ignore additional easyinstall/setup.py deprecation warnings
When using the colcon `--symlink-install` flag (as we usually do), one gets shown the following huge warning for every Python-package: ``` /usr/lib/python3/dist-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See pypa/setuptools#917 for details. ******************************************************************************** !! easy_install.initialize_options(self) --- ``` Has been solved by: ros2/ros2#1577 (comment)
1 parent fe27412 commit 67423dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.devcontainer/zshrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export PROMPT="%K{black} 🐋 %K{blue}%F{black} %~ %f%k%F{blue}%f " # Pre
5555
# >>> bit-bots initialize >>>
5656

5757
# Ignore some deprecation warnings
58-
export PYTHONWARNINGS=ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources
58+
export PYTHONWARNINGS="ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources,ignore:easy_install command is deprecated,ignore:setup.py install is deprecated"
5959

6060
# Limit ROS 2 communication to localhost (can be overridden when needed)
6161
export ROS_DOMAIN_ID=24

bitbots_misc/bitbots_docs/docs/manual/tutorials/install_software_ros2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ In case you are not using the bash shell, replace ``~/.bashrc`` and ``bash`` wit
109109
# >>> bit-bots initialize >>>
110110
111111
# Ignore some deprecation warnings
112-
export PYTHONWARNINGS=ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources
112+
export PYTHONWARNINGS="ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources,ignore:easy_install command is deprecated,ignore:setup.py install is deprecated"
113113
114114
# Limit ROS 2 communication to localhost (can be overridden when needed)
115115
export ROS_DOMAIN_ID=24

scripts/setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SHELL_CONFIG="$(cat <<EOF
1111
# >>> bit-bots initialize >>>
1212
1313
# Ignore some deprecation warnings
14-
export PYTHONWARNINGS=ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources
14+
export PYTHONWARNINGS="ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources,ignore:easy_install command is deprecated,ignore:setup.py install is deprecated"
1515
1616
# Limit ROS 2 communication to localhost (can be overridden when needed)
1717
export ROS_DOMAIN_ID=24

0 commit comments

Comments
 (0)