]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/tox: handle possible WITH_PYTHON3 values other than "3" 27884/head
authorNathan Cutler <ncutler@suse.com>
Tue, 7 May 2019 12:10:56 +0000 (14:10 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 29 May 2019 11:40:30 +0000 (13:40 +0200)
commitb9049a0e404dca854fac6395aaa621dbe8f2e1b4
tree8e59f99356a17fb1ffd16274d9de117f65a9ec63
parent63c045d23d596af11509e77fb35f74511df54860
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>
(cherry picked from commit f8aac6f69b2d5e28f428e9f7a64beac5878452ff)
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