The `logging.Logger.warn` method has been deprecated since Python 3.3 and is due to be removed all together in Python 3.13. See https://github.com/python/cpython/pull/105377 `logging.Logger.warning` is the preferred and recommended way to log warnings. Fixes https://github.com/openedx/public-engineering/issues/149 Co-authored-by: Lewis M. Kabui <lewisemm@users.noreply.github.com>