Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-83

Version Check Warning is Obscured

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 0.4.0
    • Affects Version/s: None
    • Component/s: None
    • None

      When the compiled version of libbson is less than the minimum version, the warning is currently masked because we raise an import error here, but then give it a different message in the except block.

      This occurs when building with a version from homebrew (brew install mongo-c-driver. We should address three things:

      • check the version when building using pkg-config --atleast-version=xxx libbson-1.0
      • fix the handling of the version check at runtime to give the appropriate error message
      • audit our docs on using the homebrew version of libbson

            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: