diff options
author | Patrik Teivonen <patrik.teivonen@qt.io> | 2022-08-02 10:22:17 +0300 |
---|---|---|
committer | Patrik Teivonen <patrik.teivonen@qt.io> | 2022-08-30 12:33:20 +0000 |
commit | 158dbfa0117d2eaddccaca41a3a8038e7d821e5a (patch) | |
tree | 0e5867737b414b9bf17458e33f4b15a5353c6296 /packaging-tools/tests | |
parent | 07c61193786ca5f81f9b8cdb77c31e44a149ccf7 (diff) |
Replace find_executable from distutils with shutil.which
-The distutils module is marked as deprecated in Python 3.10 and later,
code that imports distutils will not work in Python 3.12 (PEP 632)
-Migrate find_executable function to shutil.which
-Enable W0402 in pylint
Change-Id: I697ec25bf98bc62544087bf022f96770627f5091
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'packaging-tools/tests')
0 files changed, 0 insertions, 0 deletions