Block pymongo version 3.1

pymongo version 3.1 produces segmentation faults when running unit
tests and has broken the trove gate, see bug 1512870. This is one part
of the solution, the other part of the solution is to push the change
to global-requirements.txt. That's in the review
https://review.openstack.org/#/c/290233/2

Change-Id: I0ac00931cc696e53f1845b60c23f84c9846a6a5e
Depends-On: I94dd0d031bb2c6ecae45ec9482cc2f481e77ce03
Closes-Bug: 1554838
Related-Bug: 1512870
This commit is contained in:
Amrith Kumar 2016-03-08 21:12:11 -05:00
parent ffcc149891
commit f7cda9912d
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ mock>=1.2 # BSD
mox3>=0.7.0 # Apache-2.0 mox3>=0.7.0 # Apache-2.0
testtools>=1.4.0 # MIT testtools>=1.4.0 # MIT
testrepository>=0.0.18 # Apache-2.0/BSD testrepository>=0.0.18 # Apache-2.0/BSD
pymongo>=3.0.2 # Apache-2.0 pymongo>=3.0.2,!=3.1 # Apache-2.0
redis>=2.10.0 # MIT redis>=2.10.0 # MIT
psycopg2>=2.5 # LGPL/ZPL psycopg2>=2.5 # LGPL/ZPL
cassandra-driver>=2.1.4 # Apache-2.0 cassandra-driver>=2.1.4 # Apache-2.0

View File

@ -10,7 +10,6 @@ install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = find ./trove -type f -name "*.pyc" -delete commands = find ./trove -type f -name "*.pyc" -delete
pip install pymongo===3.0.3
{envpython} run_tests.py {envpython} run_tests.py
python setup.py testr --slowest python setup.py testr --slowest
{envpython} generate_examples.py {envpython} generate_examples.py