mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
tools/cephfs/top/CMakeList.txt: check the minimum compatible python version for cephfs-top
The minimum compatible python version for cephfs-top is 3.6.0, which supports the curses apis and constants used in cephfs-top. Fixes: https://tracker.ceph.com/issues/58677 Signed-off-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
parent
11b3cc2e02
commit
581d892ae2
@ -5,3 +5,7 @@ if(WITH_TESTS)
|
||||
include(AddCephTest)
|
||||
add_tox_test(cephfs-top)
|
||||
endif()
|
||||
|
||||
set(MINIMUM_COMPATIBLE_VERSION 3.6.0)
|
||||
find_package(Python3 ${MINIMUM_COMPATIBLE_VERSION} REQUIRED
|
||||
COMPONENTS Interpreter)
|
||||
|
Loading…
Reference in New Issue
Block a user