From 7b48a7938c0cf19aea3c376f99d7f8fc6927f6d4 Mon Sep 17 00:00:00 2001 From: Jacob Perron Date: Mon, 6 Apr 2020 14:13:12 -0700 Subject: [PATCH 1/3] Install dependencies with apt instead of pip where possible pytest-cov and flake8 have the same versions in Ubuntu Focal as if they were installed with pip. Signed-off-by: Jacob Perron --- source/Installation/Foxy/Linux-Development-Setup.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Installation/Foxy/Linux-Development-Setup.rst b/source/Installation/Foxy/Linux-Development-Setup.rst index 7553600a2b7..9049c91887b 100644 --- a/source/Installation/Foxy/Linux-Development-Setup.rst +++ b/source/Installation/Foxy/Linux-Development-Setup.rst @@ -54,14 +54,15 @@ Install development tools and ROS tools git \ libbullet-dev \ python3-colcon-common-extensions \ + python3-flake8 \ python3-pip \ + python3-pytest-cov \ python3-rosdep \ python3-vcstool \ wget # install some pip packages needed for testing python3 -m pip install -U \ argcomplete \ - flake8 \ flake8-blind-except \ flake8-builtins \ flake8-class-newline \ @@ -73,7 +74,6 @@ Install development tools and ROS tools pytest-repeat \ pytest-rerunfailures \ pytest \ - pytest-cov \ pytest-runner \ setuptools # install Fast-RTPS dependencies From c230a12cea036a2df1d2f9eb9a8bf4e119a36f46 Mon Sep 17 00:00:00 2001 From: Jacob Perron Date: Mon, 6 Apr 2020 15:14:41 -0700 Subject: [PATCH 2/3] Install setuptools from apt The version in Focal is 45.2.0. The previous version in Bionic is 39.0.1 and the version we get from pip is 46.1.1. Although the version from pip is newer, it doesn't look like we are effected by any changes. Signed-off-by: Jacob Perron --- source/Installation/Foxy/Linux-Development-Setup.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Installation/Foxy/Linux-Development-Setup.rst b/source/Installation/Foxy/Linux-Development-Setup.rst index 9049c91887b..094e4e4c783 100644 --- a/source/Installation/Foxy/Linux-Development-Setup.rst +++ b/source/Installation/Foxy/Linux-Development-Setup.rst @@ -58,6 +58,7 @@ Install development tools and ROS tools python3-pip \ python3-pytest-cov \ python3-rosdep \ + python3-setuptools \ python3-vcstool \ wget # install some pip packages needed for testing @@ -74,8 +75,7 @@ Install development tools and ROS tools pytest-repeat \ pytest-rerunfailures \ pytest \ - pytest-runner \ - setuptools + pytest-runner # install Fast-RTPS dependencies sudo apt install --no-install-recommends -y \ libasio-dev \ From ac3fcc461fc80282ec7734d10f7b67d3a5e3cda1 Mon Sep 17 00:00:00 2001 From: Jacob Perron Date: Mon, 6 Apr 2020 16:12:35 -0700 Subject: [PATCH 3/3] Remove pytest-runner Signed-off-by: Jacob Perron --- source/Installation/Foxy/Linux-Development-Setup.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Installation/Foxy/Linux-Development-Setup.rst b/source/Installation/Foxy/Linux-Development-Setup.rst index 094e4e4c783..a96e2fd2ea9 100644 --- a/source/Installation/Foxy/Linux-Development-Setup.rst +++ b/source/Installation/Foxy/Linux-Development-Setup.rst @@ -74,8 +74,7 @@ Install development tools and ROS tools flake8-quotes \ pytest-repeat \ pytest-rerunfailures \ - pytest \ - pytest-runner + pytest # install Fast-RTPS dependencies sudo apt install --no-install-recommends -y \ libasio-dev \