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

Bump minimum pymongocrypt version req to >=1.10 for range v2 and async support

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • Python Drivers
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature? pymongocrypt>=1.10 is required for CSFLE in pymongo >= 4.9.
      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? pymongo >= 4.9

      Show
      1. What would you like to communicate to the user about this feature? pymongocrypt>=1.10 is required for CSFLE in pymongo >= 4.9. 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? pymongo >= 4.9

      Bump minimum pymongocrypt version req to >=1.10 for range v2 and async support. Attempting to use pymongo 4.9 with pymongocrypt<1.10 results in this error:

        File "/Users/shane/git/mongo-python-driver/test/utils.py", line 597, in _mongo_client
          return MongoClient(uri, port, **client_options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/shane/git/mongo-python-driver/pymongo/synchronous/mongo_client.py", line 855, in __init__
          self._encrypter = _Encrypter(self, self._options.auto_encryption_opts)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/shane/git/mongo-python-driver/pymongo/synchronous/encryption.py", line 388, in __init__
          self._auto_encrypter = AutoEncrypter(
                                 ^^^^^^^^^^^^^
      NameError: name 'AutoEncrypter' is not defined. Did you mean: '_Encrypter'?
      

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: