From 1638f62d8b52a539a46340cd820ca05e6a158da4 Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 14 Mar 2024 08:48:04 +0100 Subject: [PATCH] manually upgrade python3-flake8 to version 7.0.0 --- scripts/ci_after_init.bash | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/ci_after_init.bash b/scripts/ci_after_init.bash index 26f44bdd5..e54297d82 100755 --- a/scripts/ci_after_init.bash +++ b/scripts/ci_after_init.bash @@ -43,3 +43,13 @@ fi # Setup Qt plugins for RViz (can be used once RViz does not randomly crash anymore in GitHub CI). #export QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins + +# Manually upgrade python3-flake8 to 7.0.0 for noble +if [[ "${ROS_DISTRO}" == "rolling" ]]; then + apt install -y python3-flake8 + wget http://ftp.ubuntu.com/ubuntu/ubuntu/pool/universe/p/pyflakes/python3-pyflakes_3.2.0-1_all.deb -P /tmp + dpkg -i /tmp/python3-pyflakes_3.2.0-1_all.deb + wget http://ftp.ubuntu.com/ubuntu/ubuntu/pool/universe/p/python-flake8/python3-flake8_7.0.0-1_all.deb -P /tmp + dpkg -i /tmp/python3-flake8_7.0.0-1_all.deb + apt --fix-broken install -y +fi