Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4603

Replace usage of deprecated distutils module in calc_release_version.py

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.24.0
    • Affects Version/s: None
    • Component/s: Build
    • 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:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: