From 2f21820bef2ddcd818a24ce5879e499a1b93f607 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Dec 10 2020 16:42:28 +0000 Subject: tox: Remove pytest version pytest 4.0 is too old. It was needed when we supported python 2 but we don't since Jan 2020. Lets use latest pytest. With newer pytest six is missing. We need to remove usage of six but lets starts by adding it in the tests. Signed-off-by: Nir Soffer --- diff --git a/tox.ini b/tox.ini index 487158d..e72937f 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,8 @@ setenv = SANLOCK_RUN_DIR=/tmp/sanlock whitelist_externals = make deps = - pytest==4.0 + pytest + six commands = py{36,37,38}: make BUILDARGS="--build-lib={envsitepackagesdir}" pytest {posargs}