language: python
python:
  - "3.8"
  - "3.9"
  - "3.10-dev"
install:
  - "pip install -r requirements.txt"
  - "pip install -e ."
script: pytest && flake8 && mypy -p aiohttp_spyne && black --check aiohttp_spyne
notifications:
  email: false

language: python
python:
  - "3.8"
  - "3.9"
# Python 3.10 testing is disabled for now, since only old 3.10-dev (incompatible) is available.
#  - "3.10"
install:
  - "pip install -r requirements.txt"
  - "pip install -e ."
script: pytest && flake8 && mypy -p aiohttp_spyne && black --check aiohttp_spyne
notifications:
  email: false

Disable python 3.10 testing for now
Disable python 3.10 testing for now

3.10 testing breaks, since only 3.10-dev is available and lxml package breaks when installed. Everything works fine locally with python 3.10.0 final.
