diff --git a/.travis.yml b/.travis.yml index 0006ade63617a..7287186e7e68f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ install: - pip install python-dateutil --upgrade - pip install pytz --upgrade - pip install tzlocal --upgrade - - pip install pymongo --upgrade + - pip install pymongo==3.4.0 - pip install numpy --upgrade - pip install pandas --upgrade - pip install decorator --upgrade diff --git a/setup.py b/setup.py index 5715dc7a7d72a..9a9f4c0612a7d 100644 --- a/setup.py +++ b/setup.py @@ -132,7 +132,7 @@ def extensions(): "enum34", "mockextras", "pandas", - "pymongo>=3.0", + "pymongo==3.4.0", "python-dateutil", "pytz", "tzlocal",