Lock dependency versions
Allowing version 2 of pydantic breaks everything. Did some general cleanup as well, and Python 3.11 is now allowed as well.
Allowing version 2 of pydantic breaks everything. Did some general cleanup as well, and Python 3.11 is now allowed as well.