ExportXMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.20.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      test-no-toolchain-async-noauth-ssl-replica-set on other-hosts-rhel8-arm64-latest fails at setup in 'run server' (step 1.1 of 2). 'teardown system' fails the same way. No tests run.

      Link to task:

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

      Context of when and why the failure occurred:

      New regression. The last passing run is revision 131f4d7a (2026-11-11 19:44 UTC); the first failing run is 4569bb8d (PYTHON-6250) minutes later. Every scheduled run since fails: 26 or more through 2026-11-18. In the last 28 days the task passed 11 of 59 runs, all before that revision.

      Cause: no-toolchain hosts run .evergreen/scripts/setup_uv.py with the system python3, Python 3.6 on RHEL8. Line 16 has from _future_ import annotations, which Python 3.6 rejects. This regresses the compatibility fix from PYTHON-6199 (closed).

      Impact: all three test-no-toolchain tasks on the RHEL8 other-hosts variants fail at setup (power8 and zseries also fail in this window). No driver test signal on those hosts.

      Stack trace:

        File "/data/mci/2316a0264453ce5267913ab1e08d4db0/src/.evergreen/scripts/setup_uv.py", line 16
          from __future__ import annotations
          ^
      SyntaxError: future feature annotations is not defined
      Command 'subprocess.exec' in function 'run server' (step 1.1 of 2) failed: process encountered problem: exit code 1.
      

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

              Created:
              Updated:
              Resolved: