Skip to content

Commit f6d89b1

Browse files
authored
[foxy] Install dependencies with apt instead of pip where possible (#590)
* 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 <[email protected]> * 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 <[email protected]> * Remove pytest-runner Signed-off-by: Jacob Perron <[email protected]>
1 parent 839c67f commit f6d89b1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

source/Installation/Foxy/Linux-Development-Setup.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,16 @@ Install development tools and ROS tools
5454
git \
5555
libbullet-dev \
5656
python3-colcon-common-extensions \
57+
python3-flake8 \
5758
python3-pip \
59+
python3-pytest-cov \
5860
python3-rosdep \
61+
python3-setuptools \
5962
python3-vcstool \
6063
wget
6164
# install some pip packages needed for testing
6265
python3 -m pip install -U \
6366
argcomplete \
64-
flake8 \
6567
flake8-blind-except \
6668
flake8-builtins \
6769
flake8-class-newline \
@@ -72,10 +74,7 @@ Install development tools and ROS tools
7274
flake8-quotes \
7375
pytest-repeat \
7476
pytest-rerunfailures \
75-
pytest \
76-
pytest-cov \
77-
pytest-runner \
78-
setuptools
77+
pytest
7978
# install Fast-RTPS dependencies
8079
sudo apt install --no-install-recommends -y \
8180
libasio-dev \

0 commit comments

Comments
 (0)