]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/tox: handle possible WITH_PYTHON3 values other than "3"
authorNathan Cutler <ncutler@suse.com>
Tue, 7 May 2019 12:10:56 +0000 (14:10 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 14 May 2019 13:19:57 +0000 (15:19 +0200)
commitf8aac6f69b2d5e28f428e9f7a64beac5878452ff
treee4bb049c2e0fe2c736b6037801ad43f2840df5ef
parent7962f7e8e604d68251c3b6b89eaf958aafbcd60e
pybind/tox: handle possible WITH_PYTHON3 values other than "3"

WITH_PYTHON3 might be set to "ON" or to the python3 RPM version number
prevailing on the system - e.g. "3", "36"

Fixes: 9426f1f2045d0ae0f319530c3dc3a9240d838d07
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/pybind/mgr/ansible/run-tox.sh
src/pybind/mgr/dashboard/run-tox.sh
src/pybind/mgr/insights/run-tox.sh
src/pybind/mgr/orchestrator_cli/run-tox.sh