[2021/10/27 07:43:37.928] ERROR: test_srv_max_hosts_kwarg (test_client.TestClient) [2021/10/27 07:43:37.928] ---------------------------------------------------------------------- [2021/10/27 07:43:37.928] Traceback (most recent call last): [2021/10/27 07:43:37.928] File "/data/mci/69175b8d84eaa784ac4f2921ef027568/src/test/test_client.py", line 1645, in test_srv_max_hosts_kwarg [2021/10/27 07:43:37.928] client = MongoClient( [2021/10/27 07:43:37.928] File "/data/mci/69175b8d84eaa784ac4f2921ef027568/src/pymongo/mongo_client.py", line 670, in __init__ [2021/10/27 07:43:37.928] res = uri_parser.parse_uri( [2021/10/27 07:43:37.928] File "/data/mci/69175b8d84eaa784ac4f2921ef027568/src/pymongo/uri_parser.py", line 456, in parse_uri [2021/10/27 07:43:37.928] raise ConfigurationError( [2021/10/27 07:43:37.928] pymongo.errors.ConfigurationError: The "dnspython" module must be installed to use mongodb+srv:// URIs. To fix this error install pymongo with the srv extra: [2021/10/27 07:43:37.928] /usr/local/opt/python@3.9/bin/python3.9 -m pip install "pymongo[srv]"
- is caused by
-
PYTHON-2832 Provide options to limit number of mongos servers used in connecting to sharded clusters
- Closed