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

Avoid uuidRepresentation deprecation warning in test suite

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      This deprecation warning is printed over 1500 times in our test suite. It makes it difficult to read the test output.

      /data/mci/0a7792cd4a1c1e19b871306bc9f3a3a2/src/bson/codec_options.py:344: DeprecationWarning: Starting in PyMongo 4.0, the default uuidRepresentation will be changed to 'unspecified'. Applications will need to explicitly set 'uuidRepresentation=pythonLegacy' in the connection string to preserve current behavior.
      [2020/06/03 20:21:46.743]   'type_registry', DEFAULT_CODEC_OPTIONS.type_registry))
      

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: