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):
|
||||||
|
|||||||
6
setup.py
6
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',
|
||||||
@ -106,7 +106,7 @@ setup(
|
|||||||
"query functionality, decentralized control, immutable data storage and "
|
"query functionality, decentralized control, immutable data storage and "
|
||||||
"built-in asset support, BigchainDB is like a database with blockchain "
|
"built-in asset support, BigchainDB is like a database with blockchain "
|
||||||
"characteristics."
|
"characteristics."
|
||||||
),
|
),
|
||||||
url='https://github.com/BigchainDB/bigchaindb/',
|
url='https://github.com/BigchainDB/bigchaindb/',
|
||||||
author='BigchainDB Contributors',
|
author='BigchainDB Contributors',
|
||||||
author_email='devs@bigchaindb.com',
|
author_email='devs@bigchaindb.com',
|
||||||
@ -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': [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user