ExportXMLWordPrintableJSON

    • 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-auth-aws-ecs fails: ensure_uv cannot install uv in the ECS test container.

      Link to task:

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

      Context of when and why the failure occurred:

      Every mainline commit since October 5 fails this task. Commit 045ee2af (PYTHON-6051) made ensure_uv run inside the ECS test container, whose Python 3.12 image has neither pip nor ensurepip, so uv cannot be installed and setup exits non-zero.

      Fix: add python3-pip to the apt-get install in .evergreen/run-mongodb-aws-ecs-test.sh. With pip available, ensure_uv installs uv with pip install --user uv, which needs no ensurepip.

      Stack trace:

      The virtual environment was not created successfully because ensurepip is not
      available.  On Debian/Ubuntu systems, you need to install the python3-venv
      ERROR: could not find or install `uv`.
      

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

              Created:
              Updated:
              Resolved: