From 884c6afc36a18ba84021c73d98aa59e5c6f63e74 Mon Sep 17 00:00:00 2001 From: Josh Rabinowitz Date: Mon, 16 Apr 2018 12:23:19 -0400 Subject: [PATCH] fix for python InsecurePlatformWarning error --- .ci/before_script.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/before_script.sh b/.ci/before_script.sh index bdfefd31..e8cca7d9 100644 --- a/.ci/before_script.sh +++ b/.ci/before_script.sh @@ -12,8 +12,9 @@ function update_linux() { function install_ansible { bash .ci/ansible-setup.sh bundle install - ~/.avm/v2.3/venv/bin/pip install netaddr ansible-lint - ~/.avm/v2.4/venv/bin/pip install netaddr ansible-lint + # pyOpen, ndg-* and pyasn1 are for 'InsecurePlatformWarning' error + ~/.avm/v2.3/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1 + ~/.avm/v2.4/venv/bin/pip install netaddr ansible-lint pyOpenSSL ndg-httpsclient pyasn1 }