From ed6470371fda56e815250a091a79a69abb2f2432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20L=C3=BCdtke?= <727227+mathias-luedtke@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:13:41 +0200 Subject: [PATCH] Pin catkin_lint version for python2 (#888) --- industrial_ci/src/tests/source_tests.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/industrial_ci/src/tests/source_tests.sh b/industrial_ci/src/tests/source_tests.sh index a00b278dc..0936540e3 100644 --- a/industrial_ci/src/tests/source_tests.sh +++ b/industrial_ci/src/tests/source_tests.sh @@ -23,7 +23,11 @@ # (As of version 0.4.4 most of them are defined in env.sh). function install_catkin_lint { - ici_install_pypi_pkgs_for_command catkin_lint "catkin-lint" + local catkin_lint_pkg="catkin-lint" + if [ "$ROS_PYTHON_VERSION" == "2" ]; then + catkin_lint_pkg="catkin-lint<1.6.23" + fi + ici_install_pypi_pkgs_for_command catkin_lint "$catkin_lint_pkg" } function run_clang_tidy {