From: Paul Cuzner Date: Tue, 11 Aug 2020 21:22:27 +0000 (+1200) Subject: cephadm: remove py2 from tox tests X-Git-Tag: v15.2.9~122^2~117^2~31 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b4bdbd1f5e2d10e6519f6a3f50a0f174438ef58d;p=ceph.git cephadm: remove py2 from tox tests cephadm is dependent on py3, and the presence of py2 in tox is just going to throw more errors over time as py3 idioms are adopted. py2 is EOL, and older hosts should have py3 available as an installation option anyway. This patch just removes py2 from the tox test. Signed-off-by: Paul Cuzner (cherry picked from commit c8649eff0097635ad16778d2194b07d139ce806a) --- diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index be0ab4ddfd4d9..d8cd7c322a99d 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py3, mypy +envlist = py3, mypy skipsdist=true [testenv]