[Build Failure] ECS test python installation failure

XMLWordPrintableJSON

    • 🔵 Done
    • 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:

      E: Couldn't find any package by regex 'python3.10-dev'

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_auth_aws_ubuntu_20_test_auth_aws_latest_ecs_python3.10_46974363b4bd42405c7a8f3285997f9688094440_25_10_06_18_02_53/logs?execution=1

      Context of when and why the failure occurred:

      Deadsnakes dropped support for Ubuntu 20, which was EOL in May. We'll need to use iam_auth_ecs_task_definition_jammy to switch to Ubuntu 22.

      Stack trace:

       [2025/10/07 04:54:09.594] + add-apt-repository -y ppa:deadsnakes/ppa
       [2025/10/07 04:54:09.594] + apt-get -qq install python3.10 python3.10-venv build-essential python3.10-dev -y
       [2025/10/07 04:54:11.638] E: Unable to locate package python3.10-venv
       [2025/10/07 04:54:11.639] E: Couldn't find any package by glob 'python3.10-venv'
       [2025/10/07 04:54:11.639] E: Couldn't find any package by regex 'python3.10-venv'
       [2025/10/07 04:54:11.639] E: Unable to locate package python3.10-dev
       [2025/10/07 04:54:11.639] E: Couldn't find any package by glob 'python3.10-dev'
       [2025/10/07 04:54:11.639] E: Couldn't find any package by regex 'python3.10-dev'
      

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

              Created:
              Updated:
              Resolved: