]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
teuthology: implement strtobool and use it 2116/head
authorKefu Chai <tchaikov@gmail.com>
Thu, 18 Dec 2025 09:27:35 +0000 (17:27 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 18 Dec 2025 13:47:46 +0000 (21:47 +0800)
commit61189460bc7d2b010b8febc71d598fbd5ee2f1d6
treeff25b08d8bce0f74f88e09e4d81ae58117936660
parent90ad9bab15deb70ecdba9514aedc521e566d1aee
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]