From: Nathan Cutler Date: Tue, 3 Dec 2019 09:34:45 +0000 (+0100) Subject: ceph-detect-init: run tox tests on Python 2 only X-Git-Tag: v12.2.13~21^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b1fe67e151a62e55b70db9df7a39f009e6729ad7;p=ceph.git ceph-detect-init: run tox tests on Python 2 only Luminous is EOL upstream and 12.2.13 will be the last point release, so it's pretty much a given that luminous will not be migrated to py3. Luminous runs on OS versions where py3 is not a "first-class citizen": compiling the mgr with a py3 subinterpreter on such systems would be "interesting"... Python 3 testing was dropped for ceph-disk by 28c545eff5f73e392b70ef4c0cf74f8a896b693b (over 3 years ago) and ceph-detect-init is a component of ceph-disk. This commit cannot be cherry-picked from master because ceph-detect-init was removed in nautilus. Fixes: https://tracker.ceph.com/issues/43100 Signed-off-by: Nathan Cutler --- diff --git a/src/ceph-detect-init/tox.ini b/src/ceph-detect-init/tox.ini index 54691f78df8..16bad69c4a6 100644 --- a/src/ceph-detect-init/tox.ini +++ b/src/ceph-detect-init/tox.ini @@ -1,11 +1,10 @@ [tox] -envlist = pep8,py27,py3 +envlist = pep8,py27 skip_missing_interpreters = True [testenv] basepython = py27: python2.7 - py3: python3 setenv = VIRTUAL_ENV={envdir} usedevelop = true deps =