Use uv python when python toolchain is not available

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 4.16.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 🔵 Done
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Currently when there is no python toolchain, we have to either use the MongoDB toolchain or the system python, which could be too old. See PYTHON-5604 for example with the ECS tests.

      Using the uv provided python allows us to select the version of our choice, that is compatible with the current hardware, and comes with the Python build dependency (Python.h). The only downside to using the uv installed python is that it has patches on top of core CPython to make it relocatable.

      Definition of done

      Use the uv Python whenever there is no python toolchain where possible.

      Pitfalls

      We may still need to use the MongoDB toolchain on some of the "Other Hosts" tests if there is not a uv python that supports the architecture.

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: