Problem: BigchainDB does not support newer MongoDB (#2298)

* Problem: BigchainDB does not support newer MongoDB

Solution: Update driver to the last version, that is compatible with all
versions of MongoDB

* Update to MongoDB 3.6
This commit is contained in:
vrde 2018-05-17 15:19:56 +02:00 committed by Troy McConaghy
parent 474fe80abb
commit f86704bae9
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ services:
# Build: docker-compose build -d bigchaindb # Build: docker-compose build -d bigchaindb
# Run: docker-compose run -d bdb # Run: docker-compose run -d bdb
mongodb: mongodb:
image: mongo:3.4.13 image: mongo:3.6
ports: ports:
- "27017" - "27017"
command: mongod command: mongod

View File

@ -1,4 +1,4 @@
FROM mongo:3.4.13 FROM mongo:3.6
LABEL maintainer "dev@bigchaindb.com" LABEL maintainer "dev@bigchaindb.com"
WORKDIR / WORKDIR /
RUN apt-get update \ RUN apt-get update \

View File

@ -73,7 +73,7 @@ benchmarks_require = [
install_requires = [ install_requires = [
# TODO Consider not installing the db drivers, or putting them in extras. # TODO Consider not installing the db drivers, or putting them in extras.
'rethinkdb~=2.3', # i.e. a version between 2.3 and 3.0 'rethinkdb~=2.3', # i.e. a version between 2.3 and 3.0
'pymongo~=3.4', 'pymongo~=3.6',
'pysha3~=1.0.2', 'pysha3~=1.0.2',
'cryptoconditions~=0.6.0.dev', 'cryptoconditions~=0.6.0.dev',
'python-rapidjson==0.0.11', 'python-rapidjson==0.0.11',