Some tests use distutils module that has been removed in python 3.12 #1142
Labels
dependencies
Pull requests that update a dependency file
help wanted
Contributions welcome!
maintenance
General technical debt
tests
related to tests (not necessarily CI/CD)
PEP 632 deprecated distutils in python 3.10 and its removal followed in python 3.12.
It is used in three test files:
hvac/tests/utils/server_manager.py
Line 10 in b61d05d
hvac/tests/utils/hvac_integration_test_case.py
Line 8 in b61d05d
hvac/tests/integration_tests/api/auth_methods/test_ldap.py
Line 1 in b61d05d
Failure to find the module causes testing to failure during test discovery. The suggested replacement for distutils.spawn.find_executable as per PEP 632 is shutil.which.
The text was updated successfully, but these errors were encountered: