From 52473cfb521fe399845fccb6155ec9330414e2d7 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 4 Apr 2020 10:35:47 +0200 Subject: [PATCH] Fix hacking test requirement The repo is used on older branches as well, and new hacking supports only python3. We really only need hacking on master anyways, where we no longer support python 2, so here we make the requirement specific to python 3. Change-Id: I3734c7d345832110dd7db8a0d0d7ff65e2a9a757 --- test-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 3701f7f..ee5b8b4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking>=3.0,<3.1.0 # Apache-2.0 +hacking>=3.0,<3.1.0;python_version>='3.5' # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 python-subunit>=1.0.0 # Apache-2.0/BSD