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

7 jobs for !40 with topic/default/set_cubes_cw_max_version in 12 minutes and 26 seconds (queued for 10 minutes and 58 seconds)
latest merge request