]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
teuthology: implement strtobool and use it
authorKefu Chai <tchaikov@gmail.com>
Thu, 18 Dec 2025 09:27:35 +0000 (17:27 +0800)
committerDavid Galloway <david.galloway@ibm.com>
Mon, 12 Jan 2026 22:10:34 +0000 (17:10 -0500)
commitb70e22201db7ee2db66b3d994e887a8c5c5e3f69
treea9c4806c0c623f2d042e7e74db855b694e4ddc14
parentfe5dca3ca9f284278c73de38fb2ffe34c36b5422
teuthology: implement strtobool and use it

The distutils module was deprecated in Python 3.10 and removed in
Python 3.12. This commit replaces the deprecated distutils.utils.strtobool
imports with strtobool in teuthology.util module.

Changes:
- Add strtobool.py to teuthology/util
- Replace distutils.util.strtobool with
teuthology.util.strtobool.strtobool

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
teuthology/describe_tests.py
teuthology/suite/__init__.py
teuthology/util/strtobool.py [new file with mode: 0644]