]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: remove py2 from tox tests
authorPaul Cuzner <pcuzner@redhat.com>
Tue, 11 Aug 2020 21:22:27 +0000 (09:22 +1200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Mon, 7 Sep 2020 09:01:03 +0000 (11:01 +0200)
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 <pcuzner@redhat.com>
(cherry picked from commit c8649eff0097635ad16778d2194b07d139ce806a)

src/cephadm/tox.ini

index be0ab4ddfd4d9824c94e6bf71033dfd9e82627b9..d8cd7c322a99d4482767f0379a0253c1853f8023 100644 (file)
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27, py3, mypy
+envlist = py3, mypy
 skipsdist=true
 
 [testenv]