Skip to content

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Sep 19, 2025

Example errors:

>>> from pymongo.encryption_options import AutoEncryptionOpts
>>> AutoEncryptionOpts({}, "foo.bar")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/steve.silvester/workspace/mongo-python-driver/pymongo/encryption_options.py", line 230, in __init__
    check_min_pymongocrypt()
  File "/Users/steve.silvester/workspace/mongo-python-driver/pymongo/encryption_options.py", line 47, in check_min_pymongocrypt
    raise ConfigurationError(
pymongo.errors.ConfigurationError: client side encryption requires pymongocrypt>=1.13.0, found version 1.11.0. Install a compatible version with: python -m pip install 'pymongo[encryption]'
>>> from pymongo.asynchronous.srv_resolver import _SrvResolver
>>> _SrvResolver('1', 1, '1')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/steve.silvester/workspace/mongo-python-driver/pymongo/asynchronous/srv_resolver.py", line 93, in __init__
    _have_dnspython()
  File "/Users/steve.silvester/workspace/mongo-python-driver/pymongo/asynchronous/srv_resolver.py", line 38, in _have_dnspython
    raise RuntimeError(
RuntimeError: pymongo requires dnspython>=1.16.0, found version 1.15.0. Install a compatible version with pip

@blink1073 blink1073 requested a review from a team as a code owner September 19, 2025 14:43
@blink1073
Copy link
Member Author

Enterprise auth failures are unrelated: https://jira.mongodb.org/browse/PYTHON-5568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant