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

[pymongocrypt] Support testing with pymongo 4

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • pymongocrypt-1.2
    • Affects Version/s: None
    • Component/s: pymongocrypt
    • Labels:
      None

      Running the pymongocrypt test suite with pymongo 4 fails with the following error:

      FAIL: test_data_key_creation (test.test_mongocrypt.TestExplicitEncryption)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/Users/shane/git/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 427, in test_data_key_creation
          self.assertIsInstance(key_id, uuid.UUID)
      AssertionError: Binary(b"\n,\xb9\x12h\xecG\xab\xa1>u\xe4q'\xb6\xdb", 4) is not an instance of <class 'uuid.UUID'>
      

      Caused by PYTHON-2245

            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: