ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Component/s: Evergreen Tools
    • None
    • Not Needed

      Name of Failure:

      pip install builds pydantic-core==2.33.2 from source when the auth venv is created on CPython 3.14, and the build fails. Caused by DEVPROD-42654 which changed the "current" Python toolchain version from 3.13 -> 3.14.

      Link to task:

      https://spruce.corp.mongodb.com/task/drivers_tools_tests_oidc_test_oidc_docker_patch_389b715b453fc075dcd9bc0d26f7635dc1ac2b0d_6aaad47f420c54000766190d_26_09_16_17_40_20/logs?execution=0

      Context of when and why the failure occurred:

      Refreshed distro images ship CPython 3.14 as /opt/python/Current/bin/python3, and authawsvenv is created from that interpreter. pydantic-core==2.33.2 ships no cp314 wheels, so pip builds the sdist, and its pyo3 0.24.1 refuses interpreters above 3.13. Master passed this base revision on 09-14; the image refresh broke it after that.

      Failing tasks:

      • tests-oidc, 4 variants
      • tests-ubuntu, 5 variants
      • csfle on both nossl builds

      Desired state: venv setup installs pydantic-core from a cp314 wheel and the auth tasks pass on the refreshed images.

      Stack trace:

      [2026/09/16 12:45:15.720]         error: the configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13)
      [2026/09/16 12:45:15.720]         = help: please check if an updated version of PyO3 is available. Current version: 0.24.1
      [2026/09/16 12:45:15.720]         = help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
      

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

              Created:
              Updated:
              Resolved: