[Toolchain] Pip download not working for Python 3.9

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Toolchain
    • 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:

      ERROR: This script does not work on Python 3.9. The minimum supported Python version is 3.10.

      Link to task:

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

      Context of when and why the failure occurred:

      The last build was on Feb 20, 2026 and it passed. However, since then, dependabot PRs have been opened that are failing. I turned on weekly periodic builds.

      Stack trace:

      [2026/05/01 16:04:56.943] ++ /data/mci/c2ddb31aa304201c5b4065b6900d374b/src/python/3.9/bin/python3 -c 'import sys; print('\''.'\''.join(map(str, sys.version_info[:2])))'
      [2026/05/01 16:04:56.952] + PYTHON_VERSION=3.9
      [2026/05/01 16:04:56.952] + '[' -z '' ']'
      [2026/05/01 16:04:56.952] + curl --retry 3 -L https://bootstrap.pypa.io/pip/get-pip.py
      [2026/05/01 16:04:56.952] + /data/mci/c2ddb31aa304201c5b4065b6900d374b/src/python/3.9/bin/python3
      [2026/05/01 16:04:56.955]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
      [2026/05/01 16:04:56.955]                                  Dload  Upload   Total   Spent    Left  Speed
      [2026/05/01 16:04:56.993] 
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      100 2174k  100 2174k    0     0  57.3M      0 --:--:-- --:--:-- --:--:-- 57.3M
      [2026/05/01 16:04:56.997] /data/mci/c2ddb31aa304201c5b4065b6900d374b/src
      [2026/05/01 16:04:56.997] ERROR: This script does not work on Python 3.9. The minimum supported Python version is 3.10. Please use https://bootstrap.pypa.io/pip/3.9/get-pip.py instead.
      [2026/05/01 16:04:57.000] + cd /data/mci/c2ddb31aa304201c5b4065b6900d374b/src
      [2026/05/01 16:04:57.000] + rm -rf Python-3.9.13 ssl libevent 'gevent*' 'greenlet*' 'pip*'
      [2026/05/01 16:04:57.067] Command 'shell.exec' in function 'buildLinuxToolchain' (step 1 of 2) failed: shell script 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: