From 8adbd2a3d53a5a58c7eaf5f617127357bbf05069 Mon Sep 17 00:00:00 2001 From: mprahl Date: Mon, 16 Jul 2018 18:02:13 -0400 Subject: [PATCH] Stop installing missing deps from PyPi in the Docker image for the unit tests --- docker/Dockerfile-tests | 1 + docker/test.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile-tests b/docker/Dockerfile-tests index 909f8952..59cf9c40 100644 --- a/docker/Dockerfile-tests +++ b/docker/Dockerfile-tests @@ -28,6 +28,7 @@ RUN yum -y install \ python-koji \ python-ldap3 \ python-mock \ + python-munch \ python-pip \ python-requests \ python-six \ diff --git a/docker/test.sh b/docker/test.sh index da8151f8..d7b653bc 100755 --- a/docker/test.sh +++ b/docker/test.sh @@ -9,7 +9,7 @@ for dir in module_build_service tests; do find ${dir} -type f \( -name '*.pyc' -or -name '*.pyc' \) -exec rm -f {} \; done # Since tox seems to ignore `usedevelop` when we have `sitepackages` on, we have to run it manually -python setup.py develop +python setup.py develop --no-deps /usr/bin/tox -e flake8,py27 # After running tox, we can revert back to the original requirements.txt file rm -f requirements.txt