calc_release_version.py imports distutils.version.LooseVersion. The distutils module was deprecated in Python 3.10 and will be removed in Python 3.12. PEP 632 suggests setuptools as the modern alternative. PEP 386 also has some discussion about version parsing, which could be relevant.
Some related PRs migrating away from distutils:
- is related to
-
CDRIVER-4603 Replace usage of deprecated distutils module in calc_release_version.py
- Closed
-
CXX-2694 Replace usage of deprecated distutils module in calc_release_version.py
- Closed