feat(setup.py): increase cubicweb max version to 3.31.x

3 jobs for branch/default in 3 minutes and 28 seconds (queued for 4 seconds)