fix version for mongo 4

This commit is contained in:
martin donadieu 2019-12-03 10:29:29 +01:00
parent 47dfb47f9e
commit 1396b42495
2 changed files with 4 additions and 6 deletions

View File

@ -22,7 +22,7 @@ class LocalMongoDBConnection(Connection):
def __init__(self, replicaset=None, ssl=None, login=None, password=None, def __init__(self, replicaset=None, ssl=None, login=None, password=None,
ca_cert=None, certfile=None, keyfile=None, ca_cert=None, certfile=None, keyfile=None,
keyfile_passphrase=None, crlfile=None, auth_mechanism=None, auth_source=None, **kwargs): keyfile_passphrase=None, crlfile=None, **kwargs):
"""Create a new Connection instance. """Create a new Connection instance.
Args: Args:
@ -42,8 +42,6 @@ class LocalMongoDBConnection(Connection):
self.keyfile = keyfile or get_bigchaindb_config_value('keyfile') self.keyfile = keyfile or get_bigchaindb_config_value('keyfile')
self.keyfile_passphrase = keyfile_passphrase or get_bigchaindb_config_value('keyfile_passphrase') self.keyfile_passphrase = keyfile_passphrase or get_bigchaindb_config_value('keyfile_passphrase')
self.crlfile = crlfile or get_bigchaindb_config_value('crlfile') self.crlfile = crlfile or get_bigchaindb_config_value('crlfile')
self.auth_mechanism = auth_mechanism or get_bigchaindb_config_value('auth_mechanism')
self.auth_source = auth_source or get_bigchaindb_config_value('auth_source')
@property @property
def db(self): def db(self):

View File

@ -73,7 +73,7 @@ tests_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.
'pymongo~=3.6', 'pymongo~=3.9',
'cryptoconditions==0.8.0', 'cryptoconditions==0.8.0',
'python-rapidjson~=0.6.0', 'python-rapidjson~=0.6.0',
'logstats~=0.2.1', 'logstats~=0.2.1',
@ -130,7 +130,7 @@ setup(
packages=find_packages(exclude=['tests*']), packages=find_packages(exclude=['tests*']),
scripts = ['pkg/scripts/bigchaindb-monit-config'], scripts=['pkg/scripts/bigchaindb-monit-config'],
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [