diff --git a/doc/changelog.rst b/doc/changelog.rst index f074a9d46..4ab134807 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -25,6 +25,8 @@ Bug fixes Unavoidable breaking changes ............................ +- pymongocrypt 1.3.0 or later is now required for client side field level + encryption support. - :meth:`~pymongo.collection.Collection.estimated_document_count` now always uses the `count`_ command. Due to an oversight in versions 5.0.0-5.0.8 of MongoDB, the count command was not included in V1 of the :ref:`versioned-api-ref`. @@ -317,7 +319,7 @@ Breaking Changes in 4.0 :attr:`~pymongo.mongo_client.MongoClient.address` which can change. - Removed the `disable_md5` parameter for :class:`~gridfs.GridFSBucket` and :class:`~gridfs.GridFS`. See :ref:`removed-gridfs-checksum` for details. -- PyMongoCrypt 1.2.0 or later is now required for client side field level +- pymongocrypt 1.2.0 or later is now required for client side field level encryption support. Notable improvements @@ -356,7 +358,7 @@ Changes in Version 3.12.0 .. warning:: PyMongo now allows insertion of documents with keys that include dots ('.') or start with dollar signs ('$'). -- PyMongoCrypt 1.1.0 or later is now required for client side field level +- pymongocrypt 1.1.0 or later is now required for client side field level encryption support. - Iterating over :class:`gridfs.grid_file.GridOut` now moves through the file line by line instead of chunk by chunk, and does not diff --git a/setup.py b/setup.py index a61f56c3f..ce6cce712 100755 --- a/setup.py +++ b/setup.py @@ -276,9 +276,7 @@ if sys.platform in ("win32", "darwin"): pyopenssl_reqs.append("certifi") extras_require = { - "encryption": [ - "pymongocrypt@git+ssh://git@github.com/mongodb/libmongocrypt.git@161dbc8ae#subdirectory=bindings/python" - ], + "encryption": ["pymongocrypt>=1.3.0,<2.0.0"], "ocsp": pyopenssl_reqs, "snappy": ["python-snappy"], "zstd": ["zstandard"],