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

Python 3.8 missing on FIPS hosts

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.9
    • 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?

      Name of Failure:

      PYTHON_BINARY='Cannot test without python3.8+ installed!'

      Link to task:

      https://spruce.mongodb.com/task/mongo_python_driver_previous_tests_fips__platform~rhel80_fips_auth~auth_ssl~ssl_test_fips_standalone_8cbefe5d794d3acf4d5c505b5b0e6385ded64eb3_24_06_14_12_40_22/logs?execution=0&sortBy=STATUS&sortDir=ASC

      Context of when and why the failure occurred:

      We dropped support for Python 3.7 in PYTHON-4372.

      Stack trace:

       [2024/06/14 20:22:44.669] ++ is_python_38 ''
       [2024/06/14 20:22:44.669] ++ '[' -z '' ']'
       [2024/06/14 20:22:44.669] ++ return 1
       [2024/06/14 20:22:44.669] +++ command -v /opt/mongodbtoolchain/v3/bin/python3
       [2024/06/14 20:22:44.669] ++ is_python_38 /opt/mongodbtoolchain/v3/bin/python3
       [2024/06/14 20:22:44.669] ++ '[' -z /opt/mongodbtoolchain/v3/bin/python3 ']'
       [2024/06/14 20:22:44.669] ++ /opt/mongodbtoolchain/v3/bin/python3 -c 'import sys; exit(sys.version_info[:2] < (3, 8))'
       [2024/06/14 20:22:44.678] ++ return 1
       [2024/06/14 20:22:44.678] ++ '[' -z '' ']'
       [2024/06/14 20:22:44.678] ++ echo 'Cannot test without python3.8+ installed!'
       [2024/06/14 20:22:44.679] ++ exit 1
       [2024/06/14 20:22:44.679] + PYTHON_BINARY='Cannot test without python3.8+ installed!'
      

            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: