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

Fix DeprecationWarning: please use dns.resolver.resolve() instead

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.12, 4.0
    • Affects Version/s: None
    • Component/s: None

      dnspython has deprecated "resolver.query":

       [2020/09/09 23:15:35.407]   test_addition (test_srv_polling.TestSrvPolling) ... /data/mci/d29326fd5cc6abf4f3e62e3bc107ab18/src/pymongo/srv_resolver.py:72: DeprecationWarning: please use dns.resolver.resolve() instead
       [2020/09/09 23:15:35.407]   results = resolver.query('_mongodb._tcp.' + self.__fqdn, 'SRV',
      

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

              Created:
              Updated:
              Resolved: