-
Type:
Task
-
Resolution: Done
-
Priority:
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.
- is related to
-
PYTHON-5203 Use stable toolchain versions for uv and just binaries
-
- Closed
-