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

[pymongocrypt] Support testing with pymongo 4

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • None
    • pymongocrypt-1.2
    • pymongocrypt
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: