Skip to content

Commit 36f3fc2

Browse files
upgrade paho-mqtt with pip
1 parent 5e331dc commit 36f3fc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

travis/flow_autoconfig.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ ${pip_install} -U pip
3030
# The dependencies that are installed using apt are only available to system default Python versions (e.g. Python 3.8 on Ubuntu 20.04)
3131
# If we are testing on a non-default Python version, we need to ensure these dependencies are still installed, so we use pip.
3232
# See issue #407, #445.
33+
echo "Checking for missing Python packages and installing with pip"
3334
for PKG in amqp appdirs dateparser flufl.lock humanize jsonpickle netifaces paho-mqtt psutil rangehttpserver watchdog xattr paramiko pyftpdlib net-tools; do
3435
PKG_INSTALLED="`pip3 list | grep ${PKG}`"
3536
if [ "$?" == "0" ] ; then
@@ -39,6 +40,9 @@ for PKG in amqp appdirs dateparser flufl.lock humanize jsonpickle netifaces paho
3940
fi
4041
done
4142

43+
# Need paho > 2.1.0 https://github.com/MetPX/sarracenia/pull/1119
44+
${pip_install} --upgrade paho-mqtt
45+
4246
# in case it was installed as a dependency.
4347
sudo apt -y remove metpx-sr3
4448

0 commit comments

Comments
 (0)