From 021aa7655660c5ae76b0c09ac65e0fa417de4484 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 27 Apr 2022 21:17:19 -0500 Subject: [PATCH] MOTOR-952 Bump PyMongo minimum to 4.1 --- README.rst | 2 +- doc/installation.rst | 2 +- doc/requirements.rst | 4 ++-- setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index cfd0add4..9b947162 100644 --- a/README.rst +++ b/README.rst @@ -98,7 +98,7 @@ Motor works in all the environments officially supported by Tornado or by asyncio. It requires: * Unix (including macOS) or Windows. -* PyMongo_ >=4,<5 +* PyMongo_ >=4.1,<5 * Python 3.7+ Optional dependencies: diff --git a/doc/installation.rst b/doc/installation.rst index 8c857c69..185e0624 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -19,7 +19,7 @@ Motor works in all the environments officially supported by Tornado or by asyncio. It requires: * Unix (including macOS) or Windows. -* PyMongo_ >=4,<5 +* PyMongo_ >=4.1,<5 * Python 3.7+ Optional dependencies: diff --git a/doc/requirements.rst b/doc/requirements.rst index 5c3b94ca..bac4c7a7 100644 --- a/doc/requirements.rst +++ b/doc/requirements.rst @@ -4,7 +4,7 @@ Requirements The current version of Motor requires: * CPython 3.7 and later. -* PyMongo_ 4.0 and later. +* PyMongo_ 4.1 and later. Motor can integrate with either Tornado or asyncio. @@ -47,7 +47,7 @@ Motor and PyMongo +-------------------+-----------------+ | 2.5 | 3.12+ | +-------------------+-----------------+ -| 3.0 | 4.0+ | +| 3.0 | 4.1+ | +-------------------+-----------------+ Motor and MongoDB diff --git a/setup.py b/setup.py index b8ae557c..708875de 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ with open("README.rst") as readme: long_description = readme.read() -pymongo_ver = ">=4,<5" +pymongo_ver = ">=4.1,<5" install_requires = ["pymongo" + pymongo_ver]