Closed mohierf closed 5 years ago
Some deprecation warnings are raised for the pymong library:
/usr/local/lib/python2.7/dist-packages/alignak_webui/submodules/prefs.py:145: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead. self.db.ui_user_preferences.update({"_id": "shinken-test"}, {"$set": {"last_test": time.time()}}) None /usr/local/lib/python2.7/dist-packages/alignak_webui/submodules/prefs.py:145: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead. self.db.ui_user_preferences.update({"_id": "shinken-test"}, {"$set": {"last_test": time.time()}}) None /usr/local/lib/python2.7/dist-packages/alignak_webui/submodules/prefs.py:145: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead. self.db.ui_user_preferences.update({"_id": "shinken-test"}, {"$set": {"last_test": time.time()}})
Version 3.0 of pymongo has been release in 2015 ... it should be a minimum version in the requirements.
Edit: indeed, the WebUI still requires pymongo>=3.0.3 😄
Some deprecation warnings are raised for the pymong library: