Add python 3.10 and more

I run my test suites using a few version of Python, but Python 3.10 (and higher) are not available yet.

Please add “3.10” and “3.11” as python options.

Here is my .travis.yml file to work around the problem:

python:
- 3.7.8
- '3.8'
- '3.9'
jobs:
  include:
  - name: Python 3.10
    dist: jammy
    python: '3.10'
    before_install:
     # https://discourse.charmhub.io/t/cannot-install-dependencies-modulenotfounderror-no-module-named-setuptools-command-build/7374
    - pip install wheel==0.37.1
    - pip install setuptools==45.2.0

Hey @klahnakoski,

Look at my example that I’ve made:

1 Like