Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-3136

Improve efficiency of find-python3

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Evergreen Tools
    • None
    • Not Needed

      Currently the find-python algorithm is inefficient. It scans over all known python locations, calling each interpreter multiple times. Next it creates a virtual environment and destroys it. This operation can take on the order of seconds for a host that has the python toolchain.

      We can improve this by running a single python script that checks for compatibility, including whether virtual envs are supported, and exiting when a suitable python executable is found, rather than testing all available options.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: