With a matrix like this maybe? https://www.cloudcity.io/blog/2018/03/12/multiversion-testing-with-tox/