Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2694

Replace usage of deprecated distutils module in calc_release_version.py

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.8.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None

      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:

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: