Require click>=3.1

See https://github.com/mitsuhiko/click/issues/200