From 1332c62779d3a533f91767186acf1cfaaee1d38c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 4 Feb 2024 23:58:10 +0900 Subject: [PATCH] Drop pymongo from requirements The pymongo library is required only when profiler middleware is enabled. The middleware is meant for development (The module path contains developer) and is not for production. Also it's not directly imported but used via osprofiler. In case a different backend is used in osprofiler then the library is not at all used. Users should install the appropriate library according to the backend actually used, based on the extra dependencies of osprofiler. Change-Id: I1258a3e3c86c98a3b35ee413ae113f1eb7dcf00b --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2dd1dee931..9eed09a458 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,7 +22,6 @@ oslo.serialization>=4.3.0 # Apache-2.0 oslo.upgradecheck>=1.5.0 # Apache-2.0 oslo.utils>=4.12.0 # Apache-2.0 osprofiler>=3.4.2 # Apache-2.0 -pymongo>=3.0.2 # Apache-2.0 pyScss>=1.4.0 # MIT License python-cinderclient>=8.0.0 # Apache-2.0 python-glanceclient>=2.8.0 # Apache-2.0