Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4401

[Build Failure] Build sdist job is failing

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.8
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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?

      Name of Failure:

      Error: The version '3.7' with architecture 'arm64' was not found for macOS 14.4.1.

      Link to task:

      https://github.com/mongodb/mongo-python-driver/actions/runs/8821136727/job/24216355803

      Context of when and why the failure occurred:

      macos-latest is now macOS 14, and does not support older versions of Python.
      We should switch to macos-13 explicitly.

      Stack trace:

      Run actions/setup-python@v5
      Installed versions
        Version 3.7 was not found in the local cache
        Error: The version '3.7' with architecture 'arm64' was not found for macOS 14.4.1.
        The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
      

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: