Remove Old Pymongo pin (#30569)

* chore: unpin pymongo
This commit is contained in:
Mohammad Ahtasham ul Hassan
2022-06-27 10:37:29 +01:00
committed by GitHub
parent 20de3c71b4
commit 8ef261fe07
7 changed files with 30 additions and 9 deletions

View File

@@ -230,6 +230,17 @@ add_plugins(__name__, ProjectType.CMS, SettingsType.DEVSTACK)
OPENAPI_CACHE_TIMEOUT = 0
#####################################################################
# set replica set of contentstore to none as we haven't setup any for cms in devstack
CONTENTSTORE['DOC_STORE_CONFIG']['replicaSet'] = None
#####################################################################
# set replica sets of moduelstore to none as we haven't setup any for cms in devstack
for store in MODULESTORE['default']['OPTIONS']['stores']:
if 'DOC_STORE_CONFIG' in store and 'replicaSet' in store['DOC_STORE_CONFIG']:
store['DOC_STORE_CONFIG']['replicaSet'] = None
#####################################################################
# Lastly, run any migrations, if needed.
MODULESTORE = convert_module_store_setting_if_needed(MODULESTORE)