mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
fix version for mongo 4
This commit is contained in:
parent
47dfb47f9e
commit
1396b42495
@ -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):
|
||||||
|
|||||||
2
setup.py
2
setup.py
@ -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',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user