Post our recent move to using Python3.9 (#2692) we have the following while runing our tests using rock-tests runner in PyCharm:
/opt/rockstor/.venv/lib/python3.9/site-packages/django/utils/version.py:98: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
loose_version = LooseVersion(version)
This looks to be a change coming with Python 3.10 re: PEP 632 – Deprecate distutils module
https://peps.python.org/pep-0632/