File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Changes in Version 4.9.0
7
7
PyMongo 4.9 brings a number of improvements including:
8
8
9
9
- A new asynchronous API with full asyncio support.
10
+ - pymongocrypt>=1.10 is now required for :ref: `In-Use Encryption ` support.
10
11
11
12
Issues Resolved
12
13
...............
Original file line number Diff line number Diff line change @@ -574,7 +574,7 @@ def __init__(
574
574
raise ConfigurationError (
575
575
"client-side field level encryption requires the pymongocrypt "
576
576
"library: install a compatible version with: "
577
- "python -m pip install 'pymongo[encryption]'"
577
+ "python -m pip install --upgrade 'pymongo[encryption]'"
578
578
)
579
579
580
580
if not isinstance (codec_options , CodecOptions ):
Original file line number Diff line number Diff line change 20
20
try :
21
21
import pymongocrypt # type:ignore[import] # noqa: F401
22
22
23
+ # Check for pymongocrypt>=1.10.
24
+ from pymongocrypt import synchronous as _ # noqa: F401
25
+
23
26
_HAVE_PYMONGOCRYPT = True
24
27
except ImportError :
25
28
_HAVE_PYMONGOCRYPT = False
Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ def __init__(
572
572
raise ConfigurationError (
573
573
"client-side field level encryption requires the pymongocrypt "
574
574
"library: install a compatible version with: "
575
- "python -m pip install 'pymongo[encryption]'"
575
+ "python -m pip install --upgrade 'pymongo[encryption]'"
576
576
)
577
577
578
578
if not isinstance (codec_options , CodecOptions ):
Original file line number Diff line number Diff line change 1
1
pymongo-auth-aws>=1.1.0,<2.0.0
2
- pymongocrypt>=1.6 .0,<2.0.0
2
+ pymongocrypt>=1.10 .0,<2.0.0
3
3
certifi;os.name=='nt' or sys_platform=='darwin'
You can’t perform that action at this time.
0 commit comments