File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ ${pip_install} -U pip
30
30
# The dependencies that are installed using apt are only available to system default Python versions (e.g. Python 3.8 on Ubuntu 20.04)
31
31
# If we are testing on a non-default Python version, we need to ensure these dependencies are still installed, so we use pip.
32
32
# See issue #407, #445.
33
+ echo " Checking for missing Python packages and installing with pip"
33
34
for PKG in amqp appdirs dateparser flufl.lock humanize jsonpickle netifaces paho-mqtt psutil rangehttpserver watchdog xattr paramiko pyftpdlib net-tools; do
34
35
PKG_INSTALLED=" ` pip3 list | grep ${PKG} ` "
35
36
if [ " $? " == " 0" ] ; then
@@ -39,6 +40,9 @@ for PKG in amqp appdirs dateparser flufl.lock humanize jsonpickle netifaces paho
39
40
fi
40
41
done
41
42
43
+ # Need paho > 2.1.0 https://github.com/MetPX/sarracenia/pull/1119
44
+ ${pip_install} --upgrade paho-mqtt
45
+
42
46
# in case it was installed as a dependency.
43
47
sudo apt -y remove metpx-sr3
44
48
You can’t perform that action at this time.
0 commit comments