summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-04-13 13:36:14 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-04-13 13:42:13 -0400
commite933ccdb0af22576541682d7afa4aedfdab00a99 (patch)
tree2e6442fef0fc24b0b76486bfb96118ab9dd4296f
parente36b53ce7ceb642a9481eb86223e075a70a27861 (diff)
downloadopenshift-e933ccdb0af22576541682d7afa4aedfdab00a99.tar.gz
openshift-e933ccdb0af22576541682d7afa4aedfdab00a99.tar.bz2
openshift-e933ccdb0af22576541682d7afa4aedfdab00a99.tar.xz
openshift-e933ccdb0af22576541682d7afa4aedfdab00a99.zip
tox tests: pin test requirement versions
Tests once again randomly broke due to a PyPi release. This makes req versions explicit so they only change deliberately.
-rw-r--r--requirements.txt2
-rw-r--r--test-requirements.txt23
-rw-r--r--tox.ini2
3 files changed, 16 insertions, 11 deletions
diff --git a/requirements.txt b/requirements.txt
index cadbbe0f5..d00de5ed4 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,5 @@
+# Versions are pinned to prevent pypi releases arbitrarily breaking
+# tests with new APIs/semantics. We want to update versions deliberately.
ansible==2.2.2.0
click==6.7
pyOpenSSL==16.2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 805828e1c..585cca0b9 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,11 +1,14 @@
+# Versions are pinned to prevent pypi releases arbitrarily breaking
+# tests with new APIs/semantics. We want to update versions deliberately.
+
# flake8 must be listed before pylint to avoid dependency conflicts
-flake8
-flake8-mutable
-flake8-print
-pylint
-setuptools-lint
-yamllint
-coverage
-mock
-pytest
-pytest-cov
+flake8==3.3.0
+flake8-mutable==1.1.0
+flake8-print==2.0.2
+pylint==1.6.5
+setuptools-lint==0.5.2
+yamllint==1.6.1
+coverage==4.3.4
+mock==2.0.0
+pytest==3.0.7
+pytest-cov==2.4.0
diff --git a/tox.ini b/tox.ini
index 643fa774d..1b02234e5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ skip_install=True
deps =
-rrequirements.txt
-rtest-requirements.txt
- py35-flake8: flake8-bugbear
+ py35-flake8: flake8-bugbear==17.3.0
commands =
unit: pip install -e utils