-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
motor synchro tests are failing:
[2022/10/26 19:10:21.398] ERROR: test_connection_timeout_ms_propagates_to_DNS_resolver (test.test_client.ClientUnitTest) [2022/10/26 19:10:21.398] ---------------------------------------------------------------------- [2022/10/26 19:10:21.398] Traceback (most recent call last): [2022/10/26 19:10:21.398] File "/data/mci/c9535b20b31755f11bb05df7b54198dd/src/.tox/synchro37/tmp/mongo-python-driver/test/test_client.py", line 443, in test_connection_timeout_ms_propagates_to_DNS_resolver [2022/10/26 19:10:21.398] pymongo.srv_resolver._resolve = patched_resolver [2022/10/26 19:10:21.398] AttributeError: module 'pymongo' has no attribute 'srv_resolver'
The problem is that these tests used to be skipped because dnspython was not installed. After PYTHON-3423, dnspython is a required dependency so these tests run. We need to update the imports in synchro to support the srv_resolver module.