Sweeping !1165 from master to devel: [master] Deploy job compatible with python3 versions
I also relaxed the constraint on python3 version on pre-commit to make it working with python 3.10 as well, since it is being deployed on many distro at the moment
BEGINRELEASENOTES
*CI
CHANGE: Deploy job compatible with python3 versions
CHANGE: pre-commit more permissive with python3 versions
ENDRELEASENOTES