Merge pull request #5840 from bensze01/python_3.10_support

Add minimum requirements for Python 3.10 support