• Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.10
    • Affects Version/s: 3.6.0
    • Component/s: Build, Packaging
    • None
    • Fully Compatible
    • Dev Tools 2019-03-11, Dev Tools 2019-03-25, Dev Tools 2019-04-08, Dev Tools 2019-04-22
    • 0

      Hi,
      python2 is closing to end of its life - https://pythonclock.org/ . MongoDB relases has about 2 years life cycle, so it would be great to switch to python3.

      Scons 3.0 now support python3. So it this change is possible now.

      I've attached a patch to add python3 support for MongoDB building and testing. It is not ideal patch - most of it is done using 2to3 utility and probably some parts will be unnecessary (explicit creating of lists from iterable objects, binary files and encoding,...). But I didn't want to create big changes in code now.

      Not all can be done with python3 with this patch. Some generators and similar scripts still use python2. I can help with converting them.

      It would be great to see python3 support in MongoDB build scripts.

            Assignee:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Reporter:
            mskalick Marek Skalický
            Votes:
            1 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: