aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIan Wienand <iwienand@redhat.com>2018-05-01 16:22:44 +1000
committerIan Wienand <iwienand@redhat.com>2018-05-01 22:41:46 +1000
commit14f75bcb5f3fe9734a6eb0d151ee748b12390fa7 (patch)
tree9781ebbd8799de35a21c5f62e4f83b577228f5db /tests
parentb5d72640a7a5be77e14548f41b69357e44187579 (diff)
downloadexternal_python_setuptools-14f75bcb5f3fe9734a6eb0d151ee748b12390fa7.tar.gz
external_python_setuptools-14f75bcb5f3fe9734a6eb0d151ee748b12390fa7.tar.bz2
external_python_setuptools-14f75bcb5f3fe9734a6eb0d151ee748b12390fa7.zip
Pin pytest-flake8 to 1.0.0
pytest-flake8 1.0.1 has a hard dependency on pytest>=3.5 [1], which does not support python3.3 [2]. Avoid it for python3.3 and below until python3.3 is removed [3]. Additionally, ensure we have a recent enough pip in travis ci to handle multiple requirements entries. [1] https://github.com/tholo/pytest-flake8/commit/25bbd3b42d3aa0962fb736202115dae9e5d2cd7c [2] https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23 [3] https://github.com/pypa/setuptools/pull/1342
Diffstat (limited to 'tests')
-rw-r--r--tests/requirements.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/requirements.txt b/tests/requirements.txt
index fd826d09..aff32c10 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -1,6 +1,7 @@
importlib; python_version<"2.7"
mock
-pytest-flake8; python_version>="2.7"
+pytest-flake8<=1.0.0; python_version>="3.3" and python_version<"3.5"
+pytest-flake8; python_version>="2.7" and python_version!="3.3" and python_version!="3.4"
virtualenv>=13.0.0
pytest-virtualenv>=1.2.7
pytest>=3.0.2