From 14f75bcb5f3fe9734a6eb0d151ee748b12390fa7 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 1 May 2018 16:22:44 +1000 Subject: 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 --- tests/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3